#042B47

Closest named color: Oxford Blue (#1B263B). oklch(28% 0.066 245.4), rgb(4, 43, 71).

Aa

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

About this color

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

Hue familyBlues
Lightnessdark (28%)
Chromamuted (0.066)
Temperaturecool
Nearest nameOxford Blue (#1B263B)
Black text1.44:1
White text14.56:1

Values

HEX#042B47
RGBrgb(4, 43, 71)
HSLhsl(205, 89%, 15%)
OKLCHoklch(28% 0.066 245.4)

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 #042B47 14.56:1 AAA Lc -104.0 Preferred for body text
Black text on #042B47 1.44:1 Fails Lc 0.0 Not readable
#042B47 text on white 14.56:1 AAA Lc 101.1 Preferred for body text
#042B47 text on black 1.44: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

    #C2DDF5

    oklch(88.5% 0.044 245.1)

  4. Step 300

    300

    #96C6F1

    oklch(80.8% 0.079 246)

  5. Step 400

    400

    #56A8EA

    oklch(70.8% 0.126 245.2)

  6. Step 500

    500

    #0090E3

    oklch(63.2% 0.16 245.3)

  7. Step 600

    600

    #0079C0

    oklch(55.7% 0.141 245.3)

  8. Step 700

    700

    #0065A2

    oklch(49% 0.125 245.5)

  9. Step 800

    800

    #005386

    oklch(42.8% 0.108 245.3)

  10. Step 900

    900

    #004571

    oklch(37.8% 0.096 245.5)

  11. Step 950

    950 (this color)

    #042B47

    oklch(28% 0.066 245.4)

Export this scale for Tailwind in the Tailwind colors tool

#042B47 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)#1E2C480.027
Deuteranopia (no green cones)#1426460.019
Tritanopia (no blue cones)#0032350.047
Achromatopsia (no color)#2929290.066

Harmonies

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

Complementary

The opposite hue (180°).

  • #042B47

    #042B47

    oklch(28% 0.066 245.4)

  • #3D2100

    #3D2100

    oklch(27.9% 0.062 65.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #042B47

    #042B47

    oklch(28% 0.066 245.4)

  • #002F38

    #002F38

    oklch(28.1% 0.049 214.4)

  • #202549

    #202549

    oklch(28% 0.066 275.3)

Open the analogous palette in the generator

Split complementary

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

  • #042B47

    #042B47

    oklch(28% 0.066 245.4)

  • #441B10

    #441B10

    oklch(28.1% 0.067 36)

  • #312800

    #312800

    oklch(27.9% 0.057 96)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #042B47

    #042B47

    oklch(28% 0.066 245.4)

  • #431924

    #431924

    oklch(28.1% 0.066 5.9)

  • #212E03

    #212E03

    oklch(27.9% 0.066 125.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #042B47

    #042B47

    oklch(28% 0.066 245.4)

  • #3C1B35

    #3C1B35

    oklch(28% 0.065 335.7)

  • #3D2100

    #3D2100

    oklch(27.9% 0.062 65.4)

  • #02321A

    #02321A

    oklch(28% 0.066 155.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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