#21468E#21468E

#21468E is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.0% C 0.127 H 262.0°. Best body text is #FFFFFF at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#21468E
RGBrgb(33, 70, 142)
HSLhsl(220, 62%, 34%)
HSVhsv(220, 77%, 56%)
CMYKcmyk(76.8%, 50.7%, 0%, 44.3%)
CIE-LABlab(31.01, 13.70, -43.76)
CIE-LCHlch(31.01, 45.86, 287.38°)
OKLaboklab(40.99% -0.0177 -0.1258)
OKLCHoklch(40.99% 0.127 262)
XYZxyz(7.6981, 6.6558, 26.4649)
Luminance0.0666 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21468E #8E6921
analogous
#217D8E #21468E #33218E
triadic
#21468E #8E2146 #468E21
tetradic
#21468E #8E217D #8E6921 #218E33
square
#21468E #8E217D #8E6921 #218E33
split-complementary
#21468E #8E3321 #7D8E21
monochromatic
#0A152B #152E5C #21468E #2D5EC0 #527FD7

Accessibility & contrast

On white

9.01
#21468E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#21468E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21468E
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21468E#FFFFFF#000000##FFFFFF
##21468E1.009.012.339.01
#FFFFFF9.011.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C4E91
Deuteranopia (green-blind)
#00448D
Tritanopia (blue-blind)
#005763
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #21468e;
/* rgb */ color: rgb(33, 70, 142);
/* oklch */ color: oklch(41.0% 0.127 262.0);
Tailwind
colors: {
  custom: {
    50: '#6d78b0',
    500: '#21468e',
    950: '#000000',
  },
}
SCSS
$custom: #21468e;
$custom-light: #6d78b0;
$custom-dark: #000000;
JSON
{
  "hex": "#21468e",
  "rgb": {
    "r": 33,
    "g": 70,
    "b": 142
  },
  "hsl": {
    "h": 219.633,
    "s": 62.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.40987,
    "c": 0.12701,
    "h": 262
  },
  "luminance": 0.06657
}

Semantic roles & 50–950 ramp

primary
#21468E
secondary
#BA9650
accent
#AE42E5
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #21468E

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

Preview Lab → · Contrast checker → · Palette generator →

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