#002842

Closest named color: Oxford Blue (#1B263B). oklch(26.6% 0.064 243.1), rgb(0, 40, 66).

Aa

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

About this color

#002842 is a dark, muted blue. In OKLCH its lightness is 27%, its chroma 0.064 and its hue 243°. 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 15.19:1.

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

Values

HEX#002842
RGBrgb(0, 40, 66)
HSLhsl(204, 100%, 13%)
OKLCHoklch(26.6% 0.064 243.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 #002842 15.19:1 AAA Lc -104.6 Preferred for body text
Black text on #002842 1.38:1 Fails Lc 0.0 Not readable
#002842 text on white 15.19:1 AAA Lc 101.8 Preferred for body text
#002842 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

    #DEECF8

    oklch(93.6% 0.022 243.8)

  3. Step 200

    200

    #C2DDF4

    oklch(88.5% 0.043 244)

  4. Step 300

    300

    #96C7EF

    oklch(80.9% 0.077 243.5)

  5. Step 400

    400

    #55A9E6

    oklch(70.8% 0.121 242.6)

  6. Step 500

    500

    #0091DE

    oklch(63.1% 0.153 243.2)

  7. Step 600

    600

    #007ABB

    oklch(55.7% 0.134 242.9)

  8. Step 700

    700

    #00669E

    oklch(49% 0.119 243.2)

  9. Step 800

    800

    #005483

    oklch(42.8% 0.104 243)

  10. Step 900

    900

    #00466E

    oklch(37.8% 0.091 242.8)

  11. Step 950

    950 (this color)

    #002842

    oklch(26.6% 0.064 243.1)

Export this scale for Tailwind in the Tailwind colors tool

#002842 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)#1B29430.028
Deuteranopia (no green cones)#1223420.021
Tritanopia (no blue cones)#002E310.043
Achromatopsia (no color)#2626260.064

Harmonies

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

Complementary

The opposite hue (180°).

  • #002842

    #002842

    oklch(26.6% 0.064 243.1)

  • #3A1E00

    #3A1E00

    oklch(26.7% 0.061 63.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #002842

    #002842

    oklch(26.6% 0.064 243.1)

  • #002B33

    #002B33

    oklch(26.6% 0.047 213.5)

  • #1C2244

    #1C2244

    oklch(26.6% 0.064 273.8)

Open the analogous palette in the generator

Split complementary

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

  • #002842

    #002842

    oklch(26.6% 0.064 243.1)

  • #3F180F

    #3F180F

    oklch(26.6% 0.064 34.3)

  • #2F2400

    #2F2400

    oklch(26.6% 0.054 91.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #002842

    #002842

    oklch(26.6% 0.064 243.1)

  • #3E1622

    #3E1622

    oklch(26.6% 0.064 3.7)

  • #202A01

    #202A01

    oklch(26.6% 0.064 122.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #002842

    #002842

    oklch(26.6% 0.064 243.1)

  • #371833

    #371833

    oklch(26.6% 0.065 332.2)

  • #3A1E00

    #3A1E00

    oklch(26.7% 0.061 63.3)

  • #032E16

    #032E16

    oklch(26.6% 0.064 153.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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