#254562#254562

#254562 is a dark, moderate cyan. Relative luminance 0.055; OKLCH L 38.0% C 0.063 H 247.6°. Best body text is #FFFFFF at 9.97:1 contrast (WCAG AA passes).

Color values

HEX#254562
RGBrgb(37, 69, 98)
HSLhsl(209, 45%, 26%)
HSVhsv(209, 62%, 38%)
CMYKcmyk(62.2%, 29.6%, 0%, 61.6%)
CIE-LABlab(28.20, -1.98, -20.62)
CIE-LCHlch(28.20, 20.71, 264.52°)
OKLaboklab(37.99% -0.0239 -0.058)
OKLCHoklch(37.99% 0.063 247.6)
XYZxyz(5.0949, 5.5309, 12.3520)
Luminance0.0553 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254562 #624225
analogous
#256261 #254562 #252762
triadic
#254562 #622545 #456225
tetradic
#254562 #612562 #624225 #276225
square
#254562 #612562 #624225 #276225
split-complementary
#254562 #622527 #626125
monochromatic
#081016 #142636 #254562 #36648E #4884BA

Accessibility & contrast

On white

9.97
#254562 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#254562 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254562
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254562#FFFFFF#000000##FFFFFF
##2545621.009.972.119.97
#FFFFFF9.971.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#394663
Deuteranopia (green-blind)
#314061
Tritanopia (blue-blind)
#004C4F
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #254562;
/* rgb */ color: rgb(37, 69, 98);
/* oklch */ color: oklch(38.0% 0.063 247.6);
Tailwind
colors: {
  custom: {
    50: '#65788e',
    500: '#254562',
    950: '#000000',
  },
}
SCSS
$custom: #254562;
$custom-light: #65788e;
$custom-dark: #000000;
JSON
{
  "hex": "#254562",
  "rgb": {
    "r": 37,
    "g": 69,
    "b": 98
  },
  "hsl": {
    "h": 208.525,
    "s": 45.185,
    "l": 26.471
  },
  "oklch": {
    "l": 0.37985,
    "c": 0.06271,
    "h": 247.6
  },
  "luminance": 0.05531
}

Semantic roles & 50–950 ramp

primary
#254562
secondary
#95704E
accent
#9153D5
background
#F6F7F8
surface
#EBEDF0
border
#C6C8CB
text
#06090C
muted
#7A7B7D

Preview Lab

Preview with #254562

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

Preview Lab → · Contrast checker → · Palette generator →

#254562 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva