#254C7D#254C7D

#254C7D is a dark, moderate cyan. Relative luminance 0.070; OKLCH L 41.4% C 0.094 H 255.3°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#254C7D
RGBrgb(37, 76, 125)
HSLhsl(213, 54%, 32%)
HSVhsv(213, 70%, 49%)
CMYKcmyk(70.4%, 39.2%, 0%, 51%)
CIE-LABlab(31.90, 3.58, -31.83)
CIE-LCHlch(31.90, 32.03, 276.42°)
OKLaboklab(41.37% -0.0238 -0.0905)
OKLCHoklch(41.37% 0.094 255.3)
XYZxyz(7.0477, 7.0421, 20.3859)
Luminance0.0704 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254C7D #7D5625
analogous
#25787D #254C7D #2A257D
triadic
#254C7D #7D254C #4C7D25
tetradic
#254C7D #7D2578 #7D5625 #257D2A
square
#254C7D #7D2578 #7D5625 #257D2A
split-complementary
#254C7D #7D2A25 #787D25
monochromatic
#09131F #172F4E #254C7D #3369AC #5187CB

Accessibility & contrast

On white

8.72
#254C7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #254C7D
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254C7D#FFFFFF#000000##FFFFFF
##254C7D1.008.722.418.72
#FFFFFF8.721.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#36507F
Deuteranopia (green-blind)
#29477C
Tritanopia (blue-blind)
#00575E
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #254c7d;
/* rgb */ color: rgb(37, 76, 125);
/* oklch */ color: oklch(41.4% 0.094 255.3);
Tailwind
colors: {
  custom: {
    50: '#6a7da3',
    500: '#254c7d',
    950: '#000000',
  },
}
SCSS
$custom: #254c7d;
$custom-light: #6a7da3;
$custom-dark: #000000;
JSON
{
  "hex": "#254c7d",
  "rgb": {
    "r": 37,
    "g": 76,
    "b": 125
  },
  "hsl": {
    "h": 213.409,
    "s": 54.321,
    "l": 31.765
  },
  "oklch": {
    "l": 0.41369,
    "c": 0.09361,
    "h": 255.3
  },
  "luminance": 0.07043
}

Semantic roles & 50–950 ramp

primary
#254C7D
secondary
#AF844F
accent
#9C4ADE
background
#F6F7FA
surface
#ECEEF3
border
#C7C9CD
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #254C7D

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

Preview Lab → · Contrast checker → · Palette generator →

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