#235C9D#235C9D

#235C9D is a mid, vivid cyan. Relative luminance 0.104; OKLCH L 47.2% C 0.121 H 254.1°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#235C9D
RGBrgb(35, 92, 157)
HSLhsl(212, 64%, 38%)
HSVhsv(212, 78%, 62%)
CMYKcmyk(77.7%, 41.4%, 0%, 38.4%)
CIE-LABlab(38.63, 5.23, -40.63)
CIE-LCHlch(38.63, 40.96, 277.34°)
OKLaboklab(47.2% -0.033 -0.1161)
OKLCHoklch(47.2% 0.121 254.1)
XYZxyz(10.6038, 10.4447, 33.3489)
Luminance0.1045 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#235C9D #9D6423
analogous
#23999D #235C9D #27239D
triadic
#235C9D #9D235C #5C9D23
tetradic
#235C9D #9D2399 #9D6423 #239D27
square
#235C9D #9D2399 #9D6423 #239D27
split-complementary
#235C9D #9D2723 #999D23
monochromatic
#0D2139 #183F6B #235C9D #2E79CF #5F99DB

Accessibility & contrast

On white

6.80
#235C9D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#235C9D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #235C9D
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##235C9D#FFFFFF#000000##FFFFFF
##235C9D1.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D61A0
Deuteranopia (green-blind)
#28569C
Tritanopia (blue-blind)
#006B75
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #235c9d;
/* rgb */ color: rgb(35, 92, 157);
/* oklch */ color: oklch(47.2% 0.121 254.1);
Tailwind
colors: {
  custom: {
    50: '#7089ba',
    500: '#235c9d',
    950: '#000000',
  },
}
SCSS
$custom: #235c9d;
$custom-light: #7089ba;
$custom-dark: #000000;
JSON
{
  "hex": "#235c9d",
  "rgb": {
    "r": 35,
    "g": 92,
    "b": 157
  },
  "hsl": {
    "h": 211.967,
    "s": 63.542,
    "l": 37.647
  },
  "oklch": {
    "l": 0.47202,
    "c": 0.12071,
    "h": 254.1
  },
  "luminance": 0.10446
}

Semantic roles & 50–950 ramp

primary
#235C9D
secondary
#C0915C
accent
#9941E7
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #235C9D

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#235C9D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva