#254A71#254A71

#254A71 is a dark, moderate cyan. Relative luminance 0.065; OKLCH L 40.1% C 0.079 H 251.5°. Best body text is #FFFFFF at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#254A71
RGBrgb(37, 74, 113)
HSLhsl(211, 51%, 29%)
HSVhsv(211, 67%, 44%)
CMYKcmyk(67.3%, 34.5%, 0%, 55.7%)
CIE-LABlab(30.60, 0.32, -26.38)
CIE-LCHlch(30.60, 26.38, 270.70°)
OKLaboklab(40.13% -0.025 -0.0746)
OKLCHoklch(40.13% 0.079 251.5)
XYZxyz(6.1913, 6.4825, 16.5446)
Luminance0.0648 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254A71 #714C25
analogous
#257071 #254A71 #262571
triadic
#254A71 #71254A #4A7125
tetradic
#254A71 #712570 #714C25 #257126
square
#254A71 #712570 #714C25 #257126
split-complementary
#254A71 #712625 #707125
monochromatic
#080F17 #162C43 #254A71 #34689F #4C87C4

Accessibility & contrast

On white

9.14
#254A71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#254A71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254A71
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254A71#FFFFFF#000000##FFFFFF
##254A711.009.142.309.14
#FFFFFF9.141.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#394C73
Deuteranopia (green-blind)
#2F4570
Tritanopia (blue-blind)
#005358
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #254a71;
/* rgb */ color: rgb(37, 74, 113);
/* oklch */ color: oklch(40.1% 0.079 251.5);
Tailwind
colors: {
  custom: {
    50: '#687c9a',
    500: '#254a71',
    950: '#000000',
  },
}
SCSS
$custom: #254a71;
$custom-light: #687c9a;
$custom-dark: #000000;
JSON
{
  "hex": "#254a71",
  "rgb": {
    "r": 37,
    "g": 74,
    "b": 113
  },
  "hsl": {
    "h": 210.789,
    "s": 50.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.40129,
    "c": 0.07873,
    "h": 251.5
  },
  "luminance": 0.06483
}

Semantic roles & 50–950 ramp

primary
#254A71
secondary
#A47A4E
accent
#964EDA
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#07090E
muted
#7A7B7E

Preview Lab

Preview with #254A71

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

Preview Lab → · Contrast checker → · Palette generator →

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