#254D74#254D74

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

Color values

HEX#254D74
RGBrgb(37, 77, 116)
HSLhsl(210, 52%, 30%)
HSVhsv(210, 68%, 45%)
CMYKcmyk(68.1%, 33.6%, 0%, 54.5%)
CIE-LABlab(31.72, -0.50, -26.50)
CIE-LCHlch(31.72, 26.51, 268.91°)
OKLaboklab(41.06% -0.0275 -0.075)
OKLCHoklch(41.06% 0.08 249.8)
XYZxyz(6.5680, 6.9614, 17.5171)
Luminance0.0696 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254D74 #744C25
analogous
#257473 #254D74 #252674
triadic
#254D74 #74254D #4D7425
tetradic
#254D74 #732574 #744C25 #267425
square
#254D74 #732574 #744C25 #267425
split-complementary
#254D74 #742526 #747325
monochromatic
#070F17 #162E46 #254D74 #346CA2 #4D8AC6

Accessibility & contrast

On white

8.78
#254D74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#254D74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254D74
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254D74#FFFFFF#000000##FFFFFF
##254D741.008.782.398.78
#FFFFFF8.781.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C4F76
Deuteranopia (green-blind)
#314773
Tritanopia (blue-blind)
#00565B
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #254d74;
/* rgb */ color: rgb(37, 77, 116);
/* oklch */ color: oklch(41.1% 0.080 249.8);
Tailwind
colors: {
  custom: {
    50: '#697e9c',
    500: '#254d74',
    950: '#000000',
  },
}
SCSS
$custom: #254d74;
$custom-light: #697e9c;
$custom-dark: #000000;
JSON
{
  "hex": "#254d74",
  "rgb": {
    "r": 37,
    "g": 77,
    "b": 116
  },
  "hsl": {
    "h": 209.62,
    "s": 51.634,
    "l": 30
  },
  "oklch": {
    "l": 0.41061,
    "c": 0.07985,
    "h": 249.8
  },
  "luminance": 0.06962
}

Semantic roles & 50–950 ramp

primary
#254D74
secondary
#A77A4E
accent
#934DDB
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#07090E
muted
#7A7B7E

Preview Lab

Preview with #254D74

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

Preview Lab → · Contrast checker → · Palette generator →

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