#245979#245979

#245979 is a dark, moderate cyan. Relative luminance 0.089; OKLCH L 44.3% C 0.077 H 238.5°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#245979
RGBrgb(36, 89, 121)
HSLhsl(203, 54%, 31%)
HSVhsv(203, 70%, 47%)
CMYKcmyk(70.2%, 26.4%, 0%, 52.5%)
CIE-LABlab(35.79, -6.42, -23.24)
CIE-LCHlch(35.79, 24.11, 254.56°)
OKLaboklab(44.35% -0.0401 -0.0654)
OKLCHoklch(44.35% 0.077 238.5)
XYZxyz(7.7498, 8.8995, 19.3948)
Luminance0.0890 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#245979 #794424
analogous
#24796E #245979 #242E79
triadic
#245979 #792459 #597924
tetradic
#245979 #6E2479 #794424 #2E7924
square
#245979 #6E2479 #794424 #2E7924
split-complementary
#245979 #79242E #796E24
monochromatic
#08141B #16364A #245979 #327CA8 #4D9BCA

Accessibility & contrast

On white

7.55
#245979 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#245979 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #245979
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##245979#FFFFFF#000000##FFFFFF
##2459791.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A597A
Deuteranopia (green-blind)
#3E5078
Tritanopia (blue-blind)
#006164
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #245979;
/* rgb */ color: rgb(36, 89, 121);
/* oklch */ color: oklch(44.3% 0.077 238.5);
Tailwind
colors: {
  custom: {
    50: '#6987a0',
    500: '#245979',
    950: '#000000',
  },
}
SCSS
$custom: #245979;
$custom-light: #6987a0;
$custom-dark: #000000;
JSON
{
  "hex": "#245979",
  "rgb": {
    "r": 36,
    "g": 89,
    "b": 121
  },
  "hsl": {
    "h": 202.588,
    "s": 54.14,
    "l": 30.784
  },
  "oklch": {
    "l": 0.44348,
    "c": 0.0767,
    "h": 238.5
  },
  "luminance": 0.089
}

Semantic roles & 50–950 ramp

primary
#245979
secondary
#AC714D
accent
#824ADE
background
#F6F8F9
surface
#EBEFF2
border
#C6CACC
text
#070B0E
muted
#7A7C7E

Preview Lab

Preview with #245979

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

Preview Lab → · Contrast checker → · Palette generator →

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