#08274C

Closest named color: Oxford Blue (#1B263B). oklch(27.4% 0.077 255.3), rgb(8, 39, 76).

Aa

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

About this color

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

Hue familyBlues
Lightnessdark (27%)
Chromamoderately saturated (0.077)
Temperaturecool
Nearest nameOxford Blue (#1B263B)
Black text1.40:1
White text14.94:1

Values

HEX#08274C
RGBrgb(8, 39, 76)
HSLhsl(213, 81%, 16%)
OKLCHoklch(27.4% 0.077 255.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 #08274C 14.94:1 AAA Lc -104.4 Preferred for body text
Black text on #08274C 1.40:1 Fails Lc 0.0 Not readable
#08274C text on white 14.94:1 AAA Lc 101.5 Preferred for body text
#08274C text on black 1.40: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

    #DEEBFC

    oklch(93.5% 0.027 255.1)

  3. Step 200

    200

    #C3DBFB

    oklch(88.4% 0.051 255.7)

  4. Step 300

    300

    #99C4FB

    oklch(81% 0.091 254.9)

  5. Step 400

    400

    #5EA2FA

    oklch(70.6% 0.147 255.6)

  6. Step 500

    500

    #2888F7

    oklch(63.1% 0.187 255.4)

  7. Step 600

    600

    #0070DC

    oklch(55.6% 0.186 255.4)

  8. Step 700

    700

    #005EBA

    oklch(49.1% 0.163 255.3)

  9. Step 800

    800

    #004D9A

    oklch(42.7% 0.142 255.2)

  10. Step 900

    900

    #044080

    oklch(37.7% 0.122 255.3)

  11. Step 950

    950 (this color)

    #08274C

    oklch(27.4% 0.077 255.3)

Export this scale for Tailwind in the Tailwind colors tool

#08274C 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)#142A4D0.016
Deuteranopia (no green cones)#06244B0.010
Tritanopia (no blue cones)#0030350.059
Achromatopsia (no color)#2727270.077

Harmonies

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

Complementary

The opposite hue (180°).

  • #08274C

    #08274C

    oklch(27.4% 0.077 255.3)

  • #372300

    #372300

    oklch(27.4% 0.057 76.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #08274C

    #08274C

    oklch(27.4% 0.077 255.3)

  • #002C3A

    #002C3A

    oklch(27.3% 0.052 225)

  • #25204B

    #25204B

    oklch(27.5% 0.077 285.5)

Open the analogous palette in the generator

Split complementary

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

  • #08274C

    #08274C

    oklch(27.4% 0.077 255.3)

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

  • #08274C

    #08274C

    oklch(27.4% 0.077 255.3)

  • #46131B

    #46131B

    oklch(27.4% 0.078 14.7)

  • #152F02

    #152F02

    oklch(27.4% 0.077 135)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #08274C

    #08274C

    oklch(27.4% 0.077 255.3)

  • #401530

    #401530

    oklch(27.4% 0.076 344.7)

  • #372300

    #372300

    oklch(27.4% 0.057 76.9)

  • #003020

    #003020

    oklch(27.4% 0.058 164.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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