#154182#154182

#154182 is a dark, moderate blue. Relative luminance 0.056; OKLCH L 38.5% C 0.120 H 258.6°. Best body text is #FFFFFF at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#154182
RGBrgb(21, 65, 130)
HSLhsl(216, 72%, 30%)
HSVhsv(216, 84%, 51%)
CMYKcmyk(83.8%, 50%, 0%, 49%)
CIE-LABlab(28.25, 10.84, -40.81)
CIE-LCHlch(28.25, 42.23, 284.87°)
OKLaboklab(38.48% -0.0236 -0.1174)
OKLCHoklch(38.48% 0.12 258.6)
XYZxyz(6.2273, 5.5510, 21.8580)
Luminance0.0555 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154182 #825615
analogous
#157882 #154182 #201582
triadic
#154182 #821541 #418215
tetradic
#154182 #821578 #825615 #158220
square
#154182 #821578 #825615 #158220
split-complementary
#154182 #822015 #788215
monochromatic
#040D1A #0C274D #154182 #1E5BB7 #3378DE

Accessibility & contrast

On white

9.95
#154182 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#154182 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154182
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154182#FFFFFF#000000##FFFFFF
##1541821.009.952.119.95
#FFFFFF9.951.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B4884
Deuteranopia (green-blind)
#003E81
Tritanopia (blue-blind)
#00515B
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #154182;
/* rgb */ color: rgb(21, 65, 130);
/* oklch */ color: oklch(38.5% 0.120 258.6);
Tailwind
colors: {
  custom: {
    50: '#6675a7',
    500: '#154182',
    950: '#000000',
  },
}
SCSS
$custom: #154182;
$custom-light: #6675a7;
$custom-dark: #000000;
JSON
{
  "hex": "#154182",
  "rgb": {
    "r": 21,
    "g": 65,
    "b": 130
  },
  "hsl": {
    "h": 215.78,
    "s": 72.185,
    "l": 29.608
  },
  "oklch": {
    "l": 0.38483,
    "c": 0.11972,
    "h": 258.6
  },
  "luminance": 0.05552
}

Semantic roles & 50–950 ramp

primary
#154182
secondary
#B7853C
accent
#A539EF
background
#F6F7FA
surface
#EBEDF4
border
#C6C8CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #154182

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

Preview Lab → · Contrast checker → · Palette generator →

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