#154173#154173

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

Color values

HEX#154173
RGBrgb(21, 65, 115)
HSLhsl(212, 69%, 27%)
HSVhsv(212, 82%, 45%)
CMYKcmyk(81.7%, 43.5%, 0%, 54.9%)
CIE-LABlab(27.23, 4.58, -33.02)
CIE-LCHlch(27.23, 33.34, 277.90°)
OKLaboklab(37.37% -0.0267 -0.0945)
OKLCHoklch(37.37% 0.098 254.2)
XYZxyz(5.2929, 5.1772, 16.9367)
Luminance0.0518 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154173 #734715
analogous
#157073 #154173 #181573
triadic
#154173 #731541 #417315
tetradic
#154173 #731570 #734715 #157318
square
#154173 #731570 #734715 #157318
split-complementary
#154173 #731815 #707315
monochromatic
#050F1A #0C243F #154173 #1E5EA7 #2A7CD8

Accessibility & contrast

On white

10.32
#154173 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #154173
10.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154173#FFFFFF#000000##FFFFFF
##1541731.0010.322.0410.32
#FFFFFF10.321.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284575
Deuteranopia (green-blind)
#183C72
Tritanopia (blue-blind)
#004D54
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #154173;
/* rgb */ color: rgb(21, 65, 115);
/* oklch */ color: oklch(37.4% 0.098 254.2);
Tailwind
colors: {
  custom: {
    50: '#62759b',
    500: '#154173',
    950: '#000000',
  },
}
SCSS
$custom: #154173;
$custom-light: #62759b;
$custom-dark: #000000;
JSON
{
  "hex": "#154173",
  "rgb": {
    "r": 21,
    "g": 65,
    "b": 115
  },
  "hsl": {
    "h": 211.915,
    "s": 69.118,
    "l": 26.667
  },
  "oklch": {
    "l": 0.3737,
    "c": 0.09815,
    "h": 254.2
  },
  "luminance": 0.05178
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #154173

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

Preview Lab → · Contrast checker → · Palette generator →

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