#254F80#254F80

#254F80 is a dark, moderate cyan. Relative luminance 0.075; OKLCH L 42.3% C 0.094 H 253.9°. Best body text is #FFFFFF at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#254F80
RGBrgb(37, 79, 128)
HSLhsl(212, 55%, 32%)
HSVhsv(212, 71%, 50%)
CMYKcmyk(71.1%, 38.3%, 0%, 49.8%)
CIE-LABlab(33.01, 2.76, -31.92)
CIE-LCHlch(33.01, 32.04, 274.94°)
OKLaboklab(42.29% -0.0262 -0.0908)
OKLCHoklch(42.29% 0.094 253.9)
XYZxyz(7.4538, 7.5430, 21.4810)
Luminance0.0754 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254F80 #805625
analogous
#257D80 #254F80 #292580
triadic
#254F80 #80254F #4F8025
tetradic
#254F80 #80257D #805625 #258029
square
#254F80 #80257D #805625 #258029
split-complementary
#254F80 #802925 #7D8025
monochromatic
#0A1421 #173251 #254F80 #336CAF #528BCD

Accessibility & contrast

On white

8.37
#254F80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#254F80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254F80
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254F80#FFFFFF#000000##FFFFFF
##254F801.008.372.518.37
#FFFFFF8.371.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395282
Deuteranopia (green-blind)
#2C4A7F
Tritanopia (blue-blind)
#005A61
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #254f80;
/* rgb */ color: rgb(37, 79, 128);
/* oklch */ color: oklch(42.3% 0.094 253.9);
Tailwind
colors: {
  custom: {
    50: '#6b80a5',
    500: '#254f80',
    950: '#000000',
  },
}
SCSS
$custom: #254f80;
$custom-light: #6b80a5;
$custom-dark: #000000;
JSON
{
  "hex": "#254f80",
  "rgb": {
    "r": 37,
    "g": 79,
    "b": 128
  },
  "hsl": {
    "h": 212.308,
    "s": 55.152,
    "l": 32.353
  },
  "oklch": {
    "l": 0.42291,
    "c": 0.09448,
    "h": 253.9
  },
  "luminance": 0.07544
}

Semantic roles & 50–950 ramp

primary
#254F80
secondary
#B18450
accent
#9A49DE
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#070A0F
muted
#7A7C7F

Preview Lab

Preview with #254F80

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

Preview Lab → · Contrast checker → · Palette generator →

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