#154371#154371

#154371 is a dark, moderate cyan. Relative luminance 0.054; OKLCH L 37.7% C 0.093 H 251.7°. Best body text is #FFFFFF at 10.13:1 contrast (WCAG AA passes).

Color values

HEX#154371
RGBrgb(21, 67, 113)
HSLhsl(210, 69%, 26%)
HSVhsv(210, 81%, 44%)
CMYKcmyk(81.4%, 40.7%, 0%, 55.7%)
CIE-LABlab(27.75, 2.39, -30.93)
CIE-LCHlch(27.75, 31.02, 274.42°)
OKLaboklab(37.73% -0.0291 -0.0883)
OKLCHoklch(37.73% 0.093 251.7)
XYZxyz(5.2959, 5.3654, 16.3761)
Luminance0.0537 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154371 #714315
analogous
#157171 #154371 #151571
triadic
#154371 #711543 #437115
tetradic
#154371 #711571 #714315 #157115
square
#154371 #711571 #714315 #157115
split-complementary
#154371 #711515 #717115
monochromatic
#050F1A #0B243D #154371 #1F62A5 #2980D7

Accessibility & contrast

On white

10.13
#154371 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#154371 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154371
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154371#FFFFFF#000000##FFFFFF
##1543711.0010.132.0710.13
#FFFFFF10.131.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D4673
Deuteranopia (green-blind)
#1F3E70
Tritanopia (blue-blind)
#004E54
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #154371;
/* rgb */ color: rgb(21, 67, 113);
/* oklch */ color: oklch(37.7% 0.093 251.7);
Tailwind
colors: {
  custom: {
    50: '#62769a',
    500: '#154371',
    950: '#000000',
  },
}
SCSS
$custom: #154371;
$custom-light: #62769a;
$custom-dark: #000000;
JSON
{
  "hex": "#154371",
  "rgb": {
    "r": 21,
    "g": 67,
    "b": 113
  },
  "hsl": {
    "h": 210,
    "s": 68.657,
    "l": 26.275
  },
  "oklch": {
    "l": 0.37733,
    "c": 0.09295,
    "h": 251.7
  },
  "luminance": 0.05366
}

Semantic roles & 50–950 ramp

primary
#154371
secondary
#A7713B
accent
#943CEB
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#06080E
muted
#7A7B7E

Preview Lab

Preview with #154371

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

Preview Lab → · Contrast checker → · Palette generator →

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