#04264B

Closest named color: Oxford Blue (#1B263B). oklch(26.9% 0.078 253.9), rgb(4, 38, 75).

Aa

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

About this color

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

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

Values

HEX#04264B
RGBrgb(4, 38, 75)
HSLhsl(211, 90%, 15%)
OKLCHoklch(26.9% 0.078 253.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 #04264B 15.17:1 AAA Lc -104.6 Preferred for body text
Black text on #04264B 1.38:1 Fails Lc 0.0 Not readable
#04264B text on white 15.17:1 AAA Lc 101.8 Preferred for body text
#04264B 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

    #DEEBFC

    oklch(93.5% 0.027 255.1)

  3. Step 200

    200

    #C2DCFB

    oklch(88.5% 0.051 252.9)

  4. Step 300

    300

    #97C4FC

    oklch(80.9% 0.093 254.2)

  5. Step 400

    400

    #59A3FB

    oklch(70.7% 0.149 254.1)

  6. Step 500

    500

    #1989F8

    oklch(63.2% 0.19 253.8)

  7. Step 600

    600

    #0072D7

    oklch(55.6% 0.177 254)

  8. Step 700

    700

    #0060B6

    oklch(49.2% 0.156 253.8)

  9. Step 800

    800

    #004E96

    oklch(42.7% 0.135 253.8)

  10. Step 900

    900

    #00417F

    oklch(37.8% 0.12 253.9)

  11. Step 950

    950 (this color)

    #04264B

    oklch(26.9% 0.078 253.9)

Export this scale for Tailwind in the Tailwind colors tool

#04264B 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)#12294C0.017
Deuteranopia (no green cones)#04234A0.010
Tritanopia (no blue cones)#002F340.059
Achromatopsia (no color)#2626260.078

Harmonies

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

Complementary

The opposite hue (180°).

  • #04264B

    #04264B

    oklch(26.9% 0.078 253.9)

  • #362100

    #362100

    oklch(26.8% 0.057 74.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #04264B

    #04264B

    oklch(26.9% 0.078 253.9)

  • #002B38

    #002B38

    oklch(26.8% 0.05 223.6)

  • #231F4A

    #231F4A

    oklch(27% 0.077 284.2)

Open the analogous palette in the generator

Split complementary

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

  • #04264B

    #04264B

    oklch(26.9% 0.078 253.9)

  • #441600

    #441600

    oklch(27% 0.078 44.2)

  • #2B2700

    #2B2700

    oklch(26.9% 0.057 103.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #04264B

    #04264B

    oklch(26.9% 0.078 253.9)

  • #45111A

    #45111A

    oklch(26.9% 0.079 14.2)

  • #152E00

    #152E00

    oklch(27% 0.078 134)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #04264B

    #04264B

    oklch(26.9% 0.078 253.9)

  • #3F132F

    #3F132F

    oklch(26.9% 0.078 344.5)

  • #362100

    #362100

    oklch(26.8% 0.057 74.3)

  • #002F1E

    #002F1E

    oklch(27% 0.058 163)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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