#254E86#254E86

#254E86 is a dark, moderate cyan. Relative luminance 0.076; OKLCH L 42.4% C 0.104 H 256.9°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#254E86
RGBrgb(37, 78, 134)
HSLhsl(215, 57%, 34%)
HSVhsv(215, 72%, 53%)
CMYKcmyk(72.4%, 41.8%, 0%, 47.5%)
CIE-LABlab(33.05, 5.73, -35.56)
CIE-LCHlch(33.05, 36.02, 279.16°)
OKLaboklab(42.44% -0.0236 -0.1014)
OKLCHoklch(42.44% 0.104 256.9)
XYZxyz(7.7888, 7.5625, 23.5989)
Luminance0.0756 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254E86 #865D25
analogous
#257E86 #254E86 #2C2586
triadic
#254E86 #86254E #4E8625
tetradic
#254E86 #86257E #865D25 #25862C
square
#254E86 #86257E #865D25 #25862C
split-complementary
#254E86 #862C25 #7E8625
monochromatic
#0B1626 #183256 #254E86 #326AB6 #5589D0

Accessibility & contrast

On white

8.36
#254E86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#254E86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254E86
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254E86#FFFFFF#000000##FFFFFF
##254E861.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345388
Deuteranopia (green-blind)
#244A85
Tritanopia (blue-blind)
#005B63
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #254e86;
/* rgb */ color: rgb(37, 78, 134);
/* oklch */ color: oklch(42.4% 0.104 256.9);
Tailwind
colors: {
  custom: {
    50: '#6c7fa9',
    500: '#254e86',
    950: '#000000',
  },
}
SCSS
$custom: #254e86;
$custom-light: #6c7fa9;
$custom-dark: #000000;
JSON
{
  "hex": "#254e86",
  "rgb": {
    "r": 37,
    "g": 78,
    "b": 134
  },
  "hsl": {
    "h": 214.639,
    "s": 56.725,
    "l": 33.529
  },
  "oklch": {
    "l": 0.42438,
    "c": 0.10416,
    "h": 256.9
  },
  "luminance": 0.07563
}

Semantic roles & 50–950 ramp

primary
#254E86
secondary
#B48B52
accent
#A048E0
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#080A10
muted
#7A7C7F

Preview Lab

Preview with #254E86

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

Preview Lab → · Contrast checker → · Palette generator →

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