#245877#245877

#245877 is a dark, moderate cyan. Relative luminance 0.087; OKLCH L 44.0% C 0.075 H 238.1°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#245877
RGBrgb(36, 88, 119)
HSLhsl(202, 54%, 30%)
HSVhsv(202, 70%, 47%)
CMYKcmyk(69.7%, 26.1%, 0%, 53.3%)
CIE-LABlab(35.37, -6.54, -22.65)
CIE-LCHlch(35.37, 23.58, 253.91°)
OKLaboklab(43.98% -0.0397 -0.0637)
OKLCHoklch(43.98% 0.075 238.1)
XYZxyz(7.5458, 8.6856, 18.7280)
Luminance0.0869 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#245877 #774324
analogous
#24776C #245877 #242E77
triadic
#245877 #772458 #587724
tetradic
#245877 #6C2477 #774324 #2E7724
square
#245877 #6C2477 #774324 #2E7724
split-complementary
#245877 #77242E #776C24
monochromatic
#081319 #163548 #245877 #327BA6 #4C9AC9

Accessibility & contrast

On white

7.67
#245877 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#245877 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #245877
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##245877#FFFFFF#000000##FFFFFF
##2458771.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A5878
Deuteranopia (green-blind)
#3E5076
Tritanopia (blue-blind)
#006063
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #245877;
/* rgb */ color: rgb(36, 88, 119);
/* oklch */ color: oklch(44.0% 0.075 238.1);
Tailwind
colors: {
  custom: {
    50: '#69879e',
    500: '#245877',
    950: '#000000',
  },
}
SCSS
$custom: #245877;
$custom-light: #69879e;
$custom-dark: #000000;
JSON
{
  "hex": "#245877",
  "rgb": {
    "r": 36,
    "g": 88,
    "b": 119
  },
  "hsl": {
    "h": 202.41,
    "s": 53.548,
    "l": 30.392
  },
  "oklch": {
    "l": 0.43984,
    "c": 0.07507,
    "h": 238.1
  },
  "luminance": 0.08686
}

Semantic roles & 50–950 ramp

primary
#245877
secondary
#AA704D
accent
#814BDD
background
#F6F8F9
surface
#EBEFF2
border
#C6CACC
text
#070B0E
muted
#7A7C7E

Preview Lab

Preview with #245877

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

Preview Lab → · Contrast checker → · Palette generator →

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