#042F48

Closest named color: Oxford Blue (#1B263B). oklch(29.2% 0.064 240.5), rgb(4, 47, 72).

Aa

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

About this color

#042F48 is a dark, muted blue. In OKLCH its lightness is 29%, its chroma 0.064 and its hue 241°. 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 13.95:1.

Hue familyBlues
Lightnessdark (29%)
Chromamuted (0.064)
Temperaturecool
Nearest nameOxford Blue (#1B263B)
Black text1.50:1
White text13.95:1

Values

HEX#042F48
RGBrgb(4, 47, 72)
HSLhsl(202, 89%, 15%)
OKLCHoklch(29.2% 0.064 240.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 #042F48 13.95:1 AAA Lc -103.4 Preferred for body text
Black text on #042F48 1.50:1 Fails Lc 0.0 Not readable
#042F48 text on white 13.95:1 AAA Lc 100.3 Preferred for body text
#042F48 text on black 1.50: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

    #F0F6FC

    oklch(97% 0.01 247.9)

  2. Step 100

    100

    #DEECF7

    oklch(93.6% 0.021 241.4)

  3. Step 200

    200

    #C1DDF3

    oklch(88.4% 0.043 241.7)

  4. Step 300

    300

    #94C8ED

    oklch(81% 0.075 239.8)

  5. Step 400

    400

    #51AAE4

    oklch(70.8% 0.12 240.1)

  6. Step 500

    500

    #0092D8

    oklch(63% 0.146 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)

    #042F48

    oklch(29.2% 0.064 240.5)

Export this scale for Tailwind in the Tailwind colors tool

#042F48 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)#232F490.031
Deuteranopia (no green cones)#1A29480.026
Tritanopia (no blue cones)#0035380.041
Achromatopsia (no color)#2C2C2C0.064

Harmonies

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

Complementary

The opposite hue (180°).

  • #042F48

    #042F48

    oklch(29.2% 0.064 240.5)

  • #422304

    #422304

    oklch(29.2% 0.063 60.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #042F48

    #042F48

    oklch(29.2% 0.064 240.5)

  • #00323A

    #00323A

    oklch(29.1% 0.051 211.6)

  • #20294B

    #20294B

    oklch(29.1% 0.063 270.9)

Open the analogous palette in the generator

Split complementary

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

  • #042F48

    #042F48

    oklch(29.2% 0.064 240.5)

  • #461E18

    #461E18

    oklch(29.1% 0.063 30.1)

  • #372A00

    #372A00

    oklch(29.2% 0.06 90.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #042F48

    #042F48

    oklch(29.2% 0.064 240.5)

  • #441D2A

    #441D2A

    oklch(29.1% 0.062 0.6)

  • #273005

    #273005

    oklch(29.1% 0.064 120.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #042F48

    #042F48

    oklch(29.2% 0.064 240.5)

  • #3D1F3A

    #3D1F3A

    oklch(29.1% 0.063 330.8)

  • #422304

    #422304

    oklch(29.2% 0.063 60.5)

  • #0F341A

    #0F341A

    oklch(29.1% 0.063 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 #042F48, closest first.

Similar named colors

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

Use #042F48 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.