#245879#245879

#245879 is a dark, moderate cyan. Relative luminance 0.087; OKLCH L 44.1% C 0.077 H 239.8°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#245879
RGBrgb(36, 88, 121)
HSLhsl(203, 54%, 31%)
HSVhsv(203, 70%, 47%)
CMYKcmyk(70.2%, 27.3%, 0%, 52.5%)
CIE-LABlab(35.47, -5.80, -23.74)
CIE-LCHlch(35.47, 24.44, 256.27°)
OKLaboklab(44.09% -0.039 -0.0669)
OKLCHoklch(44.09% 0.077 239.8)
XYZxyz(7.6671, 8.7342, 19.3672)
Luminance0.0873 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#245879 #794524
analogous
#24796F #245879 #242D79
triadic
#245879 #792458 #587924
tetradic
#245879 #6F2479 #794524 #2D7924
square
#245879 #6F2479 #794524 #2D7924
split-complementary
#245879 #79242D #796F24
monochromatic
#08131B #16364A #245879 #327AA8 #4D9ACA

Accessibility & contrast

On white

7.64
#245879 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#245879 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #245879
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##245879#FFFFFF#000000##FFFFFF
##2458791.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#49587B
Deuteranopia (green-blind)
#3D5078
Tritanopia (blue-blind)
#006063
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #245879;
/* rgb */ color: rgb(36, 88, 121);
/* oklch */ color: oklch(44.1% 0.077 239.8);
Tailwind
colors: {
  custom: {
    50: '#6987a0',
    500: '#245879',
    950: '#000000',
  },
}
SCSS
$custom: #245879;
$custom-light: #6987a0;
$custom-dark: #000000;
JSON
{
  "hex": "#245879",
  "rgb": {
    "r": 36,
    "g": 88,
    "b": 121
  },
  "hsl": {
    "h": 203.294,
    "s": 54.14,
    "l": 30.784
  },
  "oklch": {
    "l": 0.44092,
    "c": 0.07738,
    "h": 239.8
  },
  "luminance": 0.08735
}

Semantic roles & 50–950 ramp

primary
#245879
secondary
#AC724D
accent
#834ADE
background
#F6F8F9
surface
#EBEFF2
border
#C6CACC
text
#070B0E
muted
#7A7C7E

Preview Lab

Preview with #245879

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

Preview Lab → · Contrast checker → · Palette generator →

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