#21458E#21458E

#21458E is a dark, vivid blue. Relative luminance 0.065; OKLCH L 40.8% C 0.128 H 262.5°. Best body text is #FFFFFF at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#21458E
RGBrgb(33, 69, 142)
HSLhsl(220, 62%, 34%)
HSVhsv(220, 77%, 56%)
CMYKcmyk(76.8%, 51.4%, 0%, 44.3%)
CIE-LABlab(30.72, 14.39, -44.24)
CIE-LCHlch(30.72, 46.52, 288.01°)
OKLaboklab(40.76% -0.0168 -0.1272)
OKLCHoklch(40.76% 0.128 262.5)
XYZxyz(7.6361, 6.5317, 26.4442)
Luminance0.0653 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21458E #8E6A21
analogous
#217C8E #21458E #33218E
triadic
#21458E #8E2145 #458E21
tetradic
#21458E #8E217C #8E6A21 #218E33
square
#21458E #8E217C #8E6A21 #218E33
split-complementary
#21458E #8E3321 #7C8E21
monochromatic
#0A152B #152D5C #21458E #2D5DC0 #527ED7

Accessibility & contrast

On white

9.10
#21458E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#21458E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21458E
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21458E#FFFFFF#000000##FFFFFF
##21458E1.009.102.319.10
#FFFFFF9.101.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#194E91
Deuteranopia (green-blind)
#00448D
Tritanopia (blue-blind)
#005662
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #21458e;
/* rgb */ color: rgb(33, 69, 142);
/* oklch */ color: oklch(40.8% 0.128 262.5);
Tailwind
colors: {
  custom: {
    50: '#6d78b0',
    500: '#21458e',
    950: '#000000',
  },
}
SCSS
$custom: #21458e;
$custom-light: #6d78b0;
$custom-dark: #000000;
JSON
{
  "hex": "#21458e",
  "rgb": {
    "r": 33,
    "g": 69,
    "b": 142
  },
  "hsl": {
    "h": 220.183,
    "s": 62.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.40762,
    "c": 0.1283,
    "h": 262.5
  },
  "luminance": 0.06533
}

Semantic roles & 50–950 ramp

primary
#21458E
secondary
#BA9750
accent
#B042E5
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #21458E

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

Preview Lab → · Contrast checker → · Palette generator →

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