#235987#235987

#235987 is a mid, moderate cyan. Relative luminance 0.093; OKLCH L 45.1% C 0.094 H 247.6°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#235987
RGBrgb(35, 89, 135)
HSLhsl(208, 59%, 33%)
HSVhsv(208, 74%, 53%)
CMYKcmyk(74.1%, 34.1%, 0%, 47.1%)
CIE-LABlab(36.46, -1.34, -30.77)
CIE-LCHlch(36.46, 30.80, 267.51°)
OKLaboklab(45.1% -0.0361 -0.0873)
OKLCHoklch(45.1% 0.094 247.6)
XYZxyz(8.6370, 9.2504, 24.2473)
Luminance0.0925 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#235987 #875123
analogous
#238783 #235987 #232787
triadic
#235987 #872359 #598723
tetradic
#235987 #832387 #875123 #278723
square
#235987 #832387 #875123 #278723
split-complementary
#235987 #872327 #878323
monochromatic
#0A1926 #163956 #235987 #3079B8 #5297D2

Accessibility & contrast

On white

7.37
#235987 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#235987 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #235987
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##235987#FFFFFF#000000##FFFFFF
##2359871.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #235987;
/* rgb */ color: rgb(35, 89, 135);
/* oklch */ color: oklch(45.1% 0.094 247.6);
Tailwind
colors: {
  custom: {
    50: '#6c87aa',
    500: '#235987',
    950: '#000000',
  },
}
SCSS
$custom: #235987;
$custom-light: #6c87aa;
$custom-dark: #000000;
JSON
{
  "hex": "#235987",
  "rgb": {
    "r": 35,
    "g": 89,
    "b": 135
  },
  "hsl": {
    "h": 207.6,
    "s": 58.824,
    "l": 33.333
  },
  "oklch": {
    "l": 0.45101,
    "c": 0.09445,
    "h": 247.6
  },
  "luminance": 0.09251
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #235987

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

Preview Lab → · Contrast checker → · Palette generator →

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