#042B4A

Closest named color: Oxford Blue (#1B263B). oklch(28.2% 0.071 247.9), rgb(4, 43, 74).

Aa

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

About this color

#042B4A is a dark, moderately saturated blue. In OKLCH its lightness is 28%, its chroma 0.071 and its hue 248°. Its hue sits on the cool side of the wheel. The nearest named color is Oxford Blue (#1B263B), ΔE 0.034 away. White text reads best on it, at 14.48:1.

Hue familyBlues
Lightnessdark (28%)
Chromamoderately saturated (0.071)
Temperaturecool
Nearest nameOxford Blue (#1B263B)
Black text1.44:1
White text14.48:1

Values

HEX#042B4A
RGBrgb(4, 43, 74)
HSLhsl(207, 90%, 15%)
OKLCHoklch(28.2% 0.071 247.9)

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 #042B4A 14.48:1 AAA Lc -103.9 Preferred for body text
Black text on #042B4A 1.44:1 Fails Lc 0.0 Not readable
#042B4A text on white 14.48:1 AAA Lc 101.0 Preferred for body text
#042B4A 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

    #F0F6FD

    oklch(97.1% 0.011 252.1)

  2. Step 100

    100

    #DEECFA

    oklch(93.7% 0.024 248.1)

  3. Step 200

    200

    #C2DDF7

    oklch(88.6% 0.046 247.3)

  4. Step 300

    300

    #95C6F4

    oklch(80.9% 0.083 247.3)

  5. Step 400

    400

    #55A7EF

    oklch(70.8% 0.133 247.5)

  6. Step 500

    500

    #008EE9

    oklch(63.1% 0.169 247.8)

  7. Step 600

    600

    #0077C5

    oklch(55.6% 0.149 247.9)

  8. Step 700

    700

    #0064A7

    oklch(49.1% 0.132 247.9)

  9. Step 800

    800

    #00528A

    oklch(42.8% 0.115 247.8)

  10. Step 900

    900

    #004474

    oklch(37.7% 0.101 247.8)

  11. Step 950

    950 (this color)

    #042B4A

    oklch(28.2% 0.071 247.9)

Export this scale for Tailwind in the Tailwind colors tool

#042B4A 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)#1C2D4B0.025
Deuteranopia (no green cones)#1127490.015
Tritanopia (no blue cones)#0033360.052
Achromatopsia (no color)#2929290.071

Harmonies

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

Complementary

The opposite hue (180°).

  • #042B4A

    #042B4A

    oklch(28.2% 0.071 247.9)

  • #3D2200

    #3D2200

    oklch(28.1% 0.062 67.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #042B4A

    #042B4A

    oklch(28.2% 0.071 247.9)

  • #002F3A

    #002F3A

    oklch(28.2% 0.051 218.4)

  • #22244B

    #22244B

    oklch(28.1% 0.071 278.6)

Open the analogous palette in the generator

Split complementary

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

  • #042B4A

    #042B4A

    oklch(28.2% 0.071 247.9)

  • #451A0D

    #451A0D

    oklch(28% 0.07 37.4)

  • #312900

    #312900

    oklch(28.1% 0.058 97.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #042B4A

    #042B4A

    oklch(28.2% 0.071 247.9)

  • #451823

    #451823

    oklch(28.2% 0.07 7.6)

  • #1F2F02

    #1F2F02

    oklch(28.1% 0.07 127.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #042B4A

    #042B4A

    oklch(28.2% 0.071 247.9)

  • #3F1A35

    #3F1A35

    oklch(28.3% 0.07 338.7)

  • #3D2200

    #3D2200

    oklch(28.1% 0.062 67.2)

  • #00331C

    #00331C

    oklch(28.3% 0.067 157.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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