#254A79#254A79

#254A79 is a dark, moderate cyan. Relative luminance 0.067; OKLCH L 40.6% C 0.090 H 255.4°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#254A79
RGBrgb(37, 74, 121)
HSLhsl(214, 53%, 31%)
HSVhsv(214, 69%, 47%)
CMYKcmyk(69.4%, 38.8%, 0%, 52.5%)
CIE-LABlab(31.05, 3.37, -30.69)
CIE-LCHlch(31.05, 30.88, 276.27°)
OKLaboklab(40.63% -0.0227 -0.0872)
OKLCHoklch(40.63% 0.09 255.4)
XYZxyz(6.6617, 6.6707, 19.0219)
Luminance0.0667 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254A79 #795425
analogous
#257479 #254A79 #2A2579
triadic
#254A79 #79254A #4A7925
tetradic
#254A79 #792574 #795425 #25792A
square
#254A79 #792574 #795425 #25792A
split-complementary
#254A79 #792A25 #747925
monochromatic
#08111B #172D4A #254A79 #3367A8 #4F85C9

Accessibility & contrast

On white

9.00
#254A79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#254A79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254A79
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254A79#FFFFFF#000000##FFFFFF
##254A791.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#354D7B
Deuteranopia (green-blind)
#294578
Tritanopia (blue-blind)
#00555B
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #254a79;
/* rgb */ color: rgb(37, 74, 121);
/* oklch */ color: oklch(40.6% 0.090 255.4);
Tailwind
colors: {
  custom: {
    50: '#6a7ca0',
    500: '#254a79',
    950: '#000000',
  },
}
SCSS
$custom: #254a79;
$custom-light: #6a7ca0;
$custom-dark: #000000;
JSON
{
  "hex": "#254a79",
  "rgb": {
    "r": 37,
    "g": 74,
    "b": 121
  },
  "hsl": {
    "h": 213.571,
    "s": 53.165,
    "l": 30.98
  },
  "oklch": {
    "l": 0.40625,
    "c": 0.09015,
    "h": 255.4
  },
  "luminance": 0.06671
}

Semantic roles & 50–950 ramp

primary
#254A79
secondary
#AB824E
accent
#9D4BDD
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#07090E
muted
#7A7B7E

Preview Lab

Preview with #254A79

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

Preview Lab → · Contrast checker → · Palette generator →

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