#235988#235988

#235988 is a mid, moderate cyan. Relative luminance 0.093; OKLCH L 45.2% C 0.096 H 248.1°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#235988
RGBrgb(35, 89, 136)
HSLhsl(208, 59%, 34%)
HSVhsv(208, 74%, 53%)
CMYKcmyk(74.3%, 34.6%, 0%, 46.7%)
CIE-LABlab(36.52, -0.96, -31.30)
CIE-LCHlch(36.52, 31.31, 268.25°)
OKLaboklab(45.16% -0.0357 -0.0888)
OKLCHoklch(45.16% 0.096 248.1)
XYZxyz(8.7078, 9.2787, 24.6198)
Luminance0.0928 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#235988 #885223
analogous
#238884 #235988 #232688
triadic
#235988 #882359 #598823
tetradic
#235988 #842388 #885223 #268823
square
#235988 #842388 #885223 #268823
split-complementary
#235988 #882326 #888423
monochromatic
#0A1927 #163957 #235988 #3079B9 #5397D3

Accessibility & contrast

On white

7.35
#235988 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#235988 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #235988
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##235988#FFFFFF#000000##FFFFFF
##2359881.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#445B8A
Deuteranopia (green-blind)
#355287
Tritanopia (blue-blind)
#00646A
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #235988;
/* rgb */ color: rgb(35, 89, 136);
/* oklch */ color: oklch(45.2% 0.096 248.1);
Tailwind
colors: {
  custom: {
    50: '#6c87ab',
    500: '#235988',
    950: '#000000',
  },
}
SCSS
$custom: #235988;
$custom-light: #6c87ab;
$custom-dark: #000000;
JSON
{
  "hex": "#235988",
  "rgb": {
    "r": 35,
    "g": 89,
    "b": 136
  },
  "hsl": {
    "h": 207.921,
    "s": 59.064,
    "l": 33.529
  },
  "oklch": {
    "l": 0.4516,
    "c": 0.09575,
    "h": 248.1
  },
  "luminance": 0.0928
}

Semantic roles & 50–950 ramp

primary
#235988
secondary
#B78050
accent
#8E46E2
background
#F6F8FA
surface
#ECEFF4
border
#C7CACE
text
#080B10
muted
#7A7C7F

Preview Lab

Preview with #235988

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

Preview Lab → · Contrast checker → · Palette generator →

#235988 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva