#08254C

Closest named color: Oxford Blue (#1B263B). oklch(26.8% 0.08 257.2), rgb(8, 37, 76).

Aa

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

About this color

#08254C is a dark, moderately saturated blue. In OKLCH its lightness is 27%, its chroma 0.080 and its hue 257°. Its hue sits on the cool side of the wheel. The nearest named color is Oxford Blue (#1B263B), ΔE 0.038 away. White text reads best on it, at 15.22:1.

Hue familyBlues
Lightnessdark (27%)
Chromamoderately saturated (0.080)
Temperaturecool
Nearest nameOxford Blue (#1B263B)
Black text1.37:1
White text15.22:1

Values

HEX#08254C
RGBrgb(8, 37, 76)
HSLhsl(214, 81%, 16%)
OKLCHoklch(26.8% 0.08 257.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 #08254C 15.22:1 AAA Lc -104.6 Preferred for body text
Black text on #08254C 1.37:1 Fails Lc 0.0 Not readable
#08254C text on white 15.22:1 AAA Lc 101.8 Preferred for body text
#08254C text on black 1.37: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

    #DFEBFD

    oklch(93.6% 0.028 258.4)

  3. Step 200

    200

    #C4DBFC

    oklch(88.5% 0.052 257.4)

  4. Step 300

    300

    #9AC3FE

    oklch(80.9% 0.095 257.4)

  5. Step 400

    400

    #60A1FD

    oklch(70.7% 0.151 257.3)

  6. Step 500

    500

    #2D86FB

    oklch(63.1% 0.193 257.1)

  7. Step 600

    600

    #006DE4

    oklch(55.5% 0.199 257.3)

  8. Step 700

    700

    #005CC1

    oklch(49.2% 0.175 257.1)

  9. Step 800

    800

    #004BA0

    oklch(42.8% 0.152 257.1)

  10. Step 900

    900

    #083F83

    oklch(37.8% 0.127 257.2)

  11. Step 950

    950 (this color)

    #08254C

    oklch(26.8% 0.08 257.2)

Export this scale for Tailwind in the Tailwind colors tool

#08254C 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)#10294D0.016
Deuteranopia (no green cones)#01234B0.010
Tritanopia (no blue cones)#002E340.061
Achromatopsia (no color)#2626260.080

Harmonies

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

Complementary

The opposite hue (180°).

  • #08254C

    #08254C

    oklch(26.8% 0.08 257.2)

  • #352200

    #352200

    oklch(26.9% 0.056 77.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #08254C

    #08254C

    oklch(26.8% 0.08 257.2)

  • #002B3A

    #002B3A

    oklch(27% 0.052 227.2)

  • #251D4A

    #251D4A

    oklch(26.8% 0.08 287.9)

Open the analogous palette in the generator

Split complementary

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

  • #08254C

    #08254C

    oklch(26.8% 0.08 257.2)

  • #421800

    #421800

    oklch(27% 0.074 47.5)

  • #292800

    #292800

    oklch(26.9% 0.058 108.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #08254C

    #08254C

    oklch(26.8% 0.08 257.2)

  • #451117

    #451117

    oklch(26.8% 0.079 17.7)

  • #102E01

    #102E01

    oklch(26.8% 0.079 137.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #08254C

    #08254C

    oklch(26.8% 0.08 257.2)

  • #40122D

    #40122D

    oklch(26.8% 0.079 347.5)

  • #352200

    #352200

    oklch(26.9% 0.056 77.8)

  • #002E20

    #002E20

    oklch(26.7% 0.055 167)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #08254C 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.