#254E84#254E84

#254E84 is a dark, moderate cyan. Relative luminance 0.075; OKLCH L 42.3% C 0.101 H 256.2°. Best body text is #FFFFFF at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#254E84
RGBrgb(37, 78, 132)
HSLhsl(214, 56%, 33%)
HSVhsv(214, 72%, 52%)
CMYKcmyk(72%, 40.9%, 0%, 48.2%)
CIE-LABlab(32.93, 4.96, -34.52)
CIE-LCHlch(32.93, 34.87, 278.18°)
OKLaboklab(42.31% -0.0241 -0.0984)
OKLCHoklch(42.31% 0.101 256.2)
XYZxyz(7.6507, 7.5072, 22.8712)
Luminance0.0751 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254E84 #845B25
analogous
#257D84 #254E84 #2B2584
triadic
#254E84 #84254E #4E8425
tetradic
#254E84 #84257D #845B25 #25842B
square
#254E84 #84257D #845B25 #25842B
split-complementary
#254E84 #842B25 #7D8425
monochromatic
#0A1624 #183254 #254E84 #326AB4 #5489CF

Accessibility & contrast

On white

8.39
#254E84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#254E84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254E84
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254E84#FFFFFF#000000##FFFFFF
##254E841.008.392.508.39
#FFFFFF8.391.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355286
Deuteranopia (green-blind)
#264983
Tritanopia (blue-blind)
#005B62
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #254e84;
/* rgb */ color: rgb(37, 78, 132);
/* oklch */ color: oklch(42.3% 0.101 256.2);
Tailwind
colors: {
  custom: {
    50: '#6c7fa8',
    500: '#254e84',
    950: '#000000',
  },
}
SCSS
$custom: #254e84;
$custom-light: #6c7fa8;
$custom-dark: #000000;
JSON
{
  "hex": "#254e84",
  "rgb": {
    "r": 37,
    "g": 78,
    "b": 132
  },
  "hsl": {
    "h": 214.105,
    "s": 56.213,
    "l": 33.137
  },
  "oklch": {
    "l": 0.42306,
    "c": 0.10131,
    "h": 256.2
  },
  "luminance": 0.07508
}

Semantic roles & 50–950 ramp

primary
#254E84
secondary
#B38951
accent
#9E48E0
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#070A0F
muted
#7A7C7F

Preview Lab

Preview with #254E84

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

Preview Lab → · Contrast checker → · Palette generator →

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