#04273D

Closest named color: Oxford Blue (#1B263B). oklch(26.1% 0.057 241.5), rgb(4, 39, 61).

Aa

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

About this color

#04273D is a dark, muted blue. In OKLCH its lightness is 26%, its chroma 0.057 and its hue 241°. 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.40:1.

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

Values

HEX#04273D
RGBrgb(4, 39, 61)
HSLhsl(203, 88%, 13%)
OKLCHoklch(26.1% 0.057 241.5)

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 #04273D 15.40:1 AAA Lc -104.8 Preferred for body text
Black text on #04273D 1.36:1 Fails Lc 0.0 Not readable
#04273D text on white 15.40:1 AAA Lc 102.1 Preferred for body text
#04273D 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

    #C4DDF0

    oklch(88.5% 0.037 240.7)

  4. Step 300

    300

    #9AC7E8

    oklch(80.9% 0.067 240.4)

  5. Step 400

    400

    #5FA9DD

    oklch(70.8% 0.106 241.1)

  6. Step 500

    500

    #2392D4

    oklch(63.2% 0.137 241.3)

  7. Step 600

    600

    #007AB8

    oklch(55.5% 0.131 241.7)

  8. Step 700

    700

    #00679C

    oklch(49.2% 0.116 241.5)

  9. Step 800

    800

    #005480

    oklch(42.6% 0.1 241.3)

  10. Step 900

    900

    #00466C

    oklch(37.7% 0.089 241.5)

  11. Step 950

    950 (this color)

    #04273D

    oklch(26.1% 0.057 241.5)

Export this scale for Tailwind in the Tailwind colors tool

#04273D 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)#1D273E0.028
Deuteranopia (no green cones)#15223D0.022
Tritanopia (no blue cones)#002C2F0.037
Achromatopsia (no color)#2525250.057

Harmonies

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

Complementary

The opposite hue (180°).

  • #04273D

    #04273D

    oklch(26.1% 0.057 241.5)

  • #371D03

    #371D03

    oklch(26.1% 0.056 61.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #04273D

    #04273D

    oklch(26.1% 0.057 241.5)

  • #002A31

    #002A31

    oklch(26.2% 0.045 211.6)

  • #1B2240

    #1B2240

    oklch(26.2% 0.057 272)

Open the analogous palette in the generator

Split complementary

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

  • #04273D

    #04273D

    oklch(26.1% 0.057 241.5)

  • #3B1812

    #3B1812

    oklch(26% 0.057 31.3)

  • #2E2300

    #2E2300

    oklch(26.2% 0.053 91.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #04273D

    #04273D

    oklch(26.1% 0.057 241.5)

  • #3A1722

    #3A1722

    oklch(26.1% 0.057 2)

  • #202804

    #202804

    oklch(26% 0.057 121.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #04273D

    #04273D

    oklch(26.1% 0.057 241.5)

  • #341931

    #341931

    oklch(26.2% 0.058 331.3)

  • #371D03

    #371D03

    oklch(26.1% 0.056 61.8)

  • #0A2C16

    #0A2C16

    oklch(26.2% 0.057 151.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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