#254B80#254B80

#254B80 is a dark, moderate cyan. Relative luminance 0.070; OKLCH L 41.3% C 0.099 H 257.2°. Best body text is #FFFFFF at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#254B80
RGBrgb(37, 75, 128)
HSLhsl(215, 55%, 32%)
HSVhsv(215, 71%, 50%)
CMYKcmyk(71.1%, 41.4%, 0%, 49.8%)
CIE-LABlab(31.77, 5.41, -33.90)
CIE-LCHlch(31.77, 34.33, 279.06°)
OKLaboklab(41.32% -0.022 -0.0966)
OKLCHoklch(41.32% 0.099 257.2)
XYZxyz(7.1739, 6.9832, 21.3877)
Luminance0.0698 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254B80 #805A25
analogous
#257980 #254B80 #2C2580
triadic
#254B80 #80254B #4B8025
tetradic
#254B80 #802579 #805A25 #25802C
square
#254B80 #802579 #805A25 #25802C
split-complementary
#254B80 #802C25 #798025
monochromatic
#0A1321 #172F51 #254B80 #3367AF #5286CD

Accessibility & contrast

On white

8.76
#254B80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#254B80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254B80
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254B80#FFFFFF#000000##FFFFFF
##254B801.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#334F82
Deuteranopia (green-blind)
#25477F
Tritanopia (blue-blind)
#00575F
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #254b80;
/* rgb */ color: rgb(37, 75, 128);
/* oklch */ color: oklch(41.3% 0.099 257.2);
Tailwind
colors: {
  custom: {
    50: '#6b7ca5',
    500: '#254b80',
    950: '#000000',
  },
}
SCSS
$custom: #254b80;
$custom-light: #6b7ca5;
$custom-dark: #000000;
JSON
{
  "hex": "#254b80",
  "rgb": {
    "r": 37,
    "g": 75,
    "b": 128
  },
  "hsl": {
    "h": 214.945,
    "s": 55.152,
    "l": 32.353
  },
  "oklch": {
    "l": 0.41322,
    "c": 0.09909,
    "h": 257.2
  },
  "luminance": 0.06984
}

Semantic roles & 50–950 ramp

primary
#254B80
secondary
#B18850
accent
#A049DE
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #254B80

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

Preview Lab → · Contrast checker → · Palette generator →

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