#05274E

Closest named color: Marine (#042E60). oklch(27.4% 0.081 254.9), rgb(5, 39, 78).

Aa

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

About this color

#05274E is a dark, moderately saturated blue. In OKLCH its lightness is 27%, its chroma 0.081 and its hue 255°. 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.92:1.

Hue familyBlues
Lightnessdark (27%)
Chromamoderately saturated (0.081)
Temperaturecool
Nearest nameMarine (#042E60)
Black text1.40:1
White text14.92:1

Values

HEX#05274E
RGBrgb(5, 39, 78)
HSLhsl(212, 88%, 16%)
OKLCHoklch(27.4% 0.081 254.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 #05274E 14.92:1 AAA Lc -104.3 Preferred for body text
Black text on #05274E 1.40:1 Fails Lc 0.0 Not readable
#05274E text on white 14.92:1 AAA Lc 101.5 Preferred for body text
#05274E 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

    #DEEBFD

    oklch(93.6% 0.028 256.5)

  3. Step 200

    200

    #C2DCFD

    oklch(88.6% 0.054 254.5)

  4. Step 300

    300

    #96C4FE

    oklch(80.9% 0.096 254.6)

  5. Step 400

    400

    #58A2FE

    oklch(70.6% 0.154 255)

  6. Step 500

    500

    #1887FC

    oklch(63% 0.197 255)

  7. Step 600

    600

    #0071DA

    oklch(55.6% 0.182 254.8)

  8. Step 700

    700

    #005FB9

    oklch(49.2% 0.161 254.8)

  9. Step 800

    800

    #004D99

    oklch(42.7% 0.14 255)

  10. Step 900

    900

    #004081

    oklch(37.7% 0.124 254.9)

  11. Step 950

    950 (this color)

    #05274E

    oklch(27.4% 0.081 254.9)

Export this scale for Tailwind in the Tailwind colors tool

#05274E 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.019
Deuteranopia (no green cones)#02244D0.011
Tritanopia (no blue cones)#0030360.060
Achromatopsia (no color)#2727270.081

Harmonies

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

Complementary

The opposite hue (180°).

  • #05274E

    #05274E

    oklch(27.4% 0.081 254.9)

  • #382300

    #382300

    oklch(27.6% 0.058 75.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #05274E

    #05274E

    oklch(27.4% 0.081 254.9)

  • #002C3A

    #002C3A

    oklch(27.3% 0.052 225)

  • #251F4D

    #251F4D

    oklch(27.4% 0.082 285.6)

Open the analogous palette in the generator

Split complementary

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

  • #05274E

    #05274E

    oklch(27.4% 0.081 254.9)

  • #451700

    #451700

    oklch(27.4% 0.079 44.7)

  • #2C2900

    #2C2900

    oklch(27.5% 0.059 105.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #05274E

    #05274E

    oklch(27.4% 0.081 254.9)

  • #47121A

    #47121A

    oklch(27.4% 0.081 15.5)

  • #142F00

    #142F00

    oklch(27.3% 0.08 134.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #05274E

    #05274E

    oklch(27.4% 0.081 254.9)

  • #421330

    #421330

    oklch(27.5% 0.082 345.8)

  • #382300

    #382300

    oklch(27.6% 0.058 75.5)

  • #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 #05274E, closest first.

Similar named colors

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

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