#254E81#254E81

#254E81 is a dark, moderate cyan. Relative luminance 0.074; OKLCH L 42.1% C 0.097 H 255.1°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#254E81
RGBrgb(37, 78, 129)
HSLhsl(213, 55%, 33%)
HSVhsv(213, 71%, 51%)
CMYKcmyk(71.3%, 39.5%, 0%, 49.4%)
CIE-LABlab(32.76, 3.80, -32.95)
CIE-LCHlch(32.76, 33.16, 276.58°)
OKLaboklab(42.11% -0.0249 -0.0938)
OKLCHoklch(42.11% 0.097 255.1)
XYZxyz(7.4483, 7.4263, 21.8055)
Luminance0.0743 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254E81 #815825
analogous
#257C81 #254E81 #2A2581
triadic
#254E81 #81254E #4E8125
tetradic
#254E81 #81257C #815825 #25812A
square
#254E81 #81257C #815825 #25812A
split-complementary
#254E81 #812A25 #7C8125
monochromatic
#0A1422 #173151 #254E81 #336BB1 #538ACE

Accessibility & contrast

On white

8.45
#254E81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#254E81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254E81
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254E81#FFFFFF#000000##FFFFFF
##254E811.008.452.498.45
#FFFFFF8.451.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375283
Deuteranopia (green-blind)
#294980
Tritanopia (blue-blind)
#005A61
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #254e81;
/* rgb */ color: rgb(37, 78, 129);
/* oklch */ color: oklch(42.1% 0.097 255.1);
Tailwind
colors: {
  custom: {
    50: '#6b7fa6',
    500: '#254e81',
    950: '#000000',
  },
}
SCSS
$custom: #254e81;
$custom-light: #6b7fa6;
$custom-dark: #000000;
JSON
{
  "hex": "#254e81",
  "rgb": {
    "r": 37,
    "g": 78,
    "b": 129
  },
  "hsl": {
    "h": 213.261,
    "s": 55.422,
    "l": 32.549
  },
  "oklch": {
    "l": 0.42111,
    "c": 0.09703,
    "h": 255.1
  },
  "luminance": 0.07427
}

Semantic roles & 50–950 ramp

primary
#254E81
secondary
#B28650
accent
#9C49DF
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#070A0F
muted
#7A7C7F

Preview Lab

Preview with #254E81

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

Preview Lab → · Contrast checker → · Palette generator →

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