#064A77

Closest named color: Twilight Blue (#0A437A). oklch(39.6% 0.097 245.6), rgb(6, 74, 119).

Aa

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

About this color

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

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

Values

HEX#064A77
RGBrgb(6, 74, 119)
HSLhsl(204, 90%, 25%)
OKLCHoklch(39.6% 0.097 245.6)

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 #064A77 9.31:1 AAA Lc -95.4 Preferred for body text
Black text on #064A77 2.25:1 Fails Lc 12.9 Not readable
#064A77 text on white 9.31:1 AAA Lc 91.0 Preferred for body text
#064A77 text on black 2.25:1 Fails Lc -11.3 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

    #DFECF7

    oklch(93.7% 0.02 243.4)

  3. Step 200

    200

    #C4DDF3

    oklch(88.6% 0.04 244.8)

  4. Step 300

    300

    #9AC6ED

    oklch(80.9% 0.072 245.6)

  5. Step 400

    400

    #5EA7E5

    oklch(70.7% 0.117 246.1)

  6. Step 500

    500

    #2190DD

    oklch(63.2% 0.149 245.4)

  7. Step 600

    600

    #0079C0

    oklch(55.7% 0.141 245.3)

  8. Step 700

    700

    #0065A2

    oklch(49% 0.125 245.5)

  9. Step 800

    800

    #005386

    oklch(42.8% 0.108 245.3)

  10. Step 900

    900 (this color)

    #064A77

    oklch(39.6% 0.097 245.6)

  11. Step 950

    950

    #062942

    oklch(27.1% 0.061 244.7)

Export this scale for Tailwind in the Tailwind colors tool

#064A77 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)#344C790.038
Deuteranopia (no green cones)#2443760.026
Tritanopia (no blue cones)#00555A0.069
Achromatopsia (no color)#4747470.097

Harmonies

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

Complementary

The opposite hue (180°).

  • #064A77

    #064A77

    oklch(39.6% 0.097 245.6)

  • #663B00

    #663B00

    oklch(39.6% 0.088 65.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #064A77

    #064A77

    oklch(39.6% 0.097 245.6)

  • #00505E

    #00505E

    oklch(39.7% 0.07 214.6)

  • #39407A

    #39407A

    oklch(39.6% 0.097 275.8)

Open the analogous palette in the generator

Split complementary

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

  • #064A77

    #064A77

    oklch(39.6% 0.097 245.6)

  • #71301F

    #71301F

    oklch(39.6% 0.097 35.7)

  • #544600

    #544600

    oklch(39.7% 0.082 96)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #064A77

    #064A77

    oklch(39.6% 0.097 245.6)

  • #702C3F

    #702C3F

    oklch(39.5% 0.098 5.3)

  • #3A4F04

    #3A4F04

    oklch(39.6% 0.097 125.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #064A77

    #064A77

    oklch(39.6% 0.097 245.6)

  • #66305B

    #66305B

    oklch(39.7% 0.097 335.5)

  • #663B00

    #663B00

    oklch(39.6% 0.088 65.7)

  • #00552F

    #00552F

    oklch(39.5% 0.096 155.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #064A77 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.