#042841

Closest named color: Oxford Blue (#1B263B). oklch(26.7% 0.061 244.2), rgb(4, 40, 65).

Aa

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

About this color

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

Hue familyBlues
Lightnessdark (27%)
Chromamuted (0.061)
Temperaturecool
Nearest nameOxford Blue (#1B263B)
Black text1.38:1
White text15.16:1

Values

HEX#042841
RGBrgb(4, 40, 65)
HSLhsl(205, 88%, 14%)
OKLCHoklch(26.7% 0.061 244.2)

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 #042841 15.16:1 AAA Lc -104.6 Preferred for body text
Black text on #042841 1.38:1 Fails Lc 0.0 Not readable
#042841 text on white 15.16:1 AAA Lc 101.8 Preferred for body text
#042841 text on black 1.38: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

    #DFECF7

    oklch(93.7% 0.02 243.4)

  3. Step 200

    200

    #C4DDF2

    oklch(88.6% 0.039 243.5)

  4. Step 300

    300

    #99C6ED

    oklch(80.8% 0.073 245)

  5. Step 400

    400

    #5CA8E3

    oklch(70.7% 0.115 243.9)

  6. Step 500

    500

    #1C90DC

    oklch(63% 0.149 244.6)

  7. Step 600

    600

    #0079BD

    oklch(55.5% 0.138 244.2)

  8. Step 700

    700

    #0066A0

    oklch(49.2% 0.121 244)

  9. Step 800

    800

    #005384

    oklch(42.6% 0.106 244.3)

  10. Step 900

    900

    #00456F

    oklch(37.6% 0.093 244.3)

  11. Step 950

    950 (this color)

    #042841

    oklch(26.7% 0.061 244.2)

Export this scale for Tailwind in the Tailwind colors tool

#042841 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)#1C29420.026
Deuteranopia (no green cones)#1323410.020
Tritanopia (no blue cones)#002E310.042
Achromatopsia (no color)#2626260.061

Harmonies

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

Complementary

The opposite hue (180°).

  • #042841

    #042841

    oklch(26.7% 0.061 244.2)

  • #391E00

    #391E00

    oklch(26.6% 0.06 64.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #042841

    #042841

    oklch(26.7% 0.061 244.2)

  • #002B34

    #002B34

    oklch(26.6% 0.047 215.7)

  • #1D2243

    #1D2243

    oklch(26.6% 0.062 274.9)

Open the analogous palette in the generator

Split complementary

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

  • #042841

    #042841

    oklch(26.7% 0.061 244.2)

  • #3E1910

    #3E1910

    oklch(26.7% 0.061 34.9)

  • #2E2500

    #2E2500

    oklch(26.7% 0.055 95.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #042841

    #042841

    oklch(26.7% 0.061 244.2)

  • #3D1722

    #3D1722

    oklch(26.6% 0.061 3.9)

  • #1F2A04

    #1F2A04

    oklch(26.5% 0.06 124.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #042841

    #042841

    oklch(26.7% 0.061 244.2)

  • #371932

    #371932

    oklch(26.7% 0.061 333.7)

  • #391E00

    #391E00

    oklch(26.6% 0.06 64.4)

  • #052E17

    #052E17

    oklch(26.7% 0.062 153.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #042841 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.