#234878

Closest named color: Twilight Blue (#0A437A). oklch(40% 0.092 255.9), rgb(35, 72, 120).

Aa

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

About this color

#234878 is a dark, moderately saturated blue. In OKLCH its lightness is 40%, its chroma 0.092 and its hue 256°. Its hue sits on the cool side of the wheel. The nearest named color is Twilight Blue (#0A437A), ΔE 0.026 away. White text reads best on it, at 9.25:1.

Hue familyBlues
Lightnessdark (40%)
Chromamoderately saturated (0.092)
Temperaturecool
Nearest nameTwilight Blue (#0A437A)
Black text2.26:1
White text9.25:1

Values

HEX#234878
RGBrgb(35, 72, 120)
HSLhsl(214, 55%, 30%)
OKLCHoklch(40% 0.092 255.9)

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 #234878 9.25:1 AAA Lc -95.5 Preferred for body text
Black text on #234878 2.26:1 Fails Lc 12.9 Not readable
#234878 text on white 9.25:1 AAA Lc 91.1 Preferred for body text
#234878 text on black 2.26:1 Fails Lc -11.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

    #F1F6FC

    oklch(97.1% 0.01 252.8)

  2. Step 100

    100

    #E1EBF7

    oklch(93.6% 0.019 252.9)

  3. Step 200

    200

    #C9DBF3

    oklch(88.5% 0.038 255.6)

  4. Step 300

    300

    #A4C3ED

    oklch(80.9% 0.069 256.1)

  5. Step 400

    400

    #72A3E4

    oklch(70.7% 0.109 255.8)

  6. Step 500

    500

    #4B8ADD

    oklch(63% 0.142 256.1)

  7. Step 600

    600

    #2C72CA

    oklch(55.5% 0.153 256)

  8. Step 700

    700

    #1E60AF

    oklch(49.2% 0.142 255.6)

  9. Step 800

    800

    #1B4E8E

    oklch(42.6% 0.119 256)

  10. Step 900

    900 (this color)

    #234878

    oklch(40% 0.092 255.9)

  11. Step 950

    950

    #122742

    oklch(27.1% 0.057 255.5)

Export this scale for Tailwind in the Tailwind colors tool

#234878 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)#324C7A0.022
Deuteranopia (no green cones)#2644770.012
Tritanopia (no blue cones)#00535A0.073
Achromatopsia (no color)#4747470.092

Harmonies

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

Complementary

The opposite hue (180°).

  • #234878

    #234878

    oklch(40% 0.092 255.9)

  • #614000

    #614000

    oklch(39.9% 0.084 75.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #234878

    #234878

    oklch(40% 0.092 255.9)

  • #004F67

    #004F67

    oklch(39.9% 0.077 226.7)

  • #443F76

    #443F76

    oklch(40% 0.091 285.7)

Open the analogous palette in the generator

Split complementary

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

  • #234878

    #234878

    oklch(40% 0.092 255.9)

  • #6F3517

    #6F3517

    oklch(40% 0.092 45.7)

  • #4E4A00

    #4E4A00

    oklch(40% 0.085 106.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #234878

    #234878

    oklch(40% 0.092 255.9)

  • #713037

    #713037

    oklch(40.1% 0.092 15.6)

  • #2F521C

    #2F521C

    oklch(39.9% 0.091 136.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #234878

    #234878

    oklch(40% 0.092 255.9)

  • #6A3152

    #6A3152

    oklch(40.1% 0.092 346.3)

  • #614000

    #614000

    oklch(39.9% 0.084 75.9)

  • #00553D

    #00553D

    oklch(39.9% 0.083 166.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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