#254E7B#254E7B

#254E7B is a dark, moderate cyan. Relative luminance 0.073; OKLCH L 41.7% C 0.089 H 252.6°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#254E7B
RGBrgb(37, 78, 123)
HSLhsl(211, 54%, 31%)
HSVhsv(211, 70%, 48%)
CMYKcmyk(69.9%, 36.6%, 0%, 51.8%)
CIE-LABlab(32.42, 1.50, -29.77)
CIE-LCHlch(32.42, 29.81, 272.88°)
OKLaboklab(41.73% -0.0265 -0.0845)
OKLCHoklch(41.73% 0.089 252.6)
XYZxyz(7.0612, 7.2714, 19.7664)
Luminance0.0727 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254E7B #7B5225
analogous
#25797B #254E7B #27257B
triadic
#254E7B #7B254E #4E7B25
tetradic
#254E7B #7B2579 #7B5225 #257B27
square
#254E7B #7B2579 #7B5225 #257B27
split-complementary
#254E7B #7B2725 #797B25
monochromatic
#09121D #17304C #254E7B #336CAA #508ACA

Accessibility & contrast

On white

8.56
#254E7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#254E7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254E7B
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254E7B#FFFFFF#000000##FFFFFF
##254E7B1.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A517D
Deuteranopia (green-blind)
#2E497A
Tritanopia (blue-blind)
#00585E
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #254e7b;
/* rgb */ color: rgb(37, 78, 123);
/* oklch */ color: oklch(41.7% 0.089 252.6);
Tailwind
colors: {
  custom: {
    50: '#6a7fa1',
    500: '#254e7b',
    950: '#000000',
  },
}
SCSS
$custom: #254e7b;
$custom-light: #6a7fa1;
$custom-dark: #000000;
JSON
{
  "hex": "#254e7b",
  "rgb": {
    "r": 37,
    "g": 78,
    "b": 123
  },
  "hsl": {
    "h": 211.395,
    "s": 53.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.41733,
    "c": 0.08855,
    "h": 252.6
  },
  "luminance": 0.07272
}

Semantic roles & 50–950 ramp

primary
#254E7B
secondary
#AD804F
accent
#974BDD
background
#F6F7F9
surface
#ECEEF2
border
#C7C9CC
text
#070A0F
muted
#7A7C7E

Preview Lab

Preview with #254E7B

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

Preview Lab → · Contrast checker → · Palette generator →

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