#022540

Closest named color: Oxford Blue (#1B263B). oklch(25.7% 0.064 246.6), rgb(2, 37, 64).

Aa

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

About this color

#022540 is a dark, muted blue. In OKLCH its lightness is 26%, its chroma 0.064 and its hue 247°. 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.65:1.

Hue familyBlues
Lightnessdark (26%)
Chromamuted (0.064)
Temperaturecool
Nearest nameOxford Blue (#1B263B)
Black text1.34:1
White text15.65:1

Values

HEX#022540
RGBrgb(2, 37, 64)
HSLhsl(206, 94%, 13%)
OKLCHoklch(25.7% 0.064 246.6)

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 #022540 15.65:1 AAA Lc -105.0 Preferred for body text
Black text on #022540 1.34:1 Fails Lc 0.0 Not readable
#022540 text on white 15.65:1 AAA Lc 102.3 Preferred for body text
#022540 text on black 1.34: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

    #DFECF8

    oklch(93.7% 0.021 245.9)

  3. Step 200

    200

    #C3DDF4

    oklch(88.6% 0.042 245)

  4. Step 300

    300

    #99C6EF

    oklch(80.9% 0.075 246.4)

  5. Step 400

    400

    #5CA7E8

    oklch(70.7% 0.122 246.7)

  6. Step 500

    500

    #1D8FE1

    oklch(63.1% 0.155 246.7)

  7. Step 600

    600

    #0078C2

    oklch(55.6% 0.145 246.5)

  8. Step 700

    700

    #0065A4

    oklch(49.2% 0.127 246.3)

  9. Step 800

    800

    #005288

    oklch(42.7% 0.112 246.9)

  10. Step 900

    900

    #004472

    oklch(37.6% 0.099 246.8)

  11. Step 950

    950 (this color)

    #022540

    oklch(25.7% 0.064 246.6)

Export this scale for Tailwind in the Tailwind colors tool

#022540 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.024
Deuteranopia (no green cones)#0E213F0.015
Tritanopia (no blue cones)#002C2F0.046
Achromatopsia (no color)#2323230.064

Harmonies

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

Complementary

The opposite hue (180°).

  • #022540

    #022540

    oklch(25.7% 0.064 246.6)

  • #351D00

    #351D00

    oklch(25.7% 0.057 67.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #022540

    #022540

    oklch(25.7% 0.064 246.6)

  • #002831

    #002831

    oklch(25.5% 0.046 216.8)

  • #1C1F41

    #1C1F41

    oklch(25.6% 0.063 277.1)

Open the analogous palette in the generator

Split complementary

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

  • #022540

    #022540

    oklch(25.7% 0.064 246.6)

  • #3C160B

    #3C160B

    oklch(25.7% 0.063 36.9)

  • #2B2300

    #2B2300

    oklch(25.8% 0.053 96.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #022540

    #022540

    oklch(25.7% 0.064 246.6)

  • #3C141E

    #3C141E

    oklch(25.8% 0.064 7.2)

  • #1B2801

    #1B2801

    oklch(25.5% 0.064 126.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #022540

    #022540

    oklch(25.7% 0.064 246.6)

  • #36152F

    #36152F

    oklch(25.6% 0.066 336.1)

  • #351D00

    #351D00

    oklch(25.7% 0.057 67.4)

  • #002C16

    #002C16

    oklch(25.8% 0.063 156)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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