#26238A

Closest named color: Royal (#0C1793). oklch(34.1% 0.164 274.7), rgb(38, 35, 138).

Aa

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

About this color

#26238A is a dark, vivid blue. In OKLCH its lightness is 34%, its chroma 0.164 and its hue 275°. Its hue sits on the cool side of the wheel. The nearest named color is Royal (#0C1793), ΔE 0.042 away. White text reads best on it, at 12.42:1.

Hue familyBlues
Lightnessdark (34%)
Chromavivid (0.164)
Temperaturecool
Nearest nameRoyal (#0C1793)
Black text1.68:1
White text12.42:1

Values

HEX#26238A
RGBrgb(38, 35, 138)
HSLhsl(242, 60%, 34%)
OKLCHoklch(34.1% 0.164 274.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 #26238A 12.42:1 AAA Lc -101.0 Preferred for body text
Black text on #26238A 1.68:1 Fails Lc 0.0 Not readable
#26238A text on white 12.42:1 AAA Lc 97.4 Preferred for body text
#26238A text on black 1.68: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 900.

  1. Step 50

    50

    #F2F5FF

    oklch(97.1% 0.014 272.7)

  2. Step 100

    100

    #E3E9FF

    oklch(93.6% 0.03 273.6)

  3. Step 200

    200

    #CED7FF

    oklch(88.5% 0.056 275.2)

  4. Step 300

    300

    #AEBCFF

    oklch(80.9% 0.096 274.9)

  5. Step 400

    400

    #8596FF

    oklch(70.6% 0.154 274.8)

  6. Step 500

    500

    #6978FF

    oklch(63.1% 0.199 274.4)

  7. Step 600

    600

    #5253FF

    oklch(55.5% 0.247 274.6)

  8. Step 700

    700

    #4438EC

    oklch(49.2% 0.254 274.6)

  9. Step 800

    800

    #3731BE

    oklch(42.7% 0.21 274.7)

  10. Step 900

    900 (this color)

    #26238A

    oklch(34.1% 0.164 274.7)

  11. Step 950

    950

    #1A1D58

    oklch(27% 0.104 274.7)

Export this scale for Tailwind in the Tailwind colors tool

#26238A 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)#00398D0.053
Deuteranopia (no green cones)#002F880.037
Tritanopia (no blue cones)#0040540.129
Achromatopsia (no color)#3434340.164

Harmonies

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

Complementary

The opposite hue (180°).

  • #26238A

    #26238A

    oklch(34.1% 0.164 274.7)

  • #443700

    #443700

    oklch(34.1% 0.07 94.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #26238A

    #26238A

    oklch(34.1% 0.164 274.7)

  • #003B61

    #003B61

    oklch(34% 0.086 245)

  • #4C0D7A

    #4C0D7A

    oklch(34% 0.164 304.3)

Open the analogous palette in the generator

Split complementary

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

  • #26238A

    #26238A

    oklch(34.1% 0.164 274.7)

  • #532E00

    #532E00

    oklch(34.1% 0.077 64.3)

  • #2E3F00

    #2E3F00

    oklch(34% 0.085 124.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #26238A

    #26238A

    oklch(34.1% 0.164 274.7)

  • #691500

    #691500

    oklch(34.2% 0.121 34.7)

  • #004423

    #004423

    oklch(34% 0.085 154.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #26238A

    #26238A

    oklch(34.1% 0.164 274.7)

  • #6C002F

    #6C002F

    oklch(34.2% 0.137 4.8)

  • #443700

    #443700

    oklch(34.1% 0.07 94.2)

  • #00423C

    #00423C

    oklch(34.1% 0.06 184.7)

Open the square palette in the generator

Palettes and gradients that use #26238A

These curated palettes and gradients contain exactly #26238A. Open one to see the full color scheme around it.

Gradients

Similar named colors

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

Use #26238A 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.