#254F79#254F79

#254F79 is a dark, moderate cyan. Relative luminance 0.074; OKLCH L 41.9% C 0.085 H 250.5°. Best body text is #FFFFFF at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#254F79
RGBrgb(37, 79, 121)
HSLhsl(210, 53%, 31%)
HSVhsv(210, 69%, 47%)
CMYKcmyk(69.4%, 34.7%, 0%, 52.5%)
CIE-LABlab(32.62, 0.09, -28.20)
CIE-LCHlch(32.62, 28.20, 270.17°)
OKLaboklab(41.86% -0.0282 -0.0799)
OKLCHoklch(41.86% 0.085 250.5)
XYZxyz(7.0088, 7.3650, 19.1377)
Luminance0.0737 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254F79 #794F25
analogous
#257979 #254F79 #252579
triadic
#254F79 #79254F #4F7925
tetradic
#254F79 #792579 #794F25 #257925
square
#254F79 #792579 #794F25 #257925
split-complementary
#254F79 #792525 #797925
monochromatic
#08121B #17304A #254F79 #336EA8 #4F8CC9

Accessibility & contrast

On white

8.49
#254F79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#254F79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254F79
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254F79#FFFFFF#000000##FFFFFF
##254F791.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D517B
Deuteranopia (green-blind)
#314978
Tritanopia (blue-blind)
#00595E
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #254f79;
/* rgb */ color: rgb(37, 79, 121);
/* oklch */ color: oklch(41.9% 0.085 250.5);
Tailwind
colors: {
  custom: {
    50: '#6a80a0',
    500: '#254f79',
    950: '#000000',
  },
}
SCSS
$custom: #254f79;
$custom-light: #6a80a0;
$custom-dark: #000000;
JSON
{
  "hex": "#254f79",
  "rgb": {
    "r": 37,
    "g": 79,
    "b": 121
  },
  "hsl": {
    "h": 210,
    "s": 53.165,
    "l": 30.98
  },
  "oklch": {
    "l": 0.4186,
    "c": 0.08472,
    "h": 250.5
  },
  "luminance": 0.07366
}

Semantic roles & 50–950 ramp

primary
#254F79
secondary
#AB7D4E
accent
#944BDD
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#070A0E
muted
#7A7C7E

Preview Lab

Preview with #254F79

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

Preview Lab → · Contrast checker → · Palette generator →

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