#254D82#254D82

#254D82 is a dark, moderate cyan. Relative luminance 0.073; OKLCH L 41.9% C 0.100 H 256.3°. Best body text is #FFFFFF at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#254D82
RGBrgb(37, 77, 130)
HSLhsl(214, 56%, 33%)
HSVhsv(214, 72%, 51%)
CMYKcmyk(71.5%, 40.8%, 0%, 49%)
CIE-LABlab(32.51, 4.85, -33.96)
CIE-LCHlch(32.51, 34.31, 278.12°)
OKLaboklab(41.94% -0.0236 -0.0968)
OKLCHoklch(41.94% 0.1 256.3)
XYZxyz(7.4446, 7.3120, 22.1338)
Luminance0.0731 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254D82 #825A25
analogous
#257B82 #254D82 #2C2582
triadic
#254D82 #82254D #4D8225
tetradic
#254D82 #82257B #825A25 #25822C
square
#254D82 #82257B #825A25 #25822C
split-complementary
#254D82 #822C25 #7B8225
monochromatic
#0A1523 #173152 #254D82 #3369B2 #5388CE

Accessibility & contrast

On white

8.53
#254D82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#254D82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254D82
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254D82#FFFFFF#000000##FFFFFF
##254D821.008.532.468.53
#FFFFFF8.531.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355184
Deuteranopia (green-blind)
#264881
Tritanopia (blue-blind)
#005961
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #254d82;
/* rgb */ color: rgb(37, 77, 130);
/* oklch */ color: oklch(41.9% 0.100 256.3);
Tailwind
colors: {
  custom: {
    50: '#6b7ea6',
    500: '#254d82',
    950: '#000000',
  },
}
SCSS
$custom: #254d82;
$custom-light: #6b7ea6;
$custom-dark: #000000;
JSON
{
  "hex": "#254d82",
  "rgb": {
    "r": 37,
    "g": 77,
    "b": 130
  },
  "hsl": {
    "h": 214.194,
    "s": 55.689,
    "l": 32.745
  },
  "oklch": {
    "l": 0.41935,
    "c": 0.09961,
    "h": 256.3
  },
  "luminance": 0.07313
}

Semantic roles & 50–950 ramp

primary
#254D82
secondary
#B28850
accent
#9E49DF
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #254D82

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

Preview Lab → · Contrast checker → · Palette generator →

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