#254C80#254C80

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

Color values

HEX#254C80
RGBrgb(37, 76, 128)
HSLhsl(214, 55%, 32%)
HSVhsv(214, 71%, 50%)
CMYKcmyk(71.1%, 40.6%, 0%, 49.8%)
CIE-LABlab(32.08, 4.74, -33.41)
CIE-LCHlch(32.08, 33.74, 278.07°)
OKLaboklab(41.56% -0.023 -0.0952)
OKLCHoklch(41.56% 0.098 256.4)
XYZxyz(7.2423, 7.1200, 21.4105)
Luminance0.0712 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254C80 #805925
analogous
#257A80 #254C80 #2C2580
triadic
#254C80 #80254C #4C8025
tetradic
#254C80 #80257A #805925 #25802C
square
#254C80 #80257A #805925 #25802C
split-complementary
#254C80 #802C25 #7A8025
monochromatic
#0A1421 #173051 #254C80 #3368AF #5287CD

Accessibility & contrast

On white

8.66
#254C80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#254C80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254C80
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254C80#FFFFFF#000000##FFFFFF
##254C801.008.662.428.66
#FFFFFF8.661.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345082
Deuteranopia (green-blind)
#26487F
Tritanopia (blue-blind)
#00585F
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #254c80;
/* rgb */ color: rgb(37, 76, 128);
/* oklch */ color: oklch(41.6% 0.098 256.4);
Tailwind
colors: {
  custom: {
    50: '#6b7da5',
    500: '#254c80',
    950: '#000000',
  },
}
SCSS
$custom: #254c80;
$custom-light: #6b7da5;
$custom-dark: #000000;
JSON
{
  "hex": "#254c80",
  "rgb": {
    "r": 37,
    "g": 76,
    "b": 128
  },
  "hsl": {
    "h": 214.286,
    "s": 55.152,
    "l": 32.353
  },
  "oklch": {
    "l": 0.41563,
    "c": 0.09791,
    "h": 256.4
  },
  "luminance": 0.07121
}

Semantic roles & 50–950 ramp

primary
#254C80
secondary
#B18750
accent
#9F49DE
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #254C80

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

Preview Lab → · Contrast checker → · Palette generator →

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