#254571#254571

#254571 is a dark, moderate cyan. Relative luminance 0.058; OKLCH L 38.9% C 0.084 H 256.8°. Best body text is #FFFFFF at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#254571
RGBrgb(37, 69, 113)
HSLhsl(215, 51%, 29%)
HSVhsv(215, 67%, 44%)
CMYKcmyk(67.3%, 38.9%, 0%, 55.7%)
CIE-LABlab(29.01, 3.64, -28.89)
CIE-LCHlch(29.01, 29.12, 277.19°)
OKLaboklab(38.89% -0.0193 -0.082)
OKLCHoklch(38.89% 0.084 256.8)
XYZxyz(5.8706, 5.8413, 16.4377)
Luminance0.0584 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254571 #715125
analogous
#256B71 #254571 #2B2571
triadic
#254571 #712545 #457125
tetradic
#254571 #71256B #715125 #25712B
square
#254571 #71256B #715125 #25712B
split-complementary
#254571 #712B25 #6B7125
monochromatic
#080E17 #162943 #254571 #34619F #4C7FC4

Accessibility & contrast

On white

9.68
#254571 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#254571 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254571
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254571#FFFFFF#000000##FFFFFF
##2545711.009.682.179.68
#FFFFFF9.681.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324873
Deuteranopia (green-blind)
#274170
Tritanopia (blue-blind)
#004F55
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #254571;
/* rgb */ color: rgb(37, 69, 113);
/* oklch */ color: oklch(38.9% 0.084 256.8);
Tailwind
colors: {
  custom: {
    50: '#68789a',
    500: '#254571',
    950: '#000000',
  },
}
SCSS
$custom: #254571;
$custom-light: #68789a;
$custom-dark: #000000;
JSON
{
  "hex": "#254571",
  "rgb": {
    "r": 37,
    "g": 69,
    "b": 113
  },
  "hsl": {
    "h": 214.737,
    "s": 50.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.38887,
    "c": 0.08427,
    "h": 256.8
  },
  "luminance": 0.05842
}

Semantic roles & 50–950 ramp

primary
#254571
secondary
#A4804E
accent
#9F4EDA
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#07080E
muted
#7A7B7E

Preview Lab

Preview with #254571

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

Preview Lab → · Contrast checker → · Palette generator →

#254571 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva