#254C81#254C81

#254C81 is a dark, moderate cyan. Relative luminance 0.071; OKLCH L 41.6% C 0.099 H 256.7°. Best body text is #FFFFFF at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#254C81
RGBrgb(37, 76, 129)
HSLhsl(215, 55%, 33%)
HSVhsv(215, 71%, 51%)
CMYKcmyk(71.3%, 41.1%, 0%, 49.4%)
CIE-LABlab(32.14, 5.13, -33.93)
CIE-LCHlch(32.14, 34.32, 278.59°)
OKLaboklab(41.63% -0.0228 -0.0967)
OKLCHoklch(41.63% 0.099 256.7)
XYZxyz(7.3084, 7.1464, 21.7589)
Luminance0.0715 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254C81 #815A25
analogous
#257A81 #254C81 #2C2581
triadic
#254C81 #81254C #4C8125
tetradic
#254C81 #81257A #815A25 #25812C
square
#254C81 #81257A #815A25 #25812C
split-complementary
#254C81 #812C25 #7A8125
monochromatic
#0A1422 #173051 #254C81 #3368B1 #5387CE

Accessibility & contrast

On white

8.64
#254C81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#254C81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254C81
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254C81#FFFFFF#000000##FFFFFF
##254C811.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345083
Deuteranopia (green-blind)
#264880
Tritanopia (blue-blind)
#005860
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #254c81;
/* rgb */ color: rgb(37, 76, 129);
/* oklch */ color: oklch(41.6% 0.099 256.7);
Tailwind
colors: {
  custom: {
    50: '#6b7da6',
    500: '#254c81',
    950: '#000000',
  },
}
SCSS
$custom: #254c81;
$custom-light: #6b7da6;
$custom-dark: #000000;
JSON
{
  "hex": "#254c81",
  "rgb": {
    "r": 37,
    "g": 76,
    "b": 129
  },
  "hsl": {
    "h": 214.565,
    "s": 55.422,
    "l": 32.549
  },
  "oklch": {
    "l": 0.41628,
    "c": 0.09935,
    "h": 256.7
  },
  "luminance": 0.07147
}

Semantic roles & 50–950 ramp

primary
#254C81
secondary
#B28850
accent
#9F49DF
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #254C81

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

Preview Lab → · Contrast checker → · Palette generator →

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