#254A72#254A72

#254A72 is a dark, moderate cyan. Relative luminance 0.065; OKLCH L 40.2% C 0.080 H 252.0°. Best body text is #FFFFFF at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#254A72
RGBrgb(37, 74, 114)
HSLhsl(211, 51%, 30%)
HSVhsv(211, 68%, 45%)
CMYKcmyk(67.5%, 35.1%, 0%, 55.3%)
CIE-LABlab(30.65, 0.70, -26.93)
CIE-LCHlch(30.65, 26.93, 271.49°)
OKLaboklab(40.19% -0.0247 -0.0762)
OKLCHoklch(40.19% 0.08 252)
XYZxyz(6.2479, 6.5052, 16.8427)
Luminance0.0651 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254A72 #724D25
analogous
#257172 #254A72 #272572
triadic
#254A72 #72254A #4A7225
tetradic
#254A72 #722571 #724D25 #257227
square
#254A72 #722571 #724D25 #257227
split-complementary
#254A72 #722725 #717225
monochromatic
#070F17 #162C44 #254A72 #3468A0 #4C86C5

Accessibility & contrast

On white

9.13
#254A72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #254A72
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254A72#FFFFFF#000000##FFFFFF
##254A721.009.132.309.13
#FFFFFF9.131.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.131.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #254a72;
/* rgb */ color: rgb(37, 74, 114);
/* oklch */ color: oklch(40.2% 0.080 252.0);
Tailwind
colors: {
  custom: {
    50: '#687c9b',
    500: '#254a72',
    950: '#000000',
  },
}
SCSS
$custom: #254a72;
$custom-light: #687c9b;
$custom-dark: #000000;
JSON
{
  "hex": "#254a72",
  "rgb": {
    "r": 37,
    "g": 74,
    "b": 114
  },
  "hsl": {
    "h": 211.169,
    "s": 50.993,
    "l": 29.608
  },
  "oklch": {
    "l": 0.4019,
    "c": 0.08013,
    "h": 252
  },
  "luminance": 0.06506
}

Semantic roles & 50–950 ramp

primary
#254A72
secondary
#A57B4E
accent
#974DDA
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#07090E
muted
#7A7B7E

Preview Lab

Preview with #254A72

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

Preview Lab → · Contrast checker → · Palette generator →

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