#254D7E#254D7E

#254D7E is a dark, moderate cyan. Relative luminance 0.072; OKLCH L 41.7% C 0.094 H 254.8°. Best body text is #FFFFFF at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#254D7E
RGBrgb(37, 77, 126)
HSLhsl(213, 55%, 32%)
HSVhsv(213, 71%, 49%)
CMYKcmyk(70.6%, 38.9%, 0%, 50.6%)
CIE-LABlab(32.27, 3.30, -31.86)
CIE-LCHlch(32.27, 32.03, 275.92°)
OKLaboklab(41.68% -0.0246 -0.0906)
OKLCHoklch(41.68% 0.094 254.8)
XYZxyz(7.1813, 7.2067, 20.7472)
Luminance0.0721 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254D7E #7E5625
analogous
#257A7E #254D7E #2A257E
triadic
#254D7E #7E254D #4D7E25
tetradic
#254D7E #7E257A #7E5625 #257E2A
square
#254D7E #7E257A #7E5625 #257E2A
split-complementary
#254D7E #7E2A25 #7A7E25
monochromatic
#09131F #17304F #254D7E #336AAD #5188CC

Accessibility & contrast

On white

8.60
#254D7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #254D7E
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254D7E#FFFFFF#000000##FFFFFF
##254D7E1.008.602.448.60
#FFFFFF8.601.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.601.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #254d7e;
/* rgb */ color: rgb(37, 77, 126);
/* oklch */ color: oklch(41.7% 0.094 254.8);
Tailwind
colors: {
  custom: {
    50: '#6b7ea3',
    500: '#254d7e',
    950: '#000000',
  },
}
SCSS
$custom: #254d7e;
$custom-light: #6b7ea3;
$custom-dark: #000000;
JSON
{
  "hex": "#254d7e",
  "rgb": {
    "r": 37,
    "g": 77,
    "b": 126
  },
  "hsl": {
    "h": 213.034,
    "s": 54.601,
    "l": 31.961
  },
  "oklch": {
    "l": 0.41676,
    "c": 0.0939,
    "h": 254.8
  },
  "luminance": 0.07207
}

Semantic roles & 50–950 ramp

primary
#254D7E
secondary
#B0844F
accent
#9B4ADE
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #254D7E

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

Preview Lab → · Contrast checker → · Palette generator →

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