#254C76#254C76

#254C76 is a dark, moderate cyan. Relative luminance 0.069; OKLCH L 40.9% C 0.084 H 252.1°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#254C76
RGBrgb(37, 76, 118)
HSLhsl(211, 52%, 30%)
HSVhsv(211, 69%, 46%)
CMYKcmyk(68.6%, 35.6%, 0%, 53.7%)
CIE-LABlab(31.51, 0.91, -28.09)
CIE-LCHlch(31.51, 28.10, 271.85°)
OKLaboklab(40.93% -0.0258 -0.0796)
OKLCHoklch(40.93% 0.084 252.1)
XYZxyz(6.6162, 6.8695, 18.1133)
Luminance0.0687 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254C76 #764F25
analogous
#257476 #254C76 #262576
triadic
#254C76 #76254C #4C7625
tetradic
#254C76 #762574 #764F25 #257626
square
#254C76 #762574 #764F25 #257626
split-complementary
#254C76 #762625 #747625
monochromatic
#081019 #162E47 #254C76 #346AA5 #4E88C7

Accessibility & contrast

On white

8.85
#254C76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#254C76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254C76
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254C76#FFFFFF#000000##FFFFFF
##254C761.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A4E78
Deuteranopia (green-blind)
#2E4775
Tritanopia (blue-blind)
#00565B
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #254c76;
/* rgb */ color: rgb(37, 76, 118);
/* oklch */ color: oklch(40.9% 0.084 252.1);
Tailwind
colors: {
  custom: {
    50: '#697d9d',
    500: '#254c76',
    950: '#000000',
  },
}
SCSS
$custom: #254c76;
$custom-light: #697d9d;
$custom-dark: #000000;
JSON
{
  "hex": "#254c76",
  "rgb": {
    "r": 37,
    "g": 76,
    "b": 118
  },
  "hsl": {
    "h": 211.111,
    "s": 52.258,
    "l": 30.392
  },
  "oklch": {
    "l": 0.40931,
    "c": 0.08366,
    "h": 252.1
  },
  "luminance": 0.0687
}

Semantic roles & 50–950 ramp

primary
#254C76
secondary
#A97D4E
accent
#974CDC
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#07090E
muted
#7A7B7E

Preview Lab

Preview with #254C76

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

Preview Lab → · Contrast checker → · Palette generator →

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