#254C82#254C82

#254C82 is a dark, moderate cyan. Relative luminance 0.072; OKLCH L 41.7% C 0.101 H 257.1°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#254C82
RGBrgb(37, 76, 130)
HSLhsl(215, 56%, 33%)
HSVhsv(215, 72%, 51%)
CMYKcmyk(71.5%, 41.5%, 0%, 49%)
CIE-LABlab(32.20, 5.51, -34.46)
CIE-LCHlch(32.20, 34.89, 279.09°)
OKLaboklab(41.69% -0.0226 -0.0982)
OKLCHoklch(41.69% 0.101 257.1)
XYZxyz(7.3752, 7.1731, 22.1106)
Luminance0.0717 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254C82 #825B25
analogous
#257A82 #254C82 #2D2582
triadic
#254C82 #82254C #4C8225
tetradic
#254C82 #82257A #825B25 #25822D
square
#254C82 #82257A #825B25 #25822D
split-complementary
#254C82 #822D25 #7A8225
monochromatic
#0A1423 #173052 #254C82 #3368B2 #5387CE

Accessibility & contrast

On white

8.62
#254C82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#254C82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254C82
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254C82#FFFFFF#000000##FFFFFF
##254C821.008.622.438.62
#FFFFFF8.621.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335084
Deuteranopia (green-blind)
#254881
Tritanopia (blue-blind)
#005960
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #254c82;
/* rgb */ color: rgb(37, 76, 130);
/* oklch */ color: oklch(41.7% 0.101 257.1);
Tailwind
colors: {
  custom: {
    50: '#6b7da6',
    500: '#254c82',
    950: '#000000',
  },
}
SCSS
$custom: #254c82;
$custom-light: #6b7da6;
$custom-dark: #000000;
JSON
{
  "hex": "#254c82",
  "rgb": {
    "r": 37,
    "g": 76,
    "b": 130
  },
  "hsl": {
    "h": 214.839,
    "s": 55.689,
    "l": 32.745
  },
  "oklch": {
    "l": 0.41694,
    "c": 0.1008,
    "h": 257.1
  },
  "luminance": 0.07174
}

Semantic roles & 50–950 ramp

primary
#254C82
secondary
#B28950
accent
#A049DF
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #254C82

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

Preview Lab → · Contrast checker → · Palette generator →

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