#08205D

Closest named color: Midnight Blue (#191970). oklch(27.2% 0.113 263.9), rgb(8, 32, 93).

Aa

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

About this color

#08205D is a dark, moderately saturated blue. In OKLCH its lightness is 27%, its chroma 0.113 and its hue 264°. Its hue sits on the cool side of the wheel. The nearest named color is Midnight Blue (#191970), ΔE 0.040 away. White text reads best on it, at 15.27:1.

Hue familyBlues
Lightnessdark (27%)
Chromamoderately saturated (0.113)
Temperaturecool
Nearest nameMidnight Blue (#191970)
Black text1.37:1
White text15.27:1

Values

HEX#08205D
RGBrgb(8, 32, 93)
HSLhsl(223, 84%, 20%)
OKLCHoklch(27.2% 0.113 263.9)

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 #08205D 15.27:1 AAA Lc -104.5 Preferred for body text
Black text on #08205D 1.37:1 Fails Lc 0.0 Not readable
#08205D text on white 15.27:1 AAA Lc 101.7 Preferred for body text
#08205D 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

    #F1F6FF

    oklch(97.2% 0.013 262.4)

  2. Step 100

    100

    #E0EAFF

    oklch(93.6% 0.03 265.3)

  3. Step 200

    200

    #C7DAFF

    oklch(88.6% 0.055 263.7)

  4. Step 300

    300

    #A1C0FF

    oklch(80.8% 0.096 264.1)

  5. Step 400

    400

    #6F9DFF

    oklch(70.7% 0.152 263.9)

  6. Step 500

    500

    #4980FF

    oklch(63% 0.198 264)

  7. Step 600

    600

    #225FFF

    oklch(55.5% 0.245 263.9)

  8. Step 700

    700

    #003DF9

    oklch(49% 0.276 263.9)

  9. Step 800

    800

    #0435C9

    oklch(42.6% 0.229 263.9)

  10. Step 900

    900

    #0B329E

    oklch(37.6% 0.179 264)

  11. Step 950

    950 (this color)

    #08205D

    oklch(27.2% 0.113 263.9)

Export this scale for Tailwind in the Tailwind colors tool

#08205D 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)#00295F0.025
Deuteranopia (no green cones)#00215C0.007
Tritanopia (no blue cones)#00303B0.087
Achromatopsia (no color)#2525250.113

Harmonies

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

Complementary

The opposite hue (180°).

  • #08205D

    #08205D

    oklch(27.2% 0.113 263.9)

  • #342400

    #342400

    oklch(27.2% 0.056 83.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #08205D

    #08205D

    oklch(27.2% 0.113 263.9)

  • #002B3E

    #002B3E

    oklch(27.2% 0.056 233.4)

  • #2C1457

    #2C1457

    oklch(27.1% 0.113 293.9)

Open the analogous palette in the generator

Split complementary

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

  • #08205D

    #08205D

    oklch(27.2% 0.113 263.9)

  • #401C00

    #401C00

    oklch(27.4% 0.068 54.2)

  • #272A00

    #272A00

    oklch(27.3% 0.061 113.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #08205D

    #08205D

    oklch(27.2% 0.113 263.9)

  • #500008

    #500008

    oklch(27.2% 0.11 24.1)

  • #003104

    #003104

    oklch(27.2% 0.088 144)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #08205D

    #08205D

    oklch(27.2% 0.113 263.9)

  • #4C002B

    #4C002B

    oklch(27.3% 0.112 353.7)

  • #342400

    #342400

    oklch(27.2% 0.056 83.5)

  • #002F25

    #002F25

    oklch(27.2% 0.052 174)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #08205D 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.