#254C71#254C71

#254C71 is a dark, moderate cyan. Relative luminance 0.068; OKLCH L 40.6% C 0.077 H 249.1°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#254C71
RGBrgb(37, 76, 113)
HSLhsl(209, 51%, 29%)
HSVhsv(209, 67%, 44%)
CMYKcmyk(67.3%, 32.7%, 0%, 55.7%)
CIE-LABlab(31.24, -0.98, -25.37)
CIE-LCHlch(31.24, 25.39, 267.78°)
OKLaboklab(40.63% -0.0273 -0.0717)
OKLCHoklch(40.63% 0.077 249.1)
XYZxyz(6.3269, 6.7538, 16.5898)
Luminance0.0675 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254C71 #714A25
analogous
#257170 #254C71 #252671
triadic
#254C71 #71254C #4C7125
tetradic
#254C71 #702571 #714A25 #267125
square
#254C71 #702571 #714A25 #267125
split-complementary
#254C71 #712526 #717025
monochromatic
#081017 #162D43 #254C71 #346B9F #4C8AC4

Accessibility & contrast

On white

8.93
#254C71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#254C71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254C71
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254C71#FFFFFF#000000##FFFFFF
##254C711.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C4E73
Deuteranopia (green-blind)
#324670
Tritanopia (blue-blind)
#005559
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #254c71;
/* rgb */ color: rgb(37, 76, 113);
/* oklch */ color: oklch(40.6% 0.077 249.1);
Tailwind
colors: {
  custom: {
    50: '#687d9a',
    500: '#254c71',
    950: '#000000',
  },
}
SCSS
$custom: #254c71;
$custom-light: #687d9a;
$custom-dark: #000000;
JSON
{
  "hex": "#254c71",
  "rgb": {
    "r": 37,
    "g": 76,
    "b": 113
  },
  "hsl": {
    "h": 209.211,
    "s": 50.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.40633,
    "c": 0.07672,
    "h": 249.1
  },
  "luminance": 0.06754
}

Semantic roles & 50–950 ramp

primary
#254C71
secondary
#A4784E
accent
#924EDA
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#07090E
muted
#7A7B7E

Preview Lab

Preview with #254C71

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

Preview Lab → · Contrast checker → · Palette generator →

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