#21458D#21458D

#21458D is a dark, vivid blue. Relative luminance 0.065; OKLCH L 40.7% C 0.127 H 262.3°. Best body text is #FFFFFF at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#21458D
RGBrgb(33, 69, 141)
HSLhsl(220, 62%, 34%)
HSVhsv(220, 77%, 55%)
CMYKcmyk(76.6%, 51.1%, 0%, 44.7%)
CIE-LABlab(30.64, 13.99, -43.74)
CIE-LCHlch(30.64, 45.92, 287.73°)
OKLaboklab(40.69% -0.017 -0.1257)
OKLCHoklch(40.69% 0.127 262.3)
XYZxyz(7.5613, 6.5018, 26.0506)
Luminance0.0650 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21458D #8D6921
analogous
#217B8D #21458D #33218D
triadic
#21458D #8D2145 #458D21
tetradic
#21458D #8D217B #8D6921 #218D33
square
#21458D #8D217B #8D6921 #218D33
split-complementary
#21458D #8D3321 #7B8D21
monochromatic
#0A142A #152D5B #21458D #2D5DBF #527ED6

Accessibility & contrast

On white

9.13
#21458D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#21458D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21458D
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21458D#FFFFFF#000000##FFFFFF
##21458D1.009.132.309.13
#FFFFFF9.131.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A4D90
Deuteranopia (green-blind)
#00438C
Tritanopia (blue-blind)
#005662
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #21458d;
/* rgb */ color: rgb(33, 69, 141);
/* oklch */ color: oklch(40.7% 0.127 262.3);
Tailwind
colors: {
  custom: {
    50: '#6d78af',
    500: '#21458d',
    950: '#000000',
  },
}
SCSS
$custom: #21458d;
$custom-light: #6d78af;
$custom-dark: #000000;
JSON
{
  "hex": "#21458d",
  "rgb": {
    "r": 33,
    "g": 69,
    "b": 141
  },
  "hsl": {
    "h": 220,
    "s": 62.069,
    "l": 34.118
  },
  "oklch": {
    "l": 0.40685,
    "c": 0.12686,
    "h": 262.3
  },
  "luminance": 0.06503
}

Semantic roles & 50–950 ramp

primary
#21458D
secondary
#BA9750
accent
#AF43E5
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #21458D

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

Preview Lab → · Contrast checker → · Palette generator →

#21458D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva