#254E72#254E72

#254E72 is a dark, moderate cyan. Relative luminance 0.071; OKLCH L 41.2% C 0.076 H 247.4°. Best body text is #FFFFFF at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#254E72
RGBrgb(37, 78, 114)
HSLhsl(208, 51%, 30%)
HSVhsv(208, 68%, 45%)
CMYKcmyk(67.5%, 31.6%, 0%, 55.3%)
CIE-LABlab(31.93, -1.90, -24.91)
CIE-LCHlch(31.93, 24.98, 265.64°)
OKLaboklab(41.2% -0.0293 -0.0703)
OKLCHoklch(41.2% 0.076 247.4)
XYZxyz(6.5235, 7.0563, 16.9345)
Luminance0.0706 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254E72 #724925
analogous
#257270 #254E72 #252872
triadic
#254E72 #72254E #4E7225
tetradic
#254E72 #702572 #724925 #287225
square
#254E72 #702572 #724925 #287225
split-complementary
#254E72 #722528 #727025
monochromatic
#071017 #162E44 #254E72 #346EA0 #4C8DC5

Accessibility & contrast

On white

8.71
#254E72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#254E72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254E72
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254E72#FFFFFF#000000##FFFFFF
##254E721.008.712.418.71
#FFFFFF8.711.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E4F74
Deuteranopia (green-blind)
#344871
Tritanopia (blue-blind)
#00575B
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #254e72;
/* rgb */ color: rgb(37, 78, 114);
/* oklch */ color: oklch(41.2% 0.076 247.4);
Tailwind
colors: {
  custom: {
    50: '#687f9a',
    500: '#254e72',
    950: '#000000',
  },
}
SCSS
$custom: #254e72;
$custom-light: #687f9a;
$custom-dark: #000000;
JSON
{
  "hex": "#254e72",
  "rgb": {
    "r": 37,
    "g": 78,
    "b": 114
  },
  "hsl": {
    "h": 208.052,
    "s": 50.993,
    "l": 29.608
  },
  "oklch": {
    "l": 0.41197,
    "c": 0.07618,
    "h": 247.4
  },
  "luminance": 0.07057
}

Semantic roles & 50–950 ramp

primary
#254E72
secondary
#A5774E
accent
#8F4DDA
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#070A0E
muted
#7A7C7E

Preview Lab

Preview with #254E72

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

Preview Lab → · Contrast checker → · Palette generator →

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