#154284#154284

#154284 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 38.9% C 0.121 H 258.5°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#154284
RGBrgb(21, 66, 132)
HSLhsl(216, 73%, 30%)
HSVhsv(216, 84%, 52%)
CMYKcmyk(84.1%, 50%, 0%, 48.2%)
CIE-LABlab(28.70, 10.97, -41.34)
CIE-LCHlch(28.70, 42.77, 284.87°)
OKLaboklab(38.87% -0.0241 -0.1189)
OKLCHoklch(38.87% 0.121 258.5)
XYZxyz(6.4208, 5.7210, 22.5912)
Luminance0.0572 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154284 #845715
analogous
#157984 #154284 #201584
triadic
#154284 #841542 #428415
tetradic
#154284 #841579 #845715 #158420
square
#154284 #841579 #845715 #158420
split-complementary
#154284 #842015 #798415
monochromatic
#040D1A #0D284F #154284 #1D5CB9 #357ADF

Accessibility & contrast

On white

9.79
#154284 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#154284 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154284
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154284#FFFFFF#000000##FFFFFF
##1542841.009.792.149.79
#FFFFFF9.791.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B4986
Deuteranopia (green-blind)
#003F83
Tritanopia (blue-blind)
#00525C
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #154284;
/* rgb */ color: rgb(21, 66, 132);
/* oklch */ color: oklch(38.9% 0.121 258.5);
Tailwind
colors: {
  custom: {
    50: '#6775a8',
    500: '#154284',
    950: '#000000',
  },
}
SCSS
$custom: #154284;
$custom-light: #6775a8;
$custom-dark: #000000;
JSON
{
  "hex": "#154284",
  "rgb": {
    "r": 21,
    "g": 66,
    "b": 132
  },
  "hsl": {
    "h": 215.676,
    "s": 72.549,
    "l": 30
  },
  "oklch": {
    "l": 0.38873,
    "c": 0.12131,
    "h": 258.5
  },
  "luminance": 0.05722
}

Semantic roles & 50–950 ramp

primary
#154284
secondary
#B9863C
accent
#A539EF
background
#F6F7FA
surface
#EBEDF4
border
#C6C8CE
text
#070810
muted
#7A7B7F

Preview Lab

Preview with #154284

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

Preview Lab → · Contrast checker → · Palette generator →

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