#122042

Closest named color: Oxford Blue (#1B263B). oklch(25.2% 0.067 265.1), rgb(18, 32, 66).

Aa

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

About this color

#122042 is a dark, muted blue. In OKLCH its lightness is 25%, its chroma 0.067 and its hue 265°. Its hue sits on the cool side of the wheel. The nearest named color is Oxford Blue (#1B263B), ΔE 0.030 away. White text reads best on it, at 16.01:1.

Hue familyBlues
Lightnessdark (25%)
Chromamuted (0.067)
Temperaturecool
Nearest nameOxford Blue (#1B263B)
Black text1.31:1
White text16.01:1

Values

HEX#122042
RGBrgb(18, 32, 66)
HSLhsl(223, 57%, 16%)
OKLCHoklch(25.2% 0.067 265.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 #122042 16.01:1 AAA Lc -105.4 Preferred for body text
Black text on #122042 1.31:1 Fails Lc 0.0 Not readable
#122042 text on white 16.01:1 AAA Lc 102.8 Preferred for body text
#122042 text on black 1.31: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

    #F2F5FD

    oklch(97% 0.011 269.6)

  2. Step 100

    100

    #E2EAFA

    oklch(93.6% 0.023 264.5)

  3. Step 200

    200

    #CBD9F7

    oklch(88.4% 0.044 265.6)

  4. Step 300

    300

    #A8C0F5

    oklch(80.9% 0.08 265.7)

  5. Step 400

    400

    #7A9EF0

    oklch(70.7% 0.127 265.3)

  6. Step 500

    500

    #5983EB

    oklch(63% 0.163 265.4)

  7. Step 600

    600

    #3F6AD9

    oklch(55.5% 0.177 265.1)

  8. Step 700

    700

    #3258BC

    oklch(49.1% 0.164 265.2)

  9. Step 800

    800

    #294898

    oklch(42.5% 0.136 265.1)

  10. Step 900

    900

    #253E79

    oklch(37.8% 0.105 264.6)

  11. Step 950

    950 (this color)

    #122042

    oklch(25.2% 0.067 265.1)

Export this scale for Tailwind in the Tailwind colors tool

#122042 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)#0F24430.013
Deuteranopia (no green cones)#071F410.013
Tritanopia (no blue cones)#00282D0.057
Achromatopsia (no color)#2121210.067

Harmonies

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

Complementary

The opposite hue (180°).

  • #122042

    #122042

    oklch(25.2% 0.067 265.1)

  • #2D2000

    #2D2000

    oklch(25.2% 0.052 86.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #122042

    #122042

    oklch(25.2% 0.067 265.1)

  • #002638

    #002638

    oklch(25.3% 0.053 234.4)

  • #251A3E

    #251A3E

    oklch(25.2% 0.066 295.3)

Open the analogous palette in the generator

Split complementary

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

  • #122042

    #122042

    oklch(25.2% 0.067 265.1)

  • #381800

    #381800

    oklch(25.1% 0.062 54.7)

  • #212500

    #212500

    oklch(25.2% 0.057 115.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #122042

    #122042

    oklch(25.2% 0.067 265.1)

  • #3C1211

    #3C1211

    oklch(25.1% 0.067 24.5)

  • #072A0B

    #072A0B

    oklch(25.2% 0.068 145.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #122042

    #122042

    oklch(25.2% 0.067 265.1)

  • #3A1224

    #3A1224

    oklch(25.3% 0.067 354.9)

  • #2D2000

    #2D2000

    oklch(25.2% 0.052 86.4)

  • #002921

    #002921

    oklch(25.1% 0.047 176.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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