#122440

Closest named color: Oxford Blue (#1B263B). oklch(26.1% 0.058 258.9), rgb(18, 36, 64).

Aa

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

About this color

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

Hue familyBlues
Lightnessdark (26%)
Chromamuted (0.058)
Temperaturecool
Nearest nameOxford Blue (#1B263B)
Black text1.35:1
White text15.53:1

Values

HEX#122440
RGBrgb(18, 36, 64)
HSLhsl(217, 56%, 16%)
OKLCHoklch(26.1% 0.058 258.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 #122440 15.53:1 AAA Lc -105.0 Preferred for body text
Black text on #122440 1.35:1 Fails Lc 0.0 Not readable
#122440 text on white 15.53:1 AAA Lc 102.3 Preferred for body text
#122440 text on black 1.35: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

    #F2F6FC

    oklch(97.2% 0.009 258.3)

  2. Step 100

    100

    #E2EAF8

    oklch(93.5% 0.021 261.8)

  3. Step 200

    200

    #CADAF3

    oklch(88.4% 0.039 259.3)

  4. Step 300

    300

    #A6C2EE

    oklch(80.9% 0.07 259.3)

  5. Step 400

    400

    #76A2E5

    oklch(70.8% 0.11 258.6)

  6. Step 500

    500

    #5289DD

    oklch(63.1% 0.14 258.6)

  7. Step 600

    600

    #3671CB

    oklch(55.6% 0.153 258.8)

  8. Step 700

    700

    #295EB0

    oklch(49.2% 0.142 259)

  9. Step 800

    800

    #234D8E

    oklch(42.7% 0.118 259)

  10. Step 900

    900

    #214171

    oklch(37.7% 0.091 258.4)

  11. Step 950

    950 (this color)

    #122440

    oklch(26.1% 0.058 258.9)

Export this scale for Tailwind in the Tailwind colors tool

#122440 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)#1826410.011
Deuteranopia (no green cones)#11223F0.007
Tritanopia (no blue cones)#002A2E0.048
Achromatopsia (no color)#2424240.058

Harmonies

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

Complementary

The opposite hue (180°).

  • #122440

    #122440

    oklch(26.1% 0.058 258.9)

  • #322000

    #322000

    oklch(26% 0.054 78.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #122440

    #122440

    oklch(26.1% 0.058 258.9)

  • #002938

    #002938

    oklch(26.2% 0.051 228.1)

  • #241F3E

    #241F3E

    oklch(26.2% 0.057 289.3)

Open the analogous palette in the generator

Split complementary

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

  • #122440

    #122440

    oklch(26.1% 0.058 258.9)

  • #3A1A07

    #3A1A07

    oklch(26% 0.058 48.8)

  • #272600

    #272600

    oklch(26.1% 0.056 108.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #122440

    #122440

    oklch(26.1% 0.058 258.9)

  • #3C1719

    #3C1719

    oklch(26.1% 0.058 18.7)

  • #142B0E

    #142B0E

    oklch(26.2% 0.058 139.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #122440

    #122440

    oklch(26.1% 0.058 258.9)

  • #381729

    #381729

    oklch(26% 0.058 348)

  • #322000

    #322000

    oklch(26% 0.054 78.1)

  • #002C20

    #002C20

    oklch(26.1% 0.052 169.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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