#254E85#254E85

#254E85 is a dark, moderate cyan. Relative luminance 0.075; OKLCH L 42.4% C 0.103 H 256.6°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#254E85
RGBrgb(37, 78, 133)
HSLhsl(214, 56%, 33%)
HSVhsv(214, 72%, 52%)
CMYKcmyk(72.2%, 41.4%, 0%, 47.8%)
CIE-LABlab(32.99, 5.35, -35.04)
CIE-LCHlch(32.99, 35.45, 278.68°)
OKLaboklab(42.37% -0.0239 -0.0999)
OKLCHoklch(42.37% 0.103 256.6)
XYZxyz(7.7194, 7.5347, 23.2333)
Luminance0.0754 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254E85 #855C25
analogous
#257E85 #254E85 #2C2585
triadic
#254E85 #85254E #4E8525
tetradic
#254E85 #85257E #855C25 #25852C
square
#254E85 #85257E #855C25 #25852C
split-complementary
#254E85 #852C25 #7E8525
monochromatic
#0A1625 #183255 #254E85 #326AB5 #5589D0

Accessibility & contrast

On white

8.38
#254E85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #254E85
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254E85#FFFFFF#000000##FFFFFF
##254E851.008.382.518.38
#FFFFFF8.381.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345287
Deuteranopia (green-blind)
#254984
Tritanopia (blue-blind)
#005B63
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #254e85;
/* rgb */ color: rgb(37, 78, 133);
/* oklch */ color: oklch(42.4% 0.103 256.6);
Tailwind
colors: {
  custom: {
    50: '#6c7fa9',
    500: '#254e85',
    950: '#000000',
  },
}
SCSS
$custom: #254e85;
$custom-light: #6c7fa9;
$custom-dark: #000000;
JSON
{
  "hex": "#254e85",
  "rgb": {
    "r": 37,
    "g": 78,
    "b": 133
  },
  "hsl": {
    "h": 214.375,
    "s": 56.471,
    "l": 33.333
  },
  "oklch": {
    "l": 0.42372,
    "c": 0.10274,
    "h": 256.6
  },
  "luminance": 0.07536
}

Semantic roles & 50–950 ramp

primary
#254E85
secondary
#B48A52
accent
#9F48E0
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#080A10
muted
#7A7C7F

Preview Lab

Preview with #254E85

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

Preview Lab → · Contrast checker → · Palette generator →

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