#234172

Closest named color: Twilight Blue (#0A437A). oklch(37.9% 0.091 259.7), rgb(35, 65, 114).

Aa

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

About this color

#234172 is a dark, moderately saturated blue. In OKLCH its lightness is 38%, its chroma 0.091 and its hue 260°. Its hue sits on the cool side of the wheel. The nearest named color is Twilight Blue (#0A437A), ΔE 0.021 away. White text reads best on it, at 10.14:1.

Hue familyBlues
Lightnessdark (38%)
Chromamoderately saturated (0.091)
Temperaturecool
Nearest nameTwilight Blue (#0A437A)
Black text2.07:1
White text10.14:1

Values

HEX#234172
RGBrgb(35, 65, 114)
HSLhsl(217, 53%, 29%)
OKLCHoklch(37.9% 0.091 259.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 #234172 10.14:1 AAA Lc -97.4 Preferred for body text
Black text on #234172 2.07:1 Fails Lc 10.6 Not readable
#234172 text on white 10.14:1 AAA Lc 93.3 Preferred for body text
#234172 text on black 2.07:1 Fails Lc -9.2 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

    #F2F6FC

    oklch(97.2% 0.009 258.3)

  2. Step 100

    100

    #E2EAF8

    oklch(93.5% 0.021 261.8)

  3. Step 200

    200

    #CBDAF3

    oklch(88.5% 0.038 260.7)

  4. Step 300

    300

    #A7C2EE

    oklch(80.9% 0.069 260.1)

  5. Step 400

    400

    #77A1E5

    oklch(70.6% 0.11 259.7)

  6. Step 500

    500

    #5488DD

    oklch(63% 0.14 259.8)

  7. Step 600

    600

    #3970CB

    oklch(55.5% 0.153 259.9)

  8. Step 700

    700

    #2B5EB0

    oklch(49.2% 0.142 259.6)

  9. Step 800

    800

    #254D8E

    oklch(42.8% 0.117 259.7)

  10. Step 900

    900 (this color)

    #234172

    oklch(37.9% 0.091 259.7)

  11. Step 950

    950

    #152642

    oklch(27% 0.057 259.9)

Export this scale for Tailwind in the Tailwind colors tool

#234172 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)#2B45740.016
Deuteranopia (no green cones)#1E3E710.011
Tritanopia (no blue cones)#004C540.074
Achromatopsia (no color)#4141410.092

Harmonies

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

Complementary

The opposite hue (180°).

  • #234172

    #234172

    oklch(37.9% 0.091 259.7)

  • #583C00

    #583C00

    oklch(37.8% 0.079 79.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #234172

    #234172

    oklch(37.9% 0.091 259.7)

  • #004962

    #004962

    oklch(37.9% 0.075 229.5)

  • #42386F

    #42386F

    oklch(37.9% 0.092 289.7)

Open the analogous palette in the generator

Split complementary

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

  • #234172

    #234172

    oklch(37.9% 0.091 259.7)

  • #67310B

    #67310B

    oklch(37.9% 0.091 50.4)

  • #454500

    #454500

    oklch(37.8% 0.082 109.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #234172

    #234172

    oklch(37.9% 0.091 259.7)

  • #6A2B2D

    #6A2B2D

    oklch(37.9% 0.09 20.5)

  • #254D1B

    #254D1B

    oklch(37.8% 0.09 139.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #234172

    #234172

    oklch(37.9% 0.091 259.7)

  • #652B49

    #652B49

    oklch(38% 0.092 350.1)

  • #583C00

    #583C00

    oklch(37.8% 0.079 79.1)

  • #004F3C

    #004F3C

    oklch(38% 0.075 169.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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