#254E7C#254E7C

#254E7C is a dark, moderate cyan. Relative luminance 0.073; OKLCH L 41.8% C 0.090 H 253.0°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#254E7C
RGBrgb(37, 78, 124)
HSLhsl(212, 54%, 32%)
HSVhsv(212, 70%, 49%)
CMYKcmyk(70.2%, 37.1%, 0%, 51.4%)
CIE-LABlab(32.47, 1.88, -30.30)
CIE-LCHlch(32.47, 30.36, 273.55°)
OKLaboklab(41.8% -0.0262 -0.086)
OKLCHoklch(41.8% 0.09 253)
XYZxyz(7.1241, 7.2966, 20.0978)
Luminance0.0730 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254E7C #7C5325
analogous
#257A7C #254E7C #28257C
triadic
#254E7C #7C254E #4E7C25
tetradic
#254E7C #7C257A #7C5325 #257C28
square
#254E7C #7C257A #7C5325 #257C28
split-complementary
#254E7C #7C2825 #7A7C25
monochromatic
#09131E #17304D #254E7C #336CAB #508ACB

Accessibility & contrast

On white

8.54
#254E7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #254E7C
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254E7C#FFFFFF#000000##FFFFFF
##254E7C1.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A517E
Deuteranopia (green-blind)
#2D497B
Tritanopia (blue-blind)
#00595F
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #254e7c;
/* rgb */ color: rgb(37, 78, 124);
/* oklch */ color: oklch(41.8% 0.090 253.0);
Tailwind
colors: {
  custom: {
    50: '#6a7fa2',
    500: '#254e7c',
    950: '#000000',
  },
}
SCSS
$custom: #254e7c;
$custom-light: #6a7fa2;
$custom-dark: #000000;
JSON
{
  "hex": "#254e7c",
  "rgb": {
    "r": 37,
    "g": 78,
    "b": 124
  },
  "hsl": {
    "h": 211.724,
    "s": 54.037,
    "l": 31.569
  },
  "oklch": {
    "l": 0.41795,
    "c": 0.08995,
    "h": 253
  },
  "luminance": 0.07297
}

Semantic roles & 50–950 ramp

primary
#254E7C
secondary
#AE814F
accent
#984ADD
background
#F6F7FA
surface
#ECEEF3
border
#C7C9CD
text
#070A0F
muted
#7A7C7F

Preview Lab

Preview with #254E7C

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

Preview Lab → · Contrast checker → · Palette generator →

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