#245887#245887

#245887 is a dark, moderate cyan. Relative luminance 0.091; OKLCH L 44.9% C 0.095 H 248.8°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#245887
RGBrgb(36, 88, 135)
HSLhsl(208, 58%, 34%)
HSVhsv(208, 73%, 53%)
CMYKcmyk(73.3%, 34.8%, 0%, 47.1%)
CIE-LABlab(36.18, -0.55, -31.22)
CIE-LCHlch(36.18, 31.22, 268.99°)
OKLaboklab(44.89% -0.0344 -0.0886)
OKLCHoklch(44.89% 0.095 248.8)
XYZxyz(8.5888, 9.1028, 24.2213)
Luminance0.0910 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#245887 #875324
analogous
#248784 #245887 #242687
triadic
#245887 #872458 #588724
tetradic
#245887 #842487 #875324 #268724
square
#245887 #842487 #875324 #268724
split-complementary
#245887 #872426 #878424
monochromatic
#0A1926 #173957 #245887 #3177B7 #5496D1

Accessibility & contrast

On white

7.44
#245887 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#245887 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #245887
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##245887#FFFFFF#000000##FFFFFF
##2458871.007.442.827.44
#FFFFFF7.441.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#435A89
Deuteranopia (green-blind)
#355186
Tritanopia (blue-blind)
#006369
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #245887;
/* rgb */ color: rgb(36, 88, 135);
/* oklch */ color: oklch(44.9% 0.095 248.8);
Tailwind
colors: {
  custom: {
    50: '#6c86aa',
    500: '#245887',
    950: '#000000',
  },
}
SCSS
$custom: #245887;
$custom-light: #6c86aa;
$custom-dark: #000000;
JSON
{
  "hex": "#245887",
  "rgb": {
    "r": 36,
    "g": 88,
    "b": 135
  },
  "hsl": {
    "h": 208.485,
    "s": 57.895,
    "l": 33.529
  },
  "oklch": {
    "l": 0.4489,
    "c": 0.09501,
    "h": 248.8
  },
  "luminance": 0.09104
}

Semantic roles & 50–950 ramp

primary
#245887
secondary
#B58151
accent
#9047E1
background
#F6F8FA
surface
#ECEFF4
border
#C7CACE
text
#080B10
muted
#7A7C7F

Preview Lab

Preview with #245887

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

Preview Lab → · Contrast checker → · Palette generator →

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