#254E80#254E80

#254E80 is a dark, moderate cyan. Relative luminance 0.074; OKLCH L 42.0% C 0.096 H 254.7°. Best body text is #FFFFFF at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#254E80
RGBrgb(37, 78, 128)
HSLhsl(213, 55%, 32%)
HSVhsv(213, 71%, 50%)
CMYKcmyk(71.1%, 39.1%, 0%, 49.8%)
CIE-LABlab(32.70, 3.42, -32.42)
CIE-LCHlch(32.70, 32.60, 276.01°)
OKLaboklab(42.05% -0.0251 -0.0922)
OKLCHoklch(42.05% 0.096 254.7)
XYZxyz(7.3822, 7.3998, 21.4571)
Luminance0.0740 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254E80 #805725
analogous
#257C80 #254E80 #292580
triadic
#254E80 #80254E #4E8025
tetradic
#254E80 #80257C #805725 #258029
square
#254E80 #80257C #805725 #258029
split-complementary
#254E80 #802925 #7C8025
monochromatic
#0A1421 #173151 #254E80 #336BAF #528ACD

Accessibility & contrast

On white

8.47
#254E80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#254E80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254E80
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254E80#FFFFFF#000000##FFFFFF
##254E801.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375282
Deuteranopia (green-blind)
#2A497F
Tritanopia (blue-blind)
#005A61
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #254e80;
/* rgb */ color: rgb(37, 78, 128);
/* oklch */ color: oklch(42.0% 0.096 254.7);
Tailwind
colors: {
  custom: {
    50: '#6b7fa5',
    500: '#254e80',
    950: '#000000',
  },
}
SCSS
$custom: #254e80;
$custom-light: #6b7fa5;
$custom-dark: #000000;
JSON
{
  "hex": "#254e80",
  "rgb": {
    "r": 37,
    "g": 78,
    "b": 128
  },
  "hsl": {
    "h": 212.967,
    "s": 55.152,
    "l": 32.353
  },
  "oklch": {
    "l": 0.42047,
    "c": 0.09561,
    "h": 254.7
  },
  "luminance": 0.07401
}

Semantic roles & 50–950 ramp

primary
#254E80
secondary
#B18550
accent
#9B49DE
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#070A0F
muted
#7A7C7F

Preview Lab

Preview with #254E80

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

Preview Lab → · Contrast checker → · Palette generator →

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