#21458C#21458C

#21458C is a dark, vivid blue. Relative luminance 0.065; OKLCH L 40.6% C 0.125 H 262.2°. Best body text is #FFFFFF at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#21458C
RGBrgb(33, 69, 140)
HSLhsl(220, 62%, 34%)
HSVhsv(220, 76%, 55%)
CMYKcmyk(76.4%, 50.7%, 0%, 45.1%)
CIE-LABlab(30.57, 13.59, -43.24)
CIE-LCHlch(30.57, 45.32, 287.45°)
OKLaboklab(40.61% -0.0171 -0.1242)
OKLCHoklch(40.61% 0.125 262.2)
XYZxyz(7.4872, 6.4722, 25.6605)
Luminance0.0647 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21458C #8C6821
analogous
#217B8C #21458C #33218C
triadic
#21458C #8C2145 #458C21
tetradic
#21458C #8C217B #8C6821 #218C33
square
#21458C #8C217B #8C6821 #218C33
split-complementary
#21458C #8C3321 #7B8C21
monochromatic
#0A1429 #152D5A #21458C #2D5DBE #517ED6

Accessibility & contrast

On white

9.15
#21458C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#21458C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21458C
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21458C#FFFFFF#000000##FFFFFF
##21458C1.009.152.299.15
#FFFFFF9.151.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.151.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #21458c;
/* rgb */ color: rgb(33, 69, 140);
/* oklch */ color: oklch(40.6% 0.125 262.2);
Tailwind
colors: {
  custom: {
    50: '#6c78ae',
    500: '#21458c',
    950: '#000000',
  },
}
SCSS
$custom: #21458c;
$custom-light: #6c78ae;
$custom-dark: #000000;
JSON
{
  "hex": "#21458c",
  "rgb": {
    "r": 33,
    "g": 69,
    "b": 140
  },
  "hsl": {
    "h": 219.813,
    "s": 61.85,
    "l": 33.922
  },
  "oklch": {
    "l": 0.40608,
    "c": 0.12542,
    "h": 262.2
  },
  "luminance": 0.06473
}

Semantic roles & 50–950 ramp

primary
#21458C
secondary
#B9964F
accent
#AE43E5
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #21458C

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

Preview Lab → · Contrast checker → · Palette generator →

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