#042938

Closest named color: Oxford Blue (#1B263B). oklch(26.4% 0.049 230.1), rgb(4, 41, 56).

Aa

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

About this color

#042938 is a dark, muted blue. In OKLCH its lightness is 26%, its chroma 0.049 and its hue 230°. Its hue sits on the cool side of the wheel. The nearest named color is Oxford Blue (#1B263B), ΔE 0.027 away. White text reads best on it, at 15.22:1.

Hue familyBlues
Lightnessdark (26%)
Chromamuted (0.049)
Temperaturecool
Nearest nameOxford Blue (#1B263B)
Black text1.37:1
White text15.22:1

Values

HEX#042938
RGBrgb(4, 41, 56)
HSLhsl(197, 87%, 12%)
OKLCHoklch(26.4% 0.049 230.1)

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 #042938 15.22:1 AAA Lc -104.7 Preferred for body text
Black text on #042938 1.37:1 Fails Lc 0.0 Not readable
#042938 text on white 15.22:1 AAA Lc 101.9 Preferred for body text
#042938 text on black 1.37: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

    #F0F7FA

    oklch(97.2% 0.008 225.1)

  2. Step 100

    100

    #DFECF3

    oklch(93.5% 0.017 230.9)

  3. Step 200

    200

    #C5DEEB

    oklch(88.6% 0.032 230.3)

  4. Step 300

    300

    #9BC8DF

    oklch(80.9% 0.057 230.5)

  5. Step 400

    400

    #5EABCF

    oklch(70.6% 0.093 230.2)

  6. Step 500

    500

    #1F96C3

    oklch(63.2% 0.118 229.9)

  7. Step 600

    600

    #007EA7

    oklch(55.5% 0.111 230)

  8. Step 700

    700

    #006A8D

    oklch(49.1% 0.098 229.8)

  9. Step 800

    800

    #005774

    oklch(42.7% 0.085 229.4)

  10. Step 900

    900

    #004862

    oklch(37.7% 0.076 230.8)

  11. Step 950

    950 (this color)

    #042938

    oklch(26.4% 0.049 230.1)

Export this scale for Tailwind in the Tailwind colors tool

#042938 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)#2128390.033
Deuteranopia (no green cones)#1A23380.029
Tritanopia (no blue cones)#002D2E0.028
Achromatopsia (no color)#2626260.049

Harmonies

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

Complementary

The opposite hue (180°).

  • #042938

    #042938

    oklch(26.4% 0.049 230.1)

  • #381D0E

    #381D0E

    oklch(26.4% 0.049 48.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #042938

    #042938

    oklch(26.4% 0.049 230.1)

  • #002B2E

    #002B2E

    oklch(26.3% 0.045 202)

  • #17253D

    #17253D

    oklch(26.5% 0.049 260.7)

Open the analogous palette in the generator

Split complementary

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

  • #042938

    #042938

    oklch(26.4% 0.049 230.1)

  • #391A1B

    #391A1B

    oklch(26.2% 0.049 19)

  • #312205

    #312205

    oklch(26.4% 0.048 80.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #042938

    #042938

    oklch(26.4% 0.049 230.1)

  • #361A28

    #361A28

    oklch(26.2% 0.049 349.7)

  • #262707

    #262707

    oklch(26.4% 0.049 111)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #042938

    #042938

    oklch(26.4% 0.049 230.1)

  • #2F1D34

    #2F1D34

    oklch(26.4% 0.048 318.7)

  • #381D0E

    #381D0E

    oklch(26.4% 0.049 48.6)

  • #172B13

    #172B13

    oklch(26.5% 0.05 140.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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