#23318A

Closest named color: Sapphire (#2138AB). oklch(36.3% 0.148 270.2), rgb(35, 49, 138).

Aa

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

About this color

#23318A is a dark, vivid blue. In OKLCH its lightness is 36%, its chroma 0.148 and its hue 270°. Its hue sits on the cool side of the wheel. The nearest named color is Sapphire (#2138AB), ΔE 0.057 away. White text reads best on it, at 11.18:1.

Hue familyBlues
Lightnessdark (36%)
Chromavivid (0.148)
Temperaturecool
Nearest nameSapphire (#2138AB)
Black text1.87:1
White text11.18:1

Values

HEX#23318A
RGBrgb(35, 49, 138)
HSLhsl(232, 60%, 34%)
OKLCHoklch(36.3% 0.148 270.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 #23318A 11.18:1 AAA Lc -99.1 Preferred for body text
Black text on #23318A 1.87:1 Fails Lc 8.6 Not readable
#23318A text on white 11.18:1 AAA Lc 95.3 Preferred for body text
#23318A text on black 1.87:1 Fails Lc -7.4 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

    #E2E9FF

    oklch(93.5% 0.031 271.7)

  3. Step 200

    200

    #CBD8FF

    oklch(88.5% 0.056 270.7)

  4. Step 300

    300

    #A9BEFF

    oklch(80.9% 0.095 270.4)

  5. Step 400

    400

    #7C99FF

    oklch(70.6% 0.153 270.2)

  6. Step 500

    500

    #5E7BFF

    oklch(63.1% 0.198 270.4)

  7. Step 600

    600

    #4359FF

    oklch(55.7% 0.244 270.2)

  8. Step 700

    700

    #3646DF

    oklch(49% 0.229 270.2)

  9. Step 800

    800

    #2C3BB4

    oklch(42.6% 0.19 270.3)

  10. Step 900

    900 (this color)

    #23318A

    oklch(36.3% 0.148 270.2)

  11. Step 950

    950

    #162053

    oklch(26.9% 0.093 270.5)

Export this scale for Tailwind in the Tailwind colors tool

#23318A 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)#00408D0.040
Deuteranopia (no green cones)#0036880.027
Tritanopia (no blue cones)#0048580.118
Achromatopsia (no color)#3B3B3B0.148

Harmonies

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

Complementary

The opposite hue (180°).

  • #23318A

    #23318A

    oklch(36.3% 0.148 270.2)

  • #4D3C00

    #4D3C00

    oklch(36.4% 0.074 90.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #23318A

    #23318A

    oklch(36.3% 0.148 270.2)

  • #004265

    #004265

    oklch(36.2% 0.084 240.6)

  • #4C217E

    #4C217E

    oklch(36.3% 0.148 300.2)

Open the analogous palette in the generator

Split complementary

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

  • #23318A

    #23318A

    oklch(36.3% 0.148 270.2)

  • #5D3100

    #5D3100

    oklch(36.2% 0.085 60.3)

  • #384400

    #384400

    oklch(36.3% 0.086 120.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #23318A

    #23318A

    oklch(36.3% 0.148 270.2)

  • #780600

    #780600

    oklch(36.3% 0.145 30.2)

  • #004C1F

    #004C1F

    oklch(36.4% 0.1 150)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #23318A

    #23318A

    oklch(36.3% 0.148 270.2)

  • #75003A

    #75003A

    oklch(36.4% 0.147 0.6)

  • #4D3C00

    #4D3C00

    oklch(36.4% 0.074 90.7)

  • #00493F

    #00493F

    oklch(36.3% 0.066 179.7)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #23318A.

Similar named colors

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

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