#26256F

Closest named color: Midnight Blue (#191970). oklch(31.7% 0.124 277.2), rgb(38, 37, 111).

Aa

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

About this color

#26256F is a dark, moderately saturated blue. In OKLCH its lightness is 32%, its chroma 0.124 and its hue 277°. Its hue sits on the cool side of the wheel. The nearest named color is Midnight Blue (#191970), ΔE 0.036 away. White text reads best on it, at 13.31:1.

Hue familyBlues
Lightnessdark (32%)
Chromamoderately saturated (0.124)
Temperaturecool
Nearest nameMidnight Blue (#191970)
Black text1.57:1
White text13.31:1

Values

HEX#26256F
RGBrgb(38, 37, 111)
HSLhsl(241, 50%, 29%)
OKLCHoklch(31.7% 0.124 277.2)

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 #26256F 13.31:1 AAA Lc -102.6 Preferred for body text
Black text on #26256F 1.57:1 Fails Lc 0.0 Not readable
#26256F text on white 13.31:1 AAA Lc 99.3 Preferred for body text
#26256F text on black 1.57: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

    #F3F5FF

    oklch(97.2% 0.013 277.1)

  2. Step 100

    100

    #E4E8FF

    oklch(93.5% 0.031 277.9)

  3. Step 200

    200

    #CFD6FF

    oklch(88.4% 0.057 277.5)

  4. Step 300

    300

    #B1BBFF

    oklch(80.9% 0.097 277.5)

  5. Step 400

    400

    #8A95FF

    oklch(70.7% 0.154 277.2)

  6. Step 500

    500

    #7075FF

    oklch(63.1% 0.201 277.4)

  7. Step 600

    600

    #5A50FF

    oklch(55.6% 0.248 277.1)

  8. Step 700

    700

    #4D18FF

    oklch(49.1% 0.291 277.1)

  9. Step 800

    800

    #3F14D3

    oklch(42.8% 0.252 277.4)

  10. Step 900

    900

    #3221A5

    oklch(37.6% 0.196 277.1)

  11. Step 950

    950 (this color)

    #26256F

    oklch(31.7% 0.124 277.2)

Export this scale for Tailwind in the Tailwind colors tool

#26256F 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)#0033710.046
Deuteranopia (no green cones)#002C6E0.039
Tritanopia (no blue cones)#0038460.104
Achromatopsia (no color)#2F2F2F0.125

Harmonies

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

Complementary

The opposite hue (180°).

  • #26256F

    #26256F

    oklch(31.7% 0.124 277.2)

  • #3B3200

    #3B3200

    oklch(31.7% 0.066 98.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #26256F

    #26256F

    oklch(31.7% 0.124 277.2)

  • #00345A

    #00345A

    oklch(31.7% 0.084 247.5)

  • #431962

    #431962

    oklch(31.8% 0.124 307)

Open the analogous palette in the generator

Split complementary

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

  • #26256F

    #26256F

    oklch(31.7% 0.124 277.2)

  • #492A00

    #492A00

    oklch(31.7% 0.07 67.7)

  • #263900

    #263900

    oklch(31.6% 0.082 127.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #26256F

    #26256F

    oklch(31.7% 0.124 277.2)

  • #5C1600

    #5C1600

    oklch(31.7% 0.106 37.1)

  • #003D22

    #003D22

    oklch(31.7% 0.075 157.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #26256F

    #26256F

    oklch(31.7% 0.124 277.2)

  • #610327

    #610327

    oklch(31.8% 0.124 7.3)

  • #3B3200

    #3B3200

    oklch(31.7% 0.066 98.2)

  • #003B37

    #003B37

    oklch(31.7% 0.055 187.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #26256F 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.