#04264D

Closest named color: Oxford Blue (#1B263B). oklch(27% 0.082 254.9), rgb(4, 38, 77).

Aa

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

About this color

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

Hue familyBlues
Lightnessdark (27%)
Chromamoderately saturated (0.082)
Temperaturecool
Nearest nameOxford Blue (#1B263B)
Black text1.38:1
White text15.11:1

Values

HEX#04264D
RGBrgb(4, 38, 77)
HSLhsl(212, 90%, 16%)
OKLCHoklch(27% 0.082 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 #04264D 15.11:1 AAA Lc -104.5 Preferred for body text
Black text on #04264D 1.38:1 Fails Lc 0.0 Not readable
#04264D text on white 15.11:1 AAA Lc 101.7 Preferred for body text
#04264D text on black 1.38: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

    #1787FD

    oklch(63% 0.198 255.1)

  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)

    #04264D

    oklch(27% 0.082 254.9)

Export this scale for Tailwind in the Tailwind colors tool

#04264D 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)#102A4E0.018
Deuteranopia (no green cones)#01234C0.011
Tritanopia (no blue cones)#002F350.061
Achromatopsia (no color)#2626260.082

Harmonies

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

Complementary

The opposite hue (180°).

  • #04264D

    #04264D

    oklch(27% 0.082 254.9)

  • #372200

    #372200

    oklch(27.2% 0.057 74.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #04264D

    #04264D

    oklch(27% 0.082 254.9)

  • #002B39

    #002B39

    oklch(26.9% 0.051 225.5)

  • #241E4C

    #241E4C

    oklch(27% 0.082 285.5)

Open the analogous palette in the generator

Split complementary

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

  • #04264D

    #04264D

    oklch(27% 0.082 254.9)

  • #441700

    #441700

    oklch(27.2% 0.077 45.2)

  • #2B2800

    #2B2800

    oklch(27.1% 0.058 105.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #04264D

    #04264D

    oklch(27% 0.082 254.9)

  • #461019

    #461019

    oklch(27% 0.082 15)

  • #142E00

    #142E00

    oklch(27% 0.078 134.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #04264D

    #04264D

    oklch(27% 0.082 254.9)

  • #401230

    #401230

    oklch(27% 0.082 343.9)

  • #372200

    #372200

    oklch(27.2% 0.057 74.9)

  • #002F1F

    #002F1F

    oklch(27% 0.057 164.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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