#254E7D#254E7D

#254E7D is a dark, moderate cyan. Relative luminance 0.073; OKLCH L 41.9% C 0.091 H 253.5°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#254E7D
RGBrgb(37, 78, 125)
HSLhsl(212, 54%, 32%)
HSVhsv(212, 70%, 49%)
CMYKcmyk(70.4%, 37.6%, 0%, 51%)
CIE-LABlab(32.53, 2.26, -30.83)
CIE-LCHlch(32.53, 30.92, 274.20°)
OKLaboklab(41.86% -0.026 -0.0876)
OKLCHoklch(41.86% 0.091 253.5)
XYZxyz(7.1877, 7.3220, 20.4326)
Luminance0.0732 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254E7D #7D5425
analogous
#257A7D #254E7D #28257D
triadic
#254E7D #7D254E #4E7D25
tetradic
#254E7D #7D257A #7D5425 #257D28
square
#254E7D #7D257A #7D5425 #257D28
split-complementary
#254E7D #7D2825 #7A7D25
monochromatic
#09131F #17314E #254E7D #336BAC #518ACB

Accessibility & contrast

On white

8.52
#254E7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#254E7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254E7D
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254E7D#FFFFFF#000000##FFFFFF
##254E7D1.008.522.468.52
#FFFFFF8.521.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39517F
Deuteranopia (green-blind)
#2C497C
Tritanopia (blue-blind)
#00595F
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #254e7d;
/* rgb */ color: rgb(37, 78, 125);
/* oklch */ color: oklch(41.9% 0.091 253.5);
Tailwind
colors: {
  custom: {
    50: '#6a7fa3',
    500: '#254e7d',
    950: '#000000',
  },
}
SCSS
$custom: #254e7d;
$custom-light: #6a7fa3;
$custom-dark: #000000;
JSON
{
  "hex": "#254e7d",
  "rgb": {
    "r": 37,
    "g": 78,
    "b": 125
  },
  "hsl": {
    "h": 212.045,
    "s": 54.321,
    "l": 31.765
  },
  "oklch": {
    "l": 0.41857,
    "c": 0.09136,
    "h": 253.5
  },
  "luminance": 0.07323
}

Semantic roles & 50–950 ramp

primary
#254E7D
secondary
#AF824F
accent
#994ADE
background
#F6F7FA
surface
#ECEEF3
border
#C7C9CD
text
#070A0F
muted
#7A7C7F

Preview Lab

Preview with #254E7D

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

Preview Lab → · Contrast checker → · Palette generator →

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