#254E77#254E77

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

Color values

HEX#254E77
RGBrgb(37, 78, 119)
HSLhsl(210, 53%, 31%)
HSVhsv(210, 69%, 47%)
CMYKcmyk(68.9%, 34.5%, 0%, 53.3%)
CIE-LABlab(32.20, -0.02, -27.62)
CIE-LCHlch(32.20, 27.62, 269.96°)
OKLaboklab(41.49% -0.0277 -0.0782)
OKLCHoklch(41.49% 0.083 250.5)
XYZxyz(6.8159, 7.1733, 18.4746)
Luminance0.0717 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254E77 #774E25
analogous
#257777 #254E77 #252577
triadic
#254E77 #77254E #4E7725
tetradic
#254E77 #772577 #774E25 #257725
square
#254E77 #772577 #774E25 #257725
split-complementary
#254E77 #772525 #777725
monochromatic
#08111A #162F48 #254E77 #346DA6 #4E8BC8

Accessibility & contrast

On white

8.62
#254E77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#254E77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254E77
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254E77#FFFFFF#000000##FFFFFF
##254E771.008.622.438.62
#FFFFFF8.621.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #254e77;
/* rgb */ color: rgb(37, 78, 119);
/* oklch */ color: oklch(41.5% 0.083 250.5);
Tailwind
colors: {
  custom: {
    50: '#697f9e',
    500: '#254e77',
    950: '#000000',
  },
}
SCSS
$custom: #254e77;
$custom-light: #697f9e;
$custom-dark: #000000;
JSON
{
  "hex": "#254e77",
  "rgb": {
    "r": 37,
    "g": 78,
    "b": 119
  },
  "hsl": {
    "h": 210,
    "s": 52.564,
    "l": 30.588
  },
  "oklch": {
    "l": 0.4149,
    "c": 0.08299,
    "h": 250.5
  },
  "luminance": 0.07174
}

Semantic roles & 50–950 ramp

primary
#254E77
secondary
#A97C4E
accent
#944CDC
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#070A0E
muted
#7A7C7E

Preview Lab

Preview with #254E77

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

Preview Lab → · Contrast checker → · Palette generator →

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