#235F78

Closest named color: Petrol (#005F6A). oklch(45.8% 0.073 229.1), rgb(35, 95, 120).

Aa

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

About this color

#235F78 is a medium-dark, moderately saturated teal or cyan. In OKLCH its lightness is 46%, its chroma 0.073 and its hue 229°. Its hue sits on the cool side of the wheel. The nearest named color is Petrol (#005F6A), ΔE 0.030 away. White text reads best on it, at 7.04:1.

Hue familyTeals and cyans
Lightnessmedium-dark (46%)
Chromamoderately saturated (0.073)
Temperaturecool
Nearest namePetrol (#005F6A)
Black text2.97:1
White text7.04:1

Values

HEX#235F78
RGBrgb(35, 95, 120)
HSLhsl(198, 55%, 30%)
OKLCHoklch(45.8% 0.073 229.1)

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 #235F78 7.04:1 AAA Lc -89.1 Fine for body text
Black text on #235F78 2.97:1 Fails Lc 19.8 Dividers and decoration only
#235F78 text on white 7.04:1 AAA Lc 84.2 Fine for body text
#235F78 text on black 2.97:1 Fails Lc -17.8 Dividers and decoration only

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 800.

  1. Step 50

    50

    #F2F6F8

    oklch(97.1% 0.005 228.8)

  2. Step 100

    100

    #E2ECF1

    oklch(93.7% 0.013 228.9)

  3. Step 200

    200

    #CADDE6

    oklch(88.6% 0.024 227.8)

  4. Step 300

    300

    #A5C7D7

    oklch(81% 0.043 228)

  5. Step 400

    400

    #73A9C3

    oklch(70.7% 0.068 229.7)

  6. Step 500

    500

    #4A94B4

    oklch(63.2% 0.088 228.7)

  7. Step 600

    600

    #287DA0

    oklch(55.5% 0.095 229.9)

  8. Step 700

    700

    #196A89

    oklch(49.2% 0.088 229.2)

  9. Step 800

    800 (this color)

    #235F78

    oklch(45.8% 0.073 229.1)

  10. Step 900

    900

    #1C475A

    oklch(37.7% 0.057 230)

  11. Step 950

    950

    #122A35

    oklch(27.1% 0.036 229.8)

Export this scale for Tailwind in the Tailwind colors tool

#235F78 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)#525D790.052
Deuteranopia (no green cones)#4655780.045
Tritanopia (no blue cones)#0066670.044
Achromatopsia (no color)#5959590.073

Harmonies

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

Complementary

The opposite hue (180°).

  • #235F78

    #235F78

    oklch(45.8% 0.073 229.1)

  • #784B31

    #784B31

    oklch(45.8% 0.073 50.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #235F78

    #235F78

    oklch(45.8% 0.073 229.1)

  • #116467

    #116467

    oklch(45.9% 0.073 198.7)

  • #3E5880

    #3E5880

    oklch(45.8% 0.073 258.8)

Open the analogous palette in the generator

Split complementary

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

  • #235F78

    #235F78

    oklch(45.8% 0.073 229.1)

  • #7B4647

    #7B4647

    oklch(45.8% 0.073 19.1)

  • #6D5223

    #6D5223

    oklch(45.7% 0.073 79)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #235F78

    #235F78

    oklch(45.8% 0.073 229.1)

  • #76465E

    #76465E

    oklch(45.8% 0.073 349)

  • #5B5B27

    #5B5B27

    oklch(45.9% 0.073 109)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #235F78

    #235F78

    oklch(45.8% 0.073 229.1)

  • #694A71

    #694A71

    oklch(45.8% 0.072 319.3)

  • #784B31

    #784B31

    oklch(45.8% 0.073 50.2)

  • #426139

    #426139

    oklch(45.7% 0.072 138.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #235F78 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.