#042B45

Closest named color: Oxford Blue (#1B263B). oklch(27.8% 0.063 243.6), rgb(4, 43, 69).

Aa

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

About this color

#042B45 is a dark, muted blue. In OKLCH its lightness is 28%, its chroma 0.063 and its hue 244°. Its hue sits on the cool side of the wheel. The nearest named color is Oxford Blue (#1B263B), ΔE 0.029 away. White text reads best on it, at 14.61:1.

Hue familyBlues
Lightnessdark (28%)
Chromamuted (0.063)
Temperaturecool
Nearest nameOxford Blue (#1B263B)
Black text1.43:1
White text14.61:1

Values

HEX#042B45
RGBrgb(4, 43, 69)
HSLhsl(204, 89%, 14%)
OKLCHoklch(27.8% 0.063 243.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 #042B45 14.61:1 AAA Lc -104.1 Preferred for body text
Black text on #042B45 1.43:1 Fails Lc 0.0 Not readable
#042B45 text on white 14.61:1 AAA Lc 101.1 Preferred for body text
#042B45 text on black 1.43: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

    #DEECF8

    oklch(93.6% 0.022 243.8)

  3. Step 200

    200

    #C2DDF3

    oklch(88.5% 0.042 242.7)

  4. Step 300

    300

    #97C7EE

    oklch(81% 0.075 243.4)

  5. Step 400

    400

    #57A8E6

    oklch(70.6% 0.121 243.9)

  6. Step 500

    500

    #0291DE

    oklch(63.1% 0.153 243.3)

  7. Step 600

    600

    #007ABC

    oklch(55.7% 0.136 243.3)

  8. Step 700

    700

    #00669F

    oklch(49.1% 0.12 243.6)

  9. Step 800

    800

    #005383

    oklch(42.6% 0.105 243.8)

  10. Step 900

    900

    #00456E

    oklch(37.6% 0.092 243.7)

  11. Step 950

    950 (this color)

    #042B45

    oklch(27.8% 0.063 243.6)

Export this scale for Tailwind in the Tailwind colors tool

#042B45 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)#1F2C460.029
Deuteranopia (no green cones)#1526450.021
Tritanopia (no blue cones)#0031340.043
Achromatopsia (no color)#2929290.064

Harmonies

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

Complementary

The opposite hue (180°).

  • #042B45

    #042B45

    oklch(27.8% 0.063 243.6)

  • #3D2000

    #3D2000

    oklch(27.7% 0.063 63.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #042B45

    #042B45

    oklch(27.8% 0.063 243.6)

  • #002E37

    #002E37

    oklch(27.7% 0.049 214.7)

  • #1F2547

    #1F2547

    oklch(27.8% 0.063 274)

Open the analogous palette in the generator

Split complementary

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

  • #042B45

    #042B45

    oklch(27.8% 0.063 243.6)

  • #421B12

    #421B12

    oklch(27.8% 0.063 34.3)

  • #322700

    #322700

    oklch(27.7% 0.057 92.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #042B45

    #042B45

    oklch(27.8% 0.063 243.6)

  • #411925

    #411925

    oklch(27.8% 0.064 3.3)

  • #222D04

    #222D04

    oklch(27.7% 0.063 123.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #042B45

    #042B45

    oklch(27.8% 0.063 243.6)

  • #3B1B35

    #3B1B35

    oklch(27.8% 0.064 334.6)

  • #3D2000

    #3D2000

    oklch(27.7% 0.063 63.6)

  • #073119

    #073119

    oklch(27.8% 0.063 153.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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