#154382#154382

#154382 is a dark, moderate cyan. Relative luminance 0.058; OKLCH L 39.0% C 0.117 H 257.6°. Best body text is #FFFFFF at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#154382
RGBrgb(21, 67, 130)
HSLhsl(215, 72%, 30%)
HSVhsv(215, 84%, 51%)
CMYKcmyk(83.8%, 48.5%, 0%, 49%)
CIE-LABlab(28.86, 9.45, -39.83)
CIE-LCHlch(28.86, 40.93, 283.35°)
OKLaboklab(38.96% -0.0253 -0.1144)
OKLCHoklch(38.96% 0.117 257.6)
XYZxyz(6.3442, 5.7847, 21.8969)
Luminance0.0578 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154382 #825415
analogous
#157A82 #154382 #1E1582
triadic
#154382 #821543 #438215
tetradic
#154382 #82157A #825415 #15821E
square
#154382 #82157A #825415 #15821E
split-complementary
#154382 #821E15 #7A8215
monochromatic
#040E1A #0C284D #154382 #1E5EB7 #337BDE

Accessibility & contrast

On white

9.74
#154382 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#154382 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154382
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154382#FFFFFF#000000##FFFFFF
##1543821.009.742.169.74
#FFFFFF9.741.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204984
Deuteranopia (green-blind)
#013F81
Tritanopia (blue-blind)
#00525C
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #154382;
/* rgb */ color: rgb(21, 67, 130);
/* oklch */ color: oklch(39.0% 0.117 257.6);
Tailwind
colors: {
  custom: {
    50: '#6676a7',
    500: '#154382',
    950: '#000000',
  },
}
SCSS
$custom: #154382;
$custom-light: #6676a7;
$custom-dark: #000000;
JSON
{
  "hex": "#154382",
  "rgb": {
    "r": 21,
    "g": 67,
    "b": 130
  },
  "hsl": {
    "h": 214.679,
    "s": 72.185,
    "l": 29.608
  },
  "oklch": {
    "l": 0.38955,
    "c": 0.11718,
    "h": 257.6
  },
  "luminance": 0.05785
}

Semantic roles & 50–950 ramp

primary
#154382
secondary
#B7833C
accent
#A239EF
background
#F6F7FA
surface
#EBEDF4
border
#C6C8CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #154382

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

Preview Lab → · Contrast checker → · Palette generator →

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