#154381#154381

#154381 is a dark, moderate cyan. Relative luminance 0.058; OKLCH L 38.9% C 0.116 H 257.3°. Best body text is #FFFFFF at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#154381
RGBrgb(21, 67, 129)
HSLhsl(214, 72%, 29%)
HSVhsv(214, 84%, 51%)
CMYKcmyk(83.7%, 48.1%, 0%, 49.4%)
CIE-LABlab(28.79, 9.03, -39.31)
CIE-LCHlch(28.79, 40.34, 282.94°)
OKLaboklab(38.88% -0.0254 -0.1129)
OKLCHoklch(38.88% 0.116 257.3)
XYZxyz(6.2774, 5.7580, 21.5452)
Luminance0.0576 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154381 #815315
analogous
#157981 #154381 #1D1581
triadic
#154381 #811543 #438115
tetradic
#154381 #811579 #815315 #15811D
square
#154381 #811579 #815315 #15811D
split-complementary
#154381 #811D15 #798115
monochromatic
#040E1A #0C284C #154381 #1E5EB6 #337CDE

Accessibility & contrast

On white

9.76
#154381 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#154381 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154381
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154381#FFFFFF#000000##FFFFFF
##1543811.009.762.159.76
#FFFFFF9.761.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214983
Deuteranopia (green-blind)
#033F80
Tritanopia (blue-blind)
#00525B
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #154381;
/* rgb */ color: rgb(21, 67, 129);
/* oklch */ color: oklch(38.9% 0.116 257.3);
Tailwind
colors: {
  custom: {
    50: '#6676a6',
    500: '#154381',
    950: '#000000',
  },
}
SCSS
$custom: #154381;
$custom-light: #6676a6;
$custom-dark: #000000;
JSON
{
  "hex": "#154381",
  "rgb": {
    "r": 21,
    "g": 67,
    "b": 129
  },
  "hsl": {
    "h": 214.444,
    "s": 72,
    "l": 29.412
  },
  "oklch": {
    "l": 0.38879,
    "c": 0.11575,
    "h": 257.3
  },
  "luminance": 0.05759
}

Semantic roles & 50–950 ramp

primary
#154381
secondary
#B6823C
accent
#A139EF
background
#F6F7FA
surface
#EBEDF4
border
#C6C8CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #154381

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

Preview Lab → · Contrast checker → · Palette generator →

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