#235B9D#235B9D

#235B9D is a mid, vivid cyan. Relative luminance 0.103; OKLCH L 47.0% C 0.122 H 254.7°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#235B9D
RGBrgb(35, 91, 157)
HSLhsl(212, 64%, 38%)
HSVhsv(212, 78%, 62%)
CMYKcmyk(77.7%, 42%, 0%, 38.4%)
CIE-LABlab(38.33, 5.88, -41.11)
CIE-LCHlch(38.33, 41.53, 278.14°)
OKLaboklab(46.97% -0.0321 -0.1175)
OKLCHoklch(46.97% 0.122 254.7)
XYZxyz(10.5178, 10.2726, 33.3202)
Luminance0.1027 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#235B9D #9D6523
analogous
#23989D #235B9D #28239D
triadic
#235B9D #9D235B #5B9D23
tetradic
#235B9D #9D2398 #9D6523 #239D28
square
#235B9D #9D2398 #9D6523 #239D28
split-complementary
#235B9D #9D2823 #989D23
monochromatic
#0D2139 #183E6B #235B9D #2E78CF #5F98DB

Accessibility & contrast

On white

6.87
#235B9D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#235B9D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #235B9D
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##235B9D#FFFFFF#000000##FFFFFF
##235B9D1.006.873.056.87
#FFFFFF6.871.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B60A0
Deuteranopia (green-blind)
#26559C
Tritanopia (blue-blind)
#006B74
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #235b9d;
/* rgb */ color: rgb(35, 91, 157);
/* oklch */ color: oklch(47.0% 0.122 254.7);
Tailwind
colors: {
  custom: {
    50: '#7088ba',
    500: '#235b9d',
    950: '#000000',
  },
}
SCSS
$custom: #235b9d;
$custom-light: #7088ba;
$custom-dark: #000000;
JSON
{
  "hex": "#235b9d",
  "rgb": {
    "r": 35,
    "g": 91,
    "b": 157
  },
  "hsl": {
    "h": 212.459,
    "s": 63.542,
    "l": 37.647
  },
  "oklch": {
    "l": 0.46967,
    "c": 0.12184,
    "h": 254.7
  },
  "luminance": 0.10274
}

Semantic roles & 50–950 ramp

primary
#235B9D
secondary
#C0925C
accent
#9B41E7
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #235B9D

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

Preview Lab → · Contrast checker → · Palette generator →

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