#254C73#254C73

#254C73 is a dark, moderate cyan. Relative luminance 0.068; OKLCH L 40.8% C 0.079 H 250.4°. Best body text is #FFFFFF at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#254C73
RGBrgb(37, 76, 115)
HSLhsl(210, 51%, 30%)
HSVhsv(210, 68%, 45%)
CMYKcmyk(67.8%, 33.9%, 0%, 54.9%)
CIE-LABlab(31.35, -0.23, -26.46)
CIE-LCHlch(31.35, 26.46, 269.50°)
OKLaboklab(40.75% -0.0267 -0.0749)
OKLCHoklch(40.75% 0.079 250.4)
XYZxyz(6.4408, 6.7994, 17.1893)
Luminance0.0680 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254C73 #734C25
analogous
#257373 #254C73 #252573
triadic
#254C73 #73254C #4C7325
tetradic
#254C73 #732573 #734C25 #257325
square
#254C73 #732573 #734C25 #257325
split-complementary
#254C73 #732525 #737325
monochromatic
#070F17 #162D45 #254C73 #346BA1 #4D89C6

Accessibility & contrast

On white

8.90
#254C73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#254C73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254C73
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254C73#FFFFFF#000000##FFFFFF
##254C731.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B4E75
Deuteranopia (green-blind)
#304672
Tritanopia (blue-blind)
#00555A
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #254c73;
/* rgb */ color: rgb(37, 76, 115);
/* oklch */ color: oklch(40.8% 0.079 250.4);
Tailwind
colors: {
  custom: {
    50: '#687d9b',
    500: '#254c73',
    950: '#000000',
  },
}
SCSS
$custom: #254c73;
$custom-light: #687d9b;
$custom-dark: #000000;
JSON
{
  "hex": "#254c73",
  "rgb": {
    "r": 37,
    "g": 76,
    "b": 115
  },
  "hsl": {
    "h": 210,
    "s": 51.316,
    "l": 29.804
  },
  "oklch": {
    "l": 0.40751,
    "c": 0.07948,
    "h": 250.4
  },
  "luminance": 0.068
}

Semantic roles & 50–950 ramp

primary
#254C73
secondary
#A67A4E
accent
#944DDB
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#07090E
muted
#7A7B7E

Preview Lab

Preview with #254C73

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

Preview Lab → · Contrast checker → · Palette generator →

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