#064A7A

Closest named color: Twilight Blue (#0A437A). oklch(39.8% 0.101 247.1), rgb(6, 74, 122).

Aa

White text reads best on this color (9.25:1).

About this color

#064A7A is a dark, moderately saturated blue. In OKLCH its lightness is 40%, its chroma 0.101 and its hue 247°. Its hue sits on the cool side of the wheel. The nearest named color is Twilight Blue (#0A437A), ΔE 0.021 away. White text reads best on it, at 9.25:1.

Hue familyBlues
Lightnessdark (40%)
Chromamoderately saturated (0.101)
Temperaturecool
Nearest nameTwilight Blue (#0A437A)
Black text2.26:1
White text9.25:1

Values

HEX#064A7A
RGBrgb(6, 74, 122)
HSLhsl(205, 91%, 25%)
OKLCHoklch(39.8% 0.101 247.1)

Contrast

WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.

PairWCAG 2ResultAPCAAPCA guidance
White text on #064A7A 9.25:1 AAA Lc -95.2 Preferred for body text
Black text on #064A7A 2.26:1 Fails Lc 13.1 Not readable
#064A7A text on white 9.25:1 AAA Lc 90.9 Preferred for body text
#064A7A text on black 2.26:1 Fails Lc -11.5 Not readable

Tints and shades

A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 900.

  1. Step 50

    50

    #F0F6FC

    oklch(97% 0.01 247.9)

  2. Step 100

    100

    #DFECF8

    oklch(93.7% 0.021 245.9)

  3. Step 200

    200

    #C4DCF4

    oklch(88.4% 0.042 248.3)

  4. Step 300

    300

    #99C6F0

    oklch(80.9% 0.076 247)

  5. Step 400

    400

    #5DA7E8

    oklch(70.8% 0.121 247)

  6. Step 500

    500

    #1F8FE1

    oklch(63.1% 0.155 246.9)

  7. Step 600

    600

    #0078C3

    oklch(55.7% 0.146 246.8)

  8. Step 700

    700

    #0064A5

    oklch(49% 0.13 247.2)

  9. Step 800

    800

    #005289

    oklch(42.7% 0.113 247.3)

  10. Step 900

    900 (this color)

    #064A7A

    oklch(39.8% 0.101 247.1)

  11. Step 950

    950

    #052844

    oklch(26.9% 0.065 247.5)

Export this scale for Tailwind in the Tailwind colors tool

#064A7A with color blindness

Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.

VisionSeen asShift (ΔE)
Protanopia (no red cones)#324D7C0.037
Deuteranopia (no green cones)#2143790.024
Tritanopia (no blue cones)#00565C0.072
Achromatopsia (no color)#4747470.101

Harmonies

Hue rotations in OKLCH that keep this color's lightness and chroma.

Complementary

The opposite hue (180°).

  • #064A7A

    #064A7A

    oklch(39.8% 0.101 247.1)

  • #663C00

    #663C00

    oklch(39.8% 0.088 66.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #064A7A

    #064A7A

    oklch(39.8% 0.101 247.1)

  • #005060

    #005060

    oklch(39.8% 0.071 217.2)

  • #3A407C

    #3A407C

    oklch(39.8% 0.1 276.5)

Open the analogous palette in the generator

Split complementary

The two hues beside the complement (150° and 210°).

  • #064A7A

    #064A7A

    oklch(39.8% 0.101 247.1)

  • #732F1B

    #732F1B

    oklch(39.7% 0.101 37)

  • #544700

    #544700

    oklch(39.9% 0.082 97.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #064A7A

    #064A7A

    oklch(39.8% 0.101 247.1)

  • #722B3E

    #722B3E

    oklch(39.7% 0.102 6.4)

  • #385002

    #385002

    oklch(39.7% 0.101 127)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #064A7A

    #064A7A

    oklch(39.8% 0.101 247.1)

  • #682F5B

    #682F5B

    oklch(39.9% 0.101 336.8)

  • #663C00

    #663C00

    oklch(39.8% 0.088 66.9)

  • #005632

    #005632

    oklch(39.9% 0.095 157.1)

Open the square palette in the generator

Palettes with this color

Curated palettes that contain a color within ΔE 0.04 (OKLab) of #064A7A, closest first.

Similar named colors

The eight closest entries in our named color list, with their ΔE distance.

Use #064A7A in your product

Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.