#232873

Closest named color: Midnight Blue (#191970). oklch(32.4% 0.127 274), rgb(35, 40, 115).

Aa

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

About this color

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

Hue familyBlues
Lightnessdark (32%)
Chromamoderately saturated (0.127)
Temperaturecool
Nearest nameMidnight Blue (#191970)
Black text1.62:1
White text12.94:1

Values

HEX#232873
RGBrgb(35, 40, 115)
HSLhsl(236, 53%, 29%)
OKLCHoklch(32.4% 0.127 274)

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 #232873 12.94:1 AAA Lc -102.1 Preferred for body text
Black text on #232873 1.62:1 Fails Lc 0.0 Not readable
#232873 text on white 12.94:1 AAA Lc 98.7 Preferred for body text
#232873 text on black 1.62: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

    #F3F5FE

    oklch(97.1% 0.012 276.1)

  2. Step 100

    100

    #E4E9FD

    oklch(93.6% 0.028 274.7)

  3. Step 200

    200

    #CED7FD

    oklch(88.4% 0.053 274.8)

  4. Step 300

    300

    #ADBDFF

    oklch(81% 0.095 273.6)

  5. Step 400

    400

    #8497FE

    oklch(70.7% 0.152 274)

  6. Step 500

    500

    #6879FD

    oklch(63.1% 0.195 273.9)

  7. Step 600

    600

    #535DEC

    oklch(55.6% 0.212 274.1)

  8. Step 700

    700

    #444CCD

    oklch(49.2% 0.196 273.9)

  9. Step 800

    800

    #373FA6

    oklch(42.7% 0.163 273.8)

  10. Step 900

    900 (this color)

    #232873

    oklch(32.4% 0.127 274)

  11. Step 950

    950

    #1B214D

    oklch(27% 0.081 273.9)

Export this scale for Tailwind in the Tailwind colors tool

#232873 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)#0035750.040
Deuteranopia (no green cones)#002E720.032
Tritanopia (no blue cones)#003B490.104
Achromatopsia (no color)#3131310.127

Harmonies

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

Complementary

The opposite hue (180°).

  • #232873

    #232873

    oklch(32.4% 0.127 274)

  • #3F3300

    #3F3300

    oklch(32.5% 0.067 94.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #232873

    #232873

    oklch(32.4% 0.127 274)

  • #003759

    #003759

    oklch(32.4% 0.079 243.7)

  • #431B67

    #431B67

    oklch(32.5% 0.127 304.2)

Open the analogous palette in the generator

Split complementary

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

  • #232873

    #232873

    oklch(32.4% 0.127 274)

  • #4D2A00

    #4D2A00

    oklch(32.3% 0.073 63.8)

  • #2B3A00

    #2B3A00

    oklch(32.3% 0.08 124.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #232873

    #232873

    oklch(32.4% 0.127 274)

  • #621100

    #621100

    oklch(32.4% 0.117 34)

  • #003F1F

    #003F1F

    oklch(32.3% 0.082 153.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #232873

    #232873

    oklch(32.4% 0.127 274)

  • #63032C

    #63032C

    oklch(32.4% 0.127 4.2)

  • #3F3300

    #3F3300

    oklch(32.5% 0.067 94.5)

  • #003D37

    #003D37

    oklch(32.3% 0.057 184.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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