#254D80#254D80

#254D80 is a dark, moderate cyan. Relative luminance 0.073; OKLCH L 41.8% C 0.097 H 255.6°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#254D80
RGBrgb(37, 77, 128)
HSLhsl(214, 55%, 32%)
HSVhsv(214, 71%, 50%)
CMYKcmyk(71.1%, 39.8%, 0%, 49.8%)
CIE-LABlab(32.39, 4.08, -32.91)
CIE-LCHlch(32.39, 33.17, 277.06°)
OKLaboklab(41.8% -0.0241 -0.0937)
OKLCHoklch(41.8% 0.097 255.6)
XYZxyz(7.3117, 7.2588, 21.4336)
Luminance0.0726 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254D80 #805825
analogous
#257B80 #254D80 #2A2580
triadic
#254D80 #80254D #4D8025
tetradic
#254D80 #80257B #805825 #25802A
square
#254D80 #80257B #805825 #25802A
split-complementary
#254D80 #802A25 #7B8025
monochromatic
#0A1421 #173051 #254D80 #336AAF #5288CD

Accessibility & contrast

On white

8.56
#254D80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#254D80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254D80
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254D80#FFFFFF#000000##FFFFFF
##254D801.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365182
Deuteranopia (green-blind)
#28487F
Tritanopia (blue-blind)
#005960
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #254d80;
/* rgb */ color: rgb(37, 77, 128);
/* oklch */ color: oklch(41.8% 0.097 255.6);
Tailwind
colors: {
  custom: {
    50: '#6b7ea5',
    500: '#254d80',
    950: '#000000',
  },
}
SCSS
$custom: #254d80;
$custom-light: #6b7ea5;
$custom-dark: #000000;
JSON
{
  "hex": "#254d80",
  "rgb": {
    "r": 37,
    "g": 77,
    "b": 128
  },
  "hsl": {
    "h": 213.626,
    "s": 55.152,
    "l": 32.353
  },
  "oklch": {
    "l": 0.41804,
    "c": 0.09675,
    "h": 255.6
  },
  "luminance": 0.0726
}

Semantic roles & 50–950 ramp

primary
#254D80
secondary
#B18650
accent
#9D49DE
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #254D80

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

Preview Lab → · Contrast checker → · Palette generator →

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