#04273C

Closest named color: Oxford Blue (#1B263B). oklch(26.1% 0.055 240.3), rgb(4, 39, 60).

Aa

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

About this color

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

Hue familyBlues
Lightnessdark (26%)
Chromamuted (0.055)
Temperaturecool
Nearest nameOxford Blue (#1B263B)
Black text1.36:1
White text15.43:1

Values

HEX#04273C
RGBrgb(4, 39, 60)
HSLhsl(203, 88%, 13%)
OKLCHoklch(26.1% 0.055 240.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 #04273C 15.43:1 AAA Lc -104.9 Preferred for body text
Black text on #04273C 1.36:1 Fails Lc 0.0 Not readable
#04273C text on white 15.43:1 AAA Lc 102.1 Preferred for body text
#04273C text on black 1.36: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

    #F0F6FB

    oklch(97% 0.009 242.8)

  2. Step 100

    100

    #DFECF6

    oklch(93.6% 0.019 240.7)

  3. Step 200

    200

    #C5DDEF

    oklch(88.5% 0.036 240.3)

  4. Step 300

    300

    #9BC7E7

    oklch(80.9% 0.065 240.2)

  5. Step 400

    400

    #5FA9DB

    oklch(70.7% 0.104 240)

  6. Step 500

    500

    #2492D2

    oklch(63.1% 0.134 240.6)

  7. Step 600

    600

    #007BB6

    oklch(55.6% 0.128 240.2)

  8. Step 700

    700

    #00679A

    oklch(49.1% 0.113 240.5)

  9. Step 800

    800

    #00547F

    oklch(42.6% 0.099 240.7)

  10. Step 900

    900

    #00466B

    oklch(37.7% 0.087 240.8)

  11. Step 950

    950 (this color)

    #04273C

    oklch(26.1% 0.055 240.3)

Export this scale for Tailwind in the Tailwind colors tool

#04273C 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)#1D273D0.028
Deuteranopia (no green cones)#15223C0.022
Tritanopia (no blue cones)#002C2E0.037
Achromatopsia (no color)#2424240.055

Harmonies

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

Complementary

The opposite hue (180°).

  • #04273C

    #04273C

    oklch(26.1% 0.055 240.3)

  • #371D04

    #371D04

    oklch(26.1% 0.055 60.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #04273C

    #04273C

    oklch(26.1% 0.055 240.3)

  • #002A30

    #002A30

    oklch(26.1% 0.045 209.3)

  • #1A223F

    #1A223F

    oklch(26.1% 0.056 270.5)

Open the analogous palette in the generator

Split complementary

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

  • #04273C

    #04273C

    oklch(26.1% 0.055 240.3)

  • #3B1913

    #3B1913

    oklch(26.2% 0.055 31.4)

  • #2E2300

    #2E2300

    oklch(26.2% 0.053 91.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #04273C

    #04273C

    oklch(26.1% 0.055 240.3)

  • #391723

    #391723

    oklch(25.9% 0.056 359.4)

  • #212805

    #212805

    oklch(26.1% 0.055 120)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #04273C

    #04273C

    oklch(26.1% 0.055 240.3)

  • #331931

    #331931

    oklch(26% 0.057 329.9)

  • #371D04

    #371D04

    oklch(26.1% 0.055 60.8)

  • #0C2B15

    #0C2B15

    oklch(25.9% 0.055 150.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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