#235B9B#235B9B

#235B9B is a mid, moderate cyan. Relative luminance 0.102; OKLCH L 46.8% C 0.119 H 254.1°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#235B9B
RGBrgb(35, 91, 155)
HSLhsl(212, 63%, 37%)
HSVhsv(212, 77%, 61%)
CMYKcmyk(77.4%, 41.3%, 0%, 39.2%)
CIE-LABlab(38.21, 5.10, -40.10)
CIE-LCHlch(38.21, 40.42, 277.25°)
OKLaboklab(46.84% -0.0326 -0.1146)
OKLCHoklch(46.84% 0.119 254.1)
XYZxyz(10.3484, 10.2049, 32.4283)
Luminance0.1021 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#235B9B #9B6323
analogous
#23979B #235B9B #27239B
triadic
#235B9B #9B235B #5B9B23
tetradic
#235B9B #9B2397 #9B6323 #239B27
square
#235B9B #9B2397 #9B6323 #239B27
split-complementary
#235B9B #9B2723 #979B23
monochromatic
#0C2037 #183E69 #235B9B #2E78CD #5E98DB

Accessibility & contrast

On white

6.91
#235B9B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#235B9B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #235B9B
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##235B9B#FFFFFF#000000##FFFFFF
##235B9B1.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C609E
Deuteranopia (green-blind)
#28559A
Tritanopia (blue-blind)
#006A73
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #235b9b;
/* rgb */ color: rgb(35, 91, 155);
/* oklch */ color: oklch(46.8% 0.119 254.1);
Tailwind
colors: {
  custom: {
    50: '#7088b9',
    500: '#235b9b',
    950: '#000000',
  },
}
SCSS
$custom: #235b9b;
$custom-light: #7088b9;
$custom-dark: #000000;
JSON
{
  "hex": "#235b9b",
  "rgb": {
    "r": 35,
    "g": 91,
    "b": 155
  },
  "hsl": {
    "h": 212,
    "s": 63.158,
    "l": 37.255
  },
  "oklch": {
    "l": 0.46835,
    "c": 0.11912,
    "h": 254.1
  },
  "luminance": 0.10206
}

Semantic roles & 50–950 ramp

primary
#235B9B
secondary
#BF905A
accent
#9942E6
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #235B9B

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

Preview Lab → · Contrast checker → · Palette generator →

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