#154174#154174

#154174 is a dark, moderate cyan. Relative luminance 0.052; OKLCH L 37.4% C 0.100 H 254.6°. Best body text is #FFFFFF at 10.29:1 contrast (WCAG AA passes).

Color values

HEX#154174
RGBrgb(21, 65, 116)
HSLhsl(212, 69%, 27%)
HSVhsv(212, 82%, 45%)
CMYKcmyk(81.9%, 44%, 0%, 54.5%)
CIE-LABlab(27.30, 5.00, -33.55)
CIE-LCHlch(27.30, 33.92, 278.48°)
OKLaboklab(37.44% -0.0264 -0.096)
OKLCHoklch(37.44% 0.1 254.6)
XYZxyz(5.3508, 5.2003, 17.2414)
Luminance0.0520 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154174 #744815
analogous
#157174 #154174 #191574
triadic
#154174 #741541 #417415
tetradic
#154174 #741571 #744815 #157419
square
#154174 #741571 #744815 #157419
split-complementary
#154174 #741915 #717415
monochromatic
#050F1A #0C2440 #154174 #1E5EA8 #2B7BD9

Accessibility & contrast

On white

10.29
#154174 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#154174 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154174
10.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154174#FFFFFF#000000##FFFFFF
##1541741.0010.292.0410.29
#FFFFFF10.291.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284576
Deuteranopia (green-blind)
#173D73
Tritanopia (blue-blind)
#004D54
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #154174;
/* rgb */ color: rgb(21, 65, 116);
/* oklch */ color: oklch(37.4% 0.100 254.6);
Tailwind
colors: {
  custom: {
    50: '#63759c',
    500: '#154174',
    950: '#000000',
  },
}
SCSS
$custom: #154174;
$custom-light: #63759c;
$custom-dark: #000000;
JSON
{
  "hex": "#154174",
  "rgb": {
    "r": 21,
    "g": 65,
    "b": 116
  },
  "hsl": {
    "h": 212.211,
    "s": 69.343,
    "l": 26.863
  },
  "oklch": {
    "l": 0.37441,
    "c": 0.09959,
    "h": 254.6
  },
  "luminance": 0.05201
}

Semantic roles & 50–950 ramp

primary
#154174
secondary
#AA763B
accent
#9A3CEC
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#06080E
muted
#7A7B7E

Preview Lab

Preview with #154174

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

Preview Lab → · Contrast checker → · Palette generator →

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