#21468B#21468B

#21468B is a dark, vivid blue. Relative luminance 0.066; OKLCH L 40.8% C 0.123 H 261.5°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#21468B
RGBrgb(33, 70, 139)
HSLhsl(219, 62%, 34%)
HSVhsv(219, 76%, 55%)
CMYKcmyk(76.3%, 49.6%, 0%, 45.5%)
CIE-LABlab(30.80, 12.51, -42.26)
CIE-LCHlch(30.80, 44.07, 286.49°)
OKLaboklab(40.76% -0.0181 -0.1213)
OKLCHoklch(40.76% 0.123 261.5)
XYZxyz(7.4759, 6.5669, 25.2946)
Luminance0.0657 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21468B #8B6621
analogous
#217B8B #21468B #31218B
triadic
#21468B #8B2146 #468B21
tetradic
#21468B #8B217B #8B6621 #218B31
square
#21468B #8B217B #8B6621 #218B31
split-complementary
#21468B #8B3121 #7B8B21
monochromatic
#0A1428 #152D5A #21468B #2D5FBC #517FD6

Accessibility & contrast

On white

9.08
#21468B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#21468B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21468B
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21468B#FFFFFF#000000##FFFFFF
##21468B1.009.082.319.08
#FFFFFF9.081.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4E8E
Deuteranopia (green-blind)
#00448A
Tritanopia (blue-blind)
#005662
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #21468b;
/* rgb */ color: rgb(33, 70, 139);
/* oklch */ color: oklch(40.8% 0.123 261.5);
Tailwind
colors: {
  custom: {
    50: '#6c78ad',
    500: '#21468b',
    950: '#000000',
  },
}
SCSS
$custom: #21468b;
$custom-light: #6c78ad;
$custom-dark: #000000;
JSON
{
  "hex": "#21468b",
  "rgb": {
    "r": 33,
    "g": 70,
    "b": 139
  },
  "hsl": {
    "h": 219.057,
    "s": 61.628,
    "l": 33.725
  },
  "oklch": {
    "l": 0.40758,
    "c": 0.12269,
    "h": 261.5
  },
  "luminance": 0.06568
}

Semantic roles & 50–950 ramp

primary
#21468B
secondary
#B9944F
accent
#AC43E5
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#080910
muted
#7A7B7F

Preview Lab

Preview with #21468B

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

Preview Lab → · Contrast checker → · Palette generator →

#21468B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva