#255978#255978

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

Color values

HEX#255978
RGBrgb(37, 89, 120)
HSLhsl(202, 53%, 31%)
HSVhsv(202, 69%, 47%)
CMYKcmyk(69.2%, 25.8%, 0%, 52.9%)
CIE-LABlab(35.78, -6.61, -22.64)
CIE-LCHlch(35.78, 23.58, 253.73°)
OKLaboklab(44.33% -0.0398 -0.0636)
OKLCHoklch(44.33% 0.075 238)
XYZxyz(7.7242, 8.8933, 19.0752)
Luminance0.0889 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#255978 #784425
analogous
#25786D #255978 #252F78
triadic
#255978 #782559 #597825
tetradic
#255978 #6D2578 #784425 #2F7825
square
#255978 #6D2578 #784425 #2F7825
split-complementary
#255978 #78252F #786D25
monochromatic
#08141A #173649 #255978 #337CA7 #4F9BC9

Accessibility & contrast

On white

7.56
#255978 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #255978
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##255978#FFFFFF#000000##FFFFFF
##2559781.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #255978;
/* rgb */ color: rgb(37, 89, 120);
/* oklch */ color: oklch(44.3% 0.075 238.0);
Tailwind
colors: {
  custom: {
    50: '#6a879f',
    500: '#255978',
    950: '#000000',
  },
}
SCSS
$custom: #255978;
$custom-light: #6a879f;
$custom-dark: #000000;
JSON
{
  "hex": "#255978",
  "rgb": {
    "r": 37,
    "g": 89,
    "b": 120
  },
  "hsl": {
    "h": 202.41,
    "s": 52.866,
    "l": 30.784
  },
  "oklch": {
    "l": 0.44332,
    "c": 0.07505,
    "h": 238
  },
  "luminance": 0.08894
}

Semantic roles & 50–950 ramp

primary
#255978
secondary
#AA714E
accent
#824CDC
background
#F6F8F9
surface
#ECEFF2
border
#C7CACC
text
#070B0E
muted
#7A7C7E

Preview Lab

Preview with #255978

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

Preview Lab → · Contrast checker → · Palette generator →

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