#21458A#21458A

#21458A is a dark, vivid blue. Relative luminance 0.064; OKLCH L 40.5% C 0.123 H 261.8°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#21458A
RGBrgb(33, 69, 138)
HSLhsl(219, 61%, 34%)
HSVhsv(219, 76%, 54%)
CMYKcmyk(76.1%, 50%, 0%, 45.9%)
CIE-LABlab(30.43, 12.79, -42.23)
CIE-LCHlch(30.43, 44.13, 286.85°)
OKLaboklab(40.46% -0.0174 -0.1213)
OKLCHoklch(40.46% 0.123 261.8)
XYZxyz(7.3411, 6.4137, 24.8909)
Luminance0.0641 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21458A #8A6621
analogous
#21798A #21458A #31218A
triadic
#21458A #8A2145 #458A21
tetradic
#21458A #8A2179 #8A6621 #218A31
square
#21458A #8A2179 #8A6621 #218A31
split-complementary
#21458A #8A3121 #798A21
monochromatic
#091427 #152C59 #21458A #2D5EBB #507ED5

Accessibility & contrast

On white

9.20
#21458A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#21458A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21458A
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21458A#FFFFFF#000000##FFFFFF
##21458A1.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4D8D
Deuteranopia (green-blind)
#004389
Tritanopia (blue-blind)
#005561
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #21458a;
/* rgb */ color: rgb(33, 69, 138);
/* oklch */ color: oklch(40.5% 0.123 261.8);
Tailwind
colors: {
  custom: {
    50: '#6c78ad',
    500: '#21458a',
    950: '#000000',
  },
}
SCSS
$custom: #21458a;
$custom-light: #6c78ad;
$custom-dark: #000000;
JSON
{
  "hex": "#21458a",
  "rgb": {
    "r": 33,
    "g": 69,
    "b": 138
  },
  "hsl": {
    "h": 219.429,
    "s": 61.404,
    "l": 33.529
  },
  "oklch": {
    "l": 0.40455,
    "c": 0.12253,
    "h": 261.8
  },
  "luminance": 0.06415
}

Semantic roles & 50–950 ramp

primary
#21458A
secondary
#B9944E
accent
#AD43E5
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#080810
muted
#7A7B7F

Preview Lab

Preview with #21458A

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

Preview Lab → · Contrast checker → · Palette generator →

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