#254E78#254E78

#254E78 is a dark, moderate cyan. Relative luminance 0.072; OKLCH L 41.5% C 0.084 H 251.0°. Best body text is #FFFFFF at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#254E78
RGBrgb(37, 78, 120)
HSLhsl(210, 53%, 31%)
HSVhsv(210, 69%, 47%)
CMYKcmyk(69.2%, 35%, 0%, 52.9%)
CIE-LABlab(32.25, 0.36, -28.16)
CIE-LCHlch(32.25, 28.16, 270.73°)
OKLaboklab(41.55% -0.0274 -0.0798)
OKLCHoklch(41.55% 0.084 251)
XYZxyz(6.8763, 7.1975, 18.7925)
Luminance0.0720 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254E78 #784F25
analogous
#257778 #254E78 #252578
triadic
#254E78 #78254E #4E7825
tetradic
#254E78 #782577 #784F25 #257825
square
#254E78 #782577 #784F25 #257825
split-complementary
#254E78 #782525 #777825
monochromatic
#08111A #173049 #254E78 #336CA7 #4F8BC9

Accessibility & contrast

On white

8.61
#254E78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #254E78
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254E78#FFFFFF#000000##FFFFFF
##254E781.008.612.448.61
#FFFFFF8.611.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C507A
Deuteranopia (green-blind)
#304877
Tritanopia (blue-blind)
#00585D
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #254e78;
/* rgb */ color: rgb(37, 78, 120);
/* oklch */ color: oklch(41.5% 0.084 251.0);
Tailwind
colors: {
  custom: {
    50: '#697f9f',
    500: '#254e78',
    950: '#000000',
  },
}
SCSS
$custom: #254e78;
$custom-light: #697f9f;
$custom-dark: #000000;
JSON
{
  "hex": "#254e78",
  "rgb": {
    "r": 37,
    "g": 78,
    "b": 120
  },
  "hsl": {
    "h": 210.361,
    "s": 52.866,
    "l": 30.784
  },
  "oklch": {
    "l": 0.4155,
    "c": 0.08437,
    "h": 251
  },
  "luminance": 0.07198
}

Semantic roles & 50–950 ramp

primary
#254E78
secondary
#AA7D4E
accent
#954CDC
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#070A0E
muted
#7A7C7E

Preview Lab

Preview with #254E78

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

Preview Lab → · Contrast checker → · Palette generator →

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