#254D84#254D84

#254D84 is a dark, moderate cyan. Relative luminance 0.074; OKLCH L 42.1% C 0.102 H 257.0°. Best body text is #FFFFFF at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#254D84
RGBrgb(37, 77, 132)
HSLhsl(215, 56%, 33%)
HSVhsv(215, 72%, 52%)
CMYKcmyk(72%, 41.7%, 0%, 48.2%)
CIE-LABlab(32.63, 5.62, -35.01)
CIE-LCHlch(32.63, 35.46, 279.13°)
OKLaboklab(42.07% -0.0231 -0.0998)
OKLCHoklch(42.07% 0.102 257)
XYZxyz(7.5802, 7.3662, 22.8477)
Luminance0.0737 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254D84 #845C25
analogous
#257C84 #254D84 #2C2584
triadic
#254D84 #84254D #4D8425
tetradic
#254D84 #84257C #845C25 #25842C
square
#254D84 #84257C #845C25 #25842C
split-complementary
#254D84 #842C25 #7C8425
monochromatic
#0A1524 #183154 #254D84 #3269B4 #5488CF

Accessibility & contrast

On white

8.49
#254D84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#254D84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254D84
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254D84#FFFFFF#000000##FFFFFF
##254D841.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335286
Deuteranopia (green-blind)
#244983
Tritanopia (blue-blind)
#005A62
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #254d84;
/* rgb */ color: rgb(37, 77, 132);
/* oklch */ color: oklch(42.1% 0.102 257.0);
Tailwind
colors: {
  custom: {
    50: '#6c7ea8',
    500: '#254d84',
    950: '#000000',
  },
}
SCSS
$custom: #254d84;
$custom-light: #6c7ea8;
$custom-dark: #000000;
JSON
{
  "hex": "#254d84",
  "rgb": {
    "r": 37,
    "g": 77,
    "b": 132
  },
  "hsl": {
    "h": 214.737,
    "s": 56.213,
    "l": 33.137
  },
  "oklch": {
    "l": 0.42066,
    "c": 0.10248,
    "h": 257
  },
  "luminance": 0.07367
}

Semantic roles & 50–950 ramp

primary
#254D84
secondary
#B38A51
accent
#A048E0
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #254D84

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

Preview Lab → · Contrast checker → · Palette generator →

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