#21428A#21428A

#21428A is a dark, vivid blue. Relative luminance 0.061; OKLCH L 39.8% C 0.126 H 263.3°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#21428A
RGBrgb(33, 66, 138)
HSLhsl(221, 61%, 34%)
HSVhsv(221, 76%, 54%)
CMYKcmyk(76.1%, 52.2%, 0%, 45.9%)
CIE-LABlab(29.55, 14.85, -43.66)
CIE-LCHlch(29.55, 46.12, 288.79°)
OKLaboklab(39.78% -0.0148 -0.1255)
OKLCHoklch(39.78% 0.126 263.3)
XYZxyz(7.1612, 6.0540, 24.8309)
Luminance0.0605 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21428A #8A6921
analogous
#21768A #21428A #34218A
triadic
#21428A #8A2142 #428A21
tetradic
#21428A #8A2176 #8A6921 #218A34
square
#21428A #8A2176 #8A6921 #218A34
split-complementary
#21428A #8A3421 #768A21
monochromatic
#091327 #152A59 #21428A #2D5ABB #507AD5

Accessibility & contrast

On white

9.50
#21428A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#21428A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21428A
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21428A#FFFFFF#000000##FFFFFF
##21428A1.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#154B8D
Deuteranopia (green-blind)
#004189
Tritanopia (blue-blind)
#00535F
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #21428a;
/* rgb */ color: rgb(33, 66, 138);
/* oklch */ color: oklch(39.8% 0.126 263.3);
Tailwind
colors: {
  custom: {
    50: '#6c75ad',
    500: '#21428a',
    950: '#000000',
  },
}
SCSS
$custom: #21428a;
$custom-light: #6c75ad;
$custom-dark: #000000;
JSON
{
  "hex": "#21428a",
  "rgb": {
    "r": 33,
    "g": 66,
    "b": 138
  },
  "hsl": {
    "h": 221.143,
    "s": 61.404,
    "l": 33.529
  },
  "oklch": {
    "l": 0.39779,
    "c": 0.12642,
    "h": 263.3
  },
  "luminance": 0.06055
}

Semantic roles & 50–950 ramp

primary
#21428A
secondary
#B9974E
accent
#B243E5
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#080810
muted
#7A7B7F

Preview Lab

Preview with #21428A

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

Preview Lab → · Contrast checker → · Palette generator →

#21428A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva