#04263A

Closest named color: Oxford Blue (#1B263B). oklch(25.6% 0.053 239.6), rgb(4, 38, 58).

Aa

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

About this color

#04263A is a dark, muted blue. In OKLCH its lightness is 26%, its chroma 0.053 and its hue 240°. Its hue sits on the cool side of the wheel. The nearest named color is Oxford Blue (#1B263B), ΔE 0.026 away. White text reads best on it, at 15.63:1.

Hue familyBlues
Lightnessdark (26%)
Chromamuted (0.053)
Temperaturecool
Nearest nameOxford Blue (#1B263B)
Black text1.34:1
White text15.63:1

Values

HEX#04263A
RGBrgb(4, 38, 58)
HSLhsl(202, 87%, 12%)
OKLCHoklch(25.6% 0.053 239.6)

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 #04263A 15.63:1 AAA Lc -105.0 Preferred for body text
Black text on #04263A 1.34:1 Fails Lc 0.0 Not readable
#04263A text on white 15.63:1 AAA Lc 102.3 Preferred for body text
#04263A text on black 1.34: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

    #F1F6FB

    oklch(97.1% 0.009 247.9)

  2. Step 100

    100

    #DFECF5

    oklch(93.6% 0.018 237.8)

  3. Step 200

    200

    #C5DDEE

    oklch(88.5% 0.035 238.7)

  4. Step 300

    300

    #9CC7E6

    oklch(81% 0.063 239.9)

  5. Step 400

    400

    #61A9D9

    oklch(70.7% 0.101 239.5)

  6. Step 500

    500

    #2892CF

    oklch(63% 0.13 239.8)

  7. Step 600

    600

    #007BB5

    oklch(55.6% 0.127 239.8)

  8. Step 700

    700

    #006799

    oklch(49% 0.112 240)

  9. Step 800

    800

    #00557E

    oklch(42.8% 0.097 239.2)

  10. Step 900

    900

    #024669

    oklch(37.6% 0.084 239.7)

  11. Step 950

    950 (this color)

    #04263A

    oklch(25.6% 0.053 239.6)

Export this scale for Tailwind in the Tailwind colors tool

#04263A 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)#1C263B0.027
Deuteranopia (no green cones)#15213A0.023
Tritanopia (no blue cones)#002B2D0.035
Achromatopsia (no color)#2323230.053

Harmonies

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

Complementary

The opposite hue (180°).

  • #04263A

    #04263A

    oklch(25.6% 0.053 239.6)

  • #361C05

    #361C05

    oklch(25.7% 0.054 58.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #04263A

    #04263A

    oklch(25.6% 0.053 239.6)

  • #00292F

    #00292F

    oklch(25.7% 0.044 209.6)

  • #19213D

    #19213D

    oklch(25.6% 0.054 270.2)

Open the analogous palette in the generator

Split complementary

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

  • #04263A

    #04263A

    oklch(25.6% 0.053 239.6)

  • #391813

    #391813

    oklch(25.6% 0.054 30.1)

  • #2D2100

    #2D2100

    oklch(25.5% 0.052 88.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #04263A

    #04263A

    oklch(25.6% 0.053 239.6)

  • #371722

    #371722

    oklch(25.6% 0.053 359.7)

  • #202705

    #202705

    oklch(25.7% 0.054 120.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #04263A

    #04263A

    oklch(25.6% 0.053 239.6)

  • #31192F

    #31192F

    oklch(25.6% 0.053 330)

  • #361C05

    #361C05

    oklch(25.7% 0.054 58.8)

  • #0D2A14

    #0D2A14

    oklch(25.6% 0.054 149.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #04263A 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.