#21458F#21458F

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

Color values

HEX#21458F
RGBrgb(33, 69, 143)
HSLhsl(220, 63%, 35%)
HSVhsv(220, 77%, 56%)
CMYKcmyk(76.9%, 51.7%, 0%, 43.9%)
CIE-LABlab(30.79, 14.78, -44.74)
CIE-LCHlch(30.79, 47.11, 288.29°)
OKLaboklab(40.84% -0.0167 -0.1286)
OKLCHoklch(40.84% 0.13 262.6)
XYZxyz(7.7115, 6.5619, 26.8414)
Luminance0.0656 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21458F #8F6B21
analogous
#217C8F #21458F #34218F
triadic
#21458F #8F2145 #458F21
tetradic
#21458F #8F217C #8F6B21 #218F34
square
#21458F #8F217C #8F6B21 #218F34
split-complementary
#21458F #8F3421 #7C8F21
monochromatic
#0A152C #162D5D #21458F #2C5DC1 #537ED7

Accessibility & contrast

On white

9.08
#21458F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #21458F
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21458F#FFFFFF#000000##FFFFFF
##21458F1.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)
#174E92
Deuteranopia (green-blind)
#00448E
Tritanopia (blue-blind)
#005763
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #21458f;
/* rgb */ color: rgb(33, 69, 143);
/* oklch */ color: oklch(40.8% 0.130 262.6);
Tailwind
colors: {
  custom: {
    50: '#6d78b0',
    500: '#21458f',
    950: '#000000',
  },
}
SCSS
$custom: #21458f;
$custom-light: #6d78b0;
$custom-dark: #000000;
JSON
{
  "hex": "#21458f",
  "rgb": {
    "r": 33,
    "g": 69,
    "b": 143
  },
  "hsl": {
    "h": 220.364,
    "s": 62.5,
    "l": 34.51
  },
  "oklch": {
    "l": 0.4084,
    "c": 0.12973,
    "h": 262.6
  },
  "luminance": 0.06563
}

Semantic roles & 50–950 ramp

primary
#21458F
secondary
#BB9851
accent
#B042E6
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #21458F

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

Preview Lab → · Contrast checker → · Palette generator →

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