#255879#255879

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

Color values

HEX#255879
RGBrgb(37, 88, 121)
HSLhsl(204, 53%, 31%)
HSVhsv(204, 69%, 47%)
CMYKcmyk(69.4%, 27.3%, 0%, 52.5%)
CIE-LABlab(35.50, -5.62, -23.68)
CIE-LCHlch(35.50, 24.34, 256.64°)
OKLaboklab(44.13% -0.0383 -0.0667)
OKLCHoklch(44.13% 0.077 240.1)
XYZxyz(7.7025, 8.7524, 19.3689)
Luminance0.0875 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#255879 #794625
analogous
#257970 #255879 #252E79
triadic
#255879 #792558 #587925
tetradic
#255879 #702579 #794625 #2E7925
square
#255879 #702579 #794625 #2E7925
split-complementary
#255879 #79252E #797025
monochromatic
#08141B #17364A #255879 #337AA8 #4F99C9

Accessibility & contrast

On white

7.63
#255879 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #255879
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##255879#FFFFFF#000000##FFFFFF
##2558791.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.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: #255879;
/* rgb */ color: rgb(37, 88, 121);
/* oklch */ color: oklch(44.1% 0.077 240.1);
Tailwind
colors: {
  custom: {
    50: '#6a87a0',
    500: '#255879',
    950: '#000000',
  },
}
SCSS
$custom: #255879;
$custom-light: #6a87a0;
$custom-dark: #000000;
JSON
{
  "hex": "#255879",
  "rgb": {
    "r": 37,
    "g": 88,
    "b": 121
  },
  "hsl": {
    "h": 203.571,
    "s": 53.165,
    "l": 30.98
  },
  "oklch": {
    "l": 0.4413,
    "c": 0.07688,
    "h": 240.1
  },
  "luminance": 0.08753
}

Semantic roles & 50–950 ramp

primary
#255879
secondary
#AB734E
accent
#844BDD
background
#F6F8F9
surface
#ECEFF2
border
#C7CACC
text
#070B0E
muted
#7A7C7E

Preview Lab

Preview with #255879

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

Preview Lab → · Contrast checker → · Palette generator →

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