#254D7D#254D7D

#254D7D is a dark, moderate cyan. Relative luminance 0.072; OKLCH L 41.6% C 0.092 H 254.4°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#254D7D
RGBrgb(37, 77, 125)
HSLhsl(213, 54%, 32%)
HSVhsv(213, 70%, 49%)
CMYKcmyk(70.4%, 38.4%, 0%, 51%)
CIE-LABlab(32.22, 2.92, -31.33)
CIE-LCHlch(32.22, 31.46, 275.33°)
OKLaboklab(41.61% -0.0249 -0.0891)
OKLCHoklch(41.61% 0.092 254.4)
XYZxyz(7.1171, 7.1810, 20.4091)
Luminance0.0718 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254D7D #7D5525
analogous
#25797D #254D7D #29257D
triadic
#254D7D #7D254D #4D7D25
tetradic
#254D7D #7D2579 #7D5525 #257D29
square
#254D7D #7D2579 #7D5525 #257D29
split-complementary
#254D7D #7D2925 #797D25
monochromatic
#09131F #17304E #254D7D #336AAC #5189CB

Accessibility & contrast

On white

8.62
#254D7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#254D7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254D7D
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254D7D#FFFFFF#000000##FFFFFF
##254D7D1.008.622.448.62
#FFFFFF8.621.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38507F
Deuteranopia (green-blind)
#2B487C
Tritanopia (blue-blind)
#00585F
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #254d7d;
/* rgb */ color: rgb(37, 77, 125);
/* oklch */ color: oklch(41.6% 0.092 254.4);
Tailwind
colors: {
  custom: {
    50: '#6a7ea3',
    500: '#254d7d',
    950: '#000000',
  },
}
SCSS
$custom: #254d7d;
$custom-light: #6a7ea3;
$custom-dark: #000000;
JSON
{
  "hex": "#254d7d",
  "rgb": {
    "r": 37,
    "g": 77,
    "b": 125
  },
  "hsl": {
    "h": 212.727,
    "s": 54.321,
    "l": 31.765
  },
  "oklch": {
    "l": 0.41613,
    "c": 0.09247,
    "h": 254.4
  },
  "luminance": 0.07182
}

Semantic roles & 50–950 ramp

primary
#254D7D
secondary
#AF834F
accent
#9B4ADE
background
#F6F7FA
surface
#ECEEF3
border
#C7C9CD
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #254D7D

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

Preview Lab → · Contrast checker → · Palette generator →

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