#08274E

Closest named color: Marine (#042E60). oklch(27.5% 0.08 256.2), rgb(8, 39, 78).

Aa

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

About this color

#08274E is a dark, moderately saturated blue. In OKLCH its lightness is 28%, its chroma 0.080 and its hue 256°. Its hue sits on the cool side of the wheel. The nearest named color is Marine (#042E60), ΔE 0.037 away. White text reads best on it, at 14.88:1.

Hue familyBlues
Lightnessdark (28%)
Chromamoderately saturated (0.080)
Temperaturecool
Nearest nameMarine (#042E60)
Black text1.41:1
White text14.88:1

Values

HEX#08274E
RGBrgb(8, 39, 78)
HSLhsl(213, 81%, 17%)
OKLCHoklch(27.5% 0.08 256.2)

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 #08274E 14.88:1 AAA Lc -104.3 Preferred for body text
Black text on #08274E 1.41:1 Fails Lc 0.0 Not readable
#08274E text on white 14.88:1 AAA Lc 101.5 Preferred for body text
#08274E text on black 1.41:1 Fails Lc 0.0 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 950.

  1. Step 50

    50

    #F0F6FE

    oklch(97.1% 0.012 255.5)

  2. Step 100

    100

    #DEEBFD

    oklch(93.6% 0.028 256.5)

  3. Step 200

    200

    #C3DBFC

    oklch(88.4% 0.052 256.4)

  4. Step 300

    300

    #98C3FE

    oklch(80.8% 0.096 256.4)

  5. Step 400

    400

    #5DA2FD

    oklch(70.8% 0.151 256)

  6. Step 500

    500

    #2687FB

    oklch(63.1% 0.194 256)

  7. Step 600

    600

    #006FE0

    oklch(55.6% 0.192 256.3)

  8. Step 700

    700

    #005DBD

    oklch(49.1% 0.169 256.1)

  9. Step 800

    800

    #004C9D

    oklch(42.8% 0.147 256.2)

  10. Step 900

    900

    #033F83

    oklch(37.7% 0.127 256.4)

  11. Step 950

    950 (this color)

    #08274E

    oklch(27.5% 0.08 256.2)

Export this scale for Tailwind in the Tailwind colors tool

#08274E 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)#122B4F0.017
Deuteranopia (no green cones)#03244D0.011
Tritanopia (no blue cones)#0030360.061
Achromatopsia (no color)#2727270.080

Harmonies

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

Complementary

The opposite hue (180°).

  • #08274E

    #08274E

    oklch(27.5% 0.08 256.2)

  • #382300

    #382300

    oklch(27.6% 0.058 75.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #08274E

    #08274E

    oklch(27.5% 0.08 256.2)

  • #002D3B

    #002D3B

    oklch(27.6% 0.052 224.6)

  • #261F4D

    #261F4D

    oklch(27.5% 0.082 286.7)

Open the analogous palette in the generator

Split complementary

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

  • #08274E

    #08274E

    oklch(27.5% 0.08 256.2)

  • #451800

    #451800

    oklch(27.5% 0.078 45.8)

  • #2C2900

    #2C2900

    oklch(27.5% 0.059 105.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #08274E

    #08274E

    oklch(27.5% 0.08 256.2)

  • #47121A

    #47121A

    oklch(27.4% 0.081 15.5)

  • #133001

    #133001

    oklch(27.6% 0.08 136.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #08274E

    #08274E

    oklch(27.5% 0.08 256.2)

  • #421430

    #421430

    oklch(27.6% 0.08 346.1)

  • #382300

    #382300

    oklch(27.6% 0.058 75.5)

  • #003021

    #003021

    oklch(27.4% 0.057 166.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #08274E 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.