#064087

Closest named color: Twilight Blue (#0A437A). oklch(38.3% 0.131 257.3), rgb(6, 64, 135).

Aa

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

About this color

#064087 is a dark, moderately saturated blue. In OKLCH its lightness is 38%, its chroma 0.131 and its hue 257°. Its hue sits on the cool side of the wheel. The nearest named color is Twilight Blue (#0A437A), ΔE 0.025 away. White text reads best on it, at 10.04:1.

Hue familyBlues
Lightnessdark (38%)
Chromamoderately saturated (0.131)
Temperaturecool
Nearest nameTwilight Blue (#0A437A)
Black text2.09:1
White text10.04:1

Values

HEX#064087
RGBrgb(6, 64, 135)
HSLhsl(213, 91%, 28%)
OKLCHoklch(38.3% 0.131 257.3)

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 #064087 10.04:1 AAA Lc -96.9 Preferred for body text
Black text on #064087 2.09:1 Fails Lc 11.3 Not readable
#064087 text on white 10.04:1 AAA Lc 92.7 Preferred for body text
#064087 text on black 2.09:1 Fails Lc -9.8 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

    #F0F6FF

    oklch(97.1% 0.014 258.3)

  2. Step 100

    100

    #DEEBFD

    oklch(93.6% 0.028 256.5)

  3. Step 200

    200

    #C3DBFE

    oklch(88.5% 0.055 257.7)

  4. Step 300

    300

    #99C3FF

    oklch(80.9% 0.097 257.3)

  5. Step 400

    400

    #5EA1FF

    oklch(70.7% 0.154 257.1)

  6. Step 500

    500

    #2885FF

    oklch(63% 0.201 257.3)

  7. Step 600

    600

    #006DE4

    oklch(55.5% 0.199 257.3)

  8. Step 700

    700

    #005BC2

    oklch(49% 0.177 257.5)

  9. Step 800

    800

    #004BA0

    oklch(42.8% 0.152 257.1)

  10. Step 900

    900 (this color)

    #064087

    oklch(38.3% 0.131 257.3)

  11. Step 950

    950

    #07254E

    oklch(27% 0.083 257.5)

Export this scale for Tailwind in the Tailwind colors tool

#064087 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)#0F488A0.024
Deuteranopia (no green cones)#003D860.010
Tritanopia (no blue cones)#00525D0.100
Achromatopsia (no color)#4242420.131

Harmonies

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

Complementary

The opposite hue (180°).

  • #064087

    #064087

    oklch(38.3% 0.131 257.3)

  • #5B3D00

    #5B3D00

    oklch(38.5% 0.08 77.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #064087

    #064087

    oklch(38.3% 0.131 257.3)

  • #004A62

    #004A62

    oklch(38.2% 0.075 228.1)

  • #423284

    #423284

    oklch(38.3% 0.132 287.5)

Open the analogous palette in the generator

Split complementary

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

  • #064087

    #064087

    oklch(38.3% 0.131 257.3)

  • #6E2D00

    #6E2D00

    oklch(38.3% 0.105 47.5)

  • #484600

    #484600

    oklch(38.4% 0.083 107.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #064087

    #064087

    oklch(38.3% 0.131 257.3)

  • #7A1828

    #7A1828

    oklch(38.4% 0.132 17.5)

  • #1F5000

    #1F5000

    oklch(38.2% 0.116 137.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #064087

    #064087

    oklch(38.3% 0.131 257.3)

  • #711B50

    #711B50

    oklch(38.3% 0.132 347.3)

  • #5B3D00

    #5B3D00

    oklch(38.5% 0.08 77.5)

  • #00503A

    #00503A

    oklch(38.3% 0.079 166.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #064087 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.