#254E71#254E71

#254E71 is a dark, moderate cyan. Relative luminance 0.070; OKLCH L 41.1% C 0.075 H 246.7°. Best body text is #FFFFFF at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#254E71
RGBrgb(37, 78, 113)
HSLhsl(208, 51%, 29%)
HSVhsv(208, 67%, 44%)
CMYKcmyk(67.3%, 31%, 0%, 55.7%)
CIE-LABlab(31.88, -2.27, -24.36)
CIE-LCHlch(31.88, 24.47, 264.67°)
OKLaboklab(41.14% -0.0296 -0.0687)
OKLCHoklch(41.14% 0.075 246.7)
XYZxyz(6.4669, 7.0337, 16.6364)
Luminance0.0703 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254E71 #714825
analogous
#25716E #254E71 #252871
triadic
#254E71 #71254E #4E7125
tetradic
#254E71 #6E2571 #714825 #287125
square
#254E71 #6E2571 #714825 #287125
split-complementary
#254E71 #712528 #716E25
monochromatic
#081017 #162E43 #254E71 #346E9F #4C8DC4

Accessibility & contrast

On white

8.73
#254E71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#254E71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254E71
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254E71#FFFFFF#000000##FFFFFF
##254E711.008.732.418.73
#FFFFFF8.731.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F4F73
Deuteranopia (green-blind)
#344870
Tritanopia (blue-blind)
#00565A
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #254e71;
/* rgb */ color: rgb(37, 78, 113);
/* oklch */ color: oklch(41.1% 0.075 246.7);
Tailwind
colors: {
  custom: {
    50: '#687f9a',
    500: '#254e71',
    950: '#000000',
  },
}
SCSS
$custom: #254e71;
$custom-light: #687f9a;
$custom-dark: #000000;
JSON
{
  "hex": "#254e71",
  "rgb": {
    "r": 37,
    "g": 78,
    "b": 113
  },
  "hsl": {
    "h": 207.632,
    "s": 50.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.41139,
    "c": 0.07486,
    "h": 246.7
  },
  "luminance": 0.07034
}

Semantic roles & 50–950 ramp

primary
#254E71
secondary
#A4764E
accent
#8E4EDA
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#070A0E
muted
#7A7C7E

Preview Lab

Preview with #254E71

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

Preview Lab → · Contrast checker → · Palette generator →

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