#245987#245987

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

Color values

HEX#245987
RGBrgb(36, 89, 135)
HSLhsl(208, 58%, 34%)
HSVhsv(208, 73%, 53%)
CMYKcmyk(73.3%, 34.1%, 0%, 47.1%)
CIE-LABlab(36.50, -1.18, -30.72)
CIE-LCHlch(36.50, 30.74, 267.79°)
OKLaboklab(45.14% -0.0354 -0.0871)
OKLCHoklch(45.14% 0.094 247.9)
XYZxyz(8.6715, 9.2681, 24.2489)
Luminance0.0927 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#245987 #875224
analogous
#248783 #245987 #242787
triadic
#245987 #872459 #598724
tetradic
#245987 #832487 #875224 #278724
square
#245987 #832487 #875224 #278724
split-complementary
#245987 #872427 #878324
monochromatic
#0A1926 #173957 #245987 #3179B7 #5497D1

Accessibility & contrast

On white

7.36
#245987 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #245987
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##245987#FFFFFF#000000##FFFFFF
##2459871.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.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: #245987;
/* rgb */ color: rgb(36, 89, 135);
/* oklch */ color: oklch(45.1% 0.094 247.9);
Tailwind
colors: {
  custom: {
    50: '#6c87aa',
    500: '#245987',
    950: '#000000',
  },
}
SCSS
$custom: #245987;
$custom-light: #6c87aa;
$custom-dark: #000000;
JSON
{
  "hex": "#245987",
  "rgb": {
    "r": 36,
    "g": 89,
    "b": 135
  },
  "hsl": {
    "h": 207.879,
    "s": 57.895,
    "l": 33.529
  },
  "oklch": {
    "l": 0.45137,
    "c": 0.09404,
    "h": 247.9
  },
  "luminance": 0.09269
}

Semantic roles & 50–950 ramp

primary
#245987
secondary
#B58051
accent
#8E47E1
background
#F6F8FA
surface
#ECEFF4
border
#C7CACE
text
#080B10
muted
#7A7C7F

Preview Lab

Preview with #245987

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

Preview Lab → · Contrast checker → · Palette generator →

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