#232754

Closest named color: Marine (#042E60). oklch(29.5% 0.081 276.5), rgb(35, 39, 84).

Aa

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

About this color

#232754 is a dark, moderately saturated blue. In OKLCH its lightness is 30%, its chroma 0.081 and its hue 276°. Its hue sits on the cool side of the wheel. The nearest named color is Marine (#042E60), ΔE 0.038 away. White text reads best on it, at 14.09:1.

Hue familyBlues
Lightnessdark (30%)
Chromamoderately saturated (0.081)
Temperaturecool
Nearest nameMarine (#042E60)
Black text1.48:1
White text14.09:1

Values

HEX#232754
RGBrgb(35, 39, 84)
HSLhsl(235, 41%, 23%)
OKLCHoklch(29.5% 0.081 276.5)

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 #232754 14.09:1 AAA Lc -103.6 Preferred for body text
Black text on #232754 1.48:1 Fails Lc 0.0 Not readable
#232754 text on white 14.09:1 AAA Lc 100.6 Preferred for body text
#232754 text on black 1.48: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

    #F3F5FE

    oklch(97.1% 0.012 276.1)

  2. Step 100

    100

    #E5E9FD

    oklch(93.7% 0.027 276.8)

  3. Step 200

    200

    #CFD7FD

    oklch(88.5% 0.053 275.9)

  4. Step 300

    300

    #B0BCFE

    oklch(81% 0.094 276.1)

  5. Step 400

    400

    #8995FE

    oklch(70.6% 0.153 276.8)

  6. Step 500

    500

    #6E77FC

    oklch(63.1% 0.195 276.4)

  7. Step 600

    600

    #595BEB

    oklch(55.5% 0.212 276.4)

  8. Step 700

    700

    #4A4ACD

    oklch(49.2% 0.197 276.4)

  9. Step 800

    800

    #3C3DA5

    oklch(42.6% 0.163 276.5)

  10. Step 900

    900

    #333683

    oklch(37.7% 0.127 276.8)

  11. Step 950

    950 (this color)

    #232754

    oklch(29.5% 0.081 276.5)

Export this scale for Tailwind in the Tailwind colors tool

#232754 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)#112D560.026
Deuteranopia (no green cones)#0B29530.029
Tritanopia (no blue cones)#0C31390.071
Achromatopsia (no color)#2B2B2B0.081

Harmonies

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

Complementary

The opposite hue (180°).

  • #232754

    #232754

    oklch(29.5% 0.081 276.5)

  • #362C00

    #362C00

    oklch(29.5% 0.061 95.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #232754

    #232754

    oklch(29.5% 0.081 276.5)

  • #002F50

    #002F50

    oklch(29.6% 0.076 246)

  • #37204C

    #37204C

    oklch(29.6% 0.081 306.2)

Open the analogous palette in the generator

Split complementary

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

  • #232754

    #232754

    oklch(29.5% 0.081 276.5)

  • #422500

    #422500

    oklch(29.6% 0.065 66.8)

  • #233300

    #233300

    oklch(29.6% 0.076 126.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #232754

    #232754

    oklch(29.5% 0.081 276.5)

  • #4D1A0C

    #4D1A0C

    oklch(29.5% 0.081 36.1)

  • #00371D

    #00371D

    oklch(29.6% 0.072 156.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #232754

    #232754

    oklch(29.5% 0.081 276.5)

  • #4C1826

    #4C1826

    oklch(29.6% 0.08 6.8)

  • #362C00

    #362C00

    oklch(29.5% 0.061 95.5)

  • #003531

    #003531

    oklch(29.6% 0.052 186.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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