#064A79

Closest named color: Twilight Blue (#0A437A). oklch(39.7% 0.1 246.6), rgb(6, 74, 121).

Aa

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

About this color

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

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

Values

HEX#064A79
RGBrgb(6, 74, 121)
HSLhsl(205, 91%, 25%)
OKLCHoklch(39.7% 0.1 246.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 #064A79 9.27:1 AAA Lc -95.3 Preferred for body text
Black text on #064A79 2.26:1 Fails Lc 13.1 Not readable
#064A79 text on white 9.27:1 AAA Lc 90.9 Preferred for body text
#064A79 text on black 2.26:1 Fails Lc -11.4 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

    #99C6EF

    oklch(80.9% 0.075 246.4)

  5. Step 400

    400

    #5DA7E7

    oklch(70.7% 0.12 246.6)

  6. Step 500

    500

    #208FE0

    oklch(63.1% 0.153 246.7)

  7. Step 600

    600

    #0078C2

    oklch(55.6% 0.145 246.5)

  8. Step 700

    700

    #0065A4

    oklch(49.2% 0.127 246.3)

  9. Step 800

    800

    #005288

    oklch(42.7% 0.112 246.9)

  10. Step 900

    900 (this color)

    #064A79

    oklch(39.7% 0.1 246.6)

  11. Step 950

    950

    #062843

    oklch(26.9% 0.063 247.1)

Export this scale for Tailwind in the Tailwind colors tool

#064A79 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)#334C7B0.037
Deuteranopia (no green cones)#2243780.024
Tritanopia (no blue cones)#00555B0.070
Achromatopsia (no color)#4747470.100

Harmonies

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

Complementary

The opposite hue (180°).

  • #064A79

    #064A79

    oklch(39.7% 0.1 246.6)

  • #663C00

    #663C00

    oklch(39.8% 0.088 66.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #064A79

    #064A79

    oklch(39.7% 0.1 246.6)

  • #00505F

    #00505F

    oklch(39.7% 0.071 215.9)

  • #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°).

  • #064A79

    #064A79

    oklch(39.7% 0.1 246.6)

  • #732F1C

    #732F1C

    oklch(39.7% 0.101 36.4)

  • #544600

    #544600

    oklch(39.7% 0.082 96)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #064A79

    #064A79

    oklch(39.7% 0.1 246.6)

  • #722C3E

    #722C3E

    oklch(39.8% 0.1 6.8)

  • #395003

    #395003

    oklch(39.8% 0.1 126.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #064A79

    #064A79

    oklch(39.7% 0.1 246.6)

  • #672F5B

    #672F5B

    oklch(39.7% 0.1 336.1)

  • #663C00

    #663C00

    oklch(39.8% 0.088 66.9)

  • #005631

    #005631

    oklch(39.9% 0.096 156.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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