#15266D

Closest named color: Midnight Blue (#191970). oklch(30.6% 0.125 267.7), rgb(21, 38, 109).

Aa

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

About this color

#15266D is a dark, moderately saturated blue. In OKLCH its lightness is 31%, its chroma 0.125 and its hue 268°. Its hue sits on the cool side of the wheel. The nearest named color is Midnight Blue (#191970), ΔE 0.029 away. White text reads best on it, at 13.72:1.

Hue familyBlues
Lightnessdark (31%)
Chromamoderately saturated (0.125)
Temperaturecool
Nearest nameMidnight Blue (#191970)
Black text1.52:1
White text13.72:1

Values

HEX#15266D
RGBrgb(21, 38, 109)
HSLhsl(228, 68%, 25%)
OKLCHoklch(30.6% 0.125 267.7)

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 #15266D 13.72:1 AAA Lc -103.0 Preferred for body text
Black text on #15266D 1.52:1 Fails Lc 0.0 Not readable
#15266D text on white 13.72:1 AAA Lc 99.8 Preferred for body text
#15266D text on black 1.52: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

    #F1F5FF

    oklch(97% 0.014 268.5)

  2. Step 100

    100

    #E1EAFF

    oklch(93.7% 0.03 267.2)

  3. Step 200

    200

    #C9D9FF

    oklch(88.6% 0.055 267.2)

  4. Step 300

    300

    #A6BFFF

    oklch(80.9% 0.095 267.8)

  5. Step 400

    400

    #779BFF

    oklch(70.7% 0.152 267.5)

  6. Step 500

    500

    #567DFF

    oklch(63% 0.198 267.8)

  7. Step 600

    600

    #385BFF

    oklch(55.5% 0.245 267.7)

  8. Step 700

    700

    #2732FF

    oklch(49.2% 0.286 267.7)

  9. Step 800

    800

    #1E25D6

    oklch(42.7% 0.253 267.7)

  10. Step 900

    900

    #192AA8

    oklch(37.8% 0.198 267.6)

  11. Step 950

    950 (this color)

    #15266D

    oklch(30.6% 0.125 267.7)

Export this scale for Tailwind in the Tailwind colors tool

#15266D 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)#00316F0.030
Deuteranopia (no green cones)#00296C0.017
Tritanopia (no blue cones)#0038450.098
Achromatopsia (no color)#2D2D2D0.125

Harmonies

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

Complementary

The opposite hue (180°).

  • #15266D

    #15266D

    oklch(30.6% 0.125 267.7)

  • #3D2D00

    #3D2D00

    oklch(30.7% 0.063 87.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #15266D

    #15266D

    oklch(30.6% 0.125 267.7)

  • #00334D

    #00334D

    oklch(30.5% 0.068 238.3)

  • #391965

    #391965

    oklch(30.7% 0.125 297.8)

Open the analogous palette in the generator

Split complementary

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

  • #15266D

    #15266D

    oklch(30.6% 0.125 267.7)

  • #4A2400

    #4A2400

    oklch(30.6% 0.074 57.8)

  • #2D3400

    #2D3400

    oklch(30.8% 0.071 117.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #15266D

    #15266D

    oklch(30.6% 0.125 267.7)

  • #5F0003

    #5F0003

    oklch(30.5% 0.125 27.8)

  • #003B12

    #003B12

    oklch(30.7% 0.089 147.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #15266D

    #15266D

    oklch(30.6% 0.125 267.7)

  • #5B002F

    #5B002F

    oklch(30.6% 0.125 358)

  • #3D2D00

    #3D2D00

    oklch(30.7% 0.063 87.3)

  • #00382F

    #00382F

    oklch(30.5% 0.056 178.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #15266D 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.