#254E79#254E79

#254E79 is a dark, moderate cyan. Relative luminance 0.072; OKLCH L 41.6% C 0.086 H 251.6°. Best body text is #FFFFFF at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#254E79
RGBrgb(37, 78, 121)
HSLhsl(211, 53%, 31%)
HSVhsv(211, 69%, 47%)
CMYKcmyk(69.4%, 35.5%, 0%, 52.5%)
CIE-LABlab(32.31, 0.74, -28.70)
CIE-LCHlch(32.31, 28.71, 271.47°)
OKLaboklab(41.61% -0.0271 -0.0813)
OKLCHoklch(41.61% 0.086 251.6)
XYZxyz(6.9373, 7.2219, 19.1138)
Luminance0.0722 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254E79 #795025
analogous
#257879 #254E79 #262579
triadic
#254E79 #79254E #4E7925
tetradic
#254E79 #792578 #795025 #257926
square
#254E79 #792578 #795025 #257926
split-complementary
#254E79 #792625 #787925
monochromatic
#08121B #17304A #254E79 #336CA8 #4F8BC9

Accessibility & contrast

On white

8.59
#254E79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#254E79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254E79
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254E79#FFFFFF#000000##FFFFFF
##254E791.008.592.448.59
#FFFFFF8.591.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B507B
Deuteranopia (green-blind)
#2F4878
Tritanopia (blue-blind)
#00585E
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #254e79;
/* rgb */ color: rgb(37, 78, 121);
/* oklch */ color: oklch(41.6% 0.086 251.6);
Tailwind
colors: {
  custom: {
    50: '#6a7fa0',
    500: '#254e79',
    950: '#000000',
  },
}
SCSS
$custom: #254e79;
$custom-light: #6a7fa0;
$custom-dark: #000000;
JSON
{
  "hex": "#254e79",
  "rgb": {
    "r": 37,
    "g": 78,
    "b": 121
  },
  "hsl": {
    "h": 210.714,
    "s": 53.165,
    "l": 30.98
  },
  "oklch": {
    "l": 0.41611,
    "c": 0.08575,
    "h": 251.6
  },
  "luminance": 0.07223
}

Semantic roles & 50–950 ramp

primary
#254E79
secondary
#AB7E4E
accent
#964BDD
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#070A0E
muted
#7A7C7E

Preview Lab

Preview with #254E79

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

Preview Lab → · Contrast checker → · Palette generator →

#254E79 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva