#255987#255987

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

Color values

HEX#255987
RGBrgb(37, 89, 135)
HSLhsl(208, 57%, 34%)
HSVhsv(208, 73%, 53%)
CMYKcmyk(72.6%, 34.1%, 0%, 47.1%)
CIE-LABlab(36.53, -1.03, -30.66)
CIE-LCHlch(36.53, 30.68, 268.08°)
OKLaboklab(45.17% -0.0347 -0.0869)
OKLCHoklch(45.17% 0.094 248.2)
XYZxyz(8.7069, 9.2864, 24.2506)
Luminance0.0929 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#255987 #875325
analogous
#258784 #255987 #252887
triadic
#255987 #872559 #598725
tetradic
#255987 #842587 #875325 #288725
square
#255987 #842587 #875325 #288725
split-complementary
#255987 #872528 #878425
monochromatic
#0B1A27 #183957 #255987 #3279B7 #5697D1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##255987#FFFFFF#000000##FFFFFF
##2559871.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)
#445B89
Deuteranopia (green-blind)
#365286
Tritanopia (blue-blind)
#00646A
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #255987;
/* rgb */ color: rgb(37, 89, 135);
/* oklch */ color: oklch(45.2% 0.094 248.2);
Tailwind
colors: {
  custom: {
    50: '#6c87aa',
    500: '#255987',
    950: '#000000',
  },
}
SCSS
$custom: #255987;
$custom-light: #6c87aa;
$custom-dark: #000000;
JSON
{
  "hex": "#255987",
  "rgb": {
    "r": 37,
    "g": 89,
    "b": 135
  },
  "hsl": {
    "h": 208.163,
    "s": 56.977,
    "l": 33.725
  },
  "oklch": {
    "l": 0.45173,
    "c": 0.09362,
    "h": 248.2
  },
  "luminance": 0.09287
}

Semantic roles & 50–950 ramp

primary
#255987
secondary
#B58153
accent
#8F48E0
background
#F6F8FA
surface
#ECEFF4
border
#C7CACE
text
#080B10
muted
#7A7C7F

Preview Lab

Preview with #255987

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

Preview Lab → · Contrast checker → · Palette generator →

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