#21468C#21468C

#21468C is a dark, vivid blue. Relative luminance 0.066; OKLCH L 40.8% C 0.124 H 261.7°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#21468C
RGBrgb(33, 70, 140)
HSLhsl(219, 62%, 34%)
HSVhsv(219, 76%, 55%)
CMYKcmyk(76.4%, 50%, 0%, 45.1%)
CIE-LABlab(30.87, 12.90, -42.76)
CIE-LCHlch(30.87, 44.67, 286.79°)
OKLaboklab(40.83% -0.018 -0.1228)
OKLCHoklch(40.83% 0.124 261.7)
XYZxyz(7.5493, 6.5963, 25.6812)
Luminance0.0660 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21468C #8C6721
analogous
#217C8C #21468C #31218C
triadic
#21468C #8C2146 #468C21
tetradic
#21468C #8C217C #8C6721 #218C31
square
#21468C #8C217C #8C6721 #218C31
split-complementary
#21468C #8C3121 #7C8C21
monochromatic
#0A1429 #152D5A #21468C #2D5FBE #517FD6

Accessibility & contrast

On white

9.05
#21468C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#21468C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21468C
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21468C#FFFFFF#000000##FFFFFF
##21468C1.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4E8F
Deuteranopia (green-blind)
#00448B
Tritanopia (blue-blind)
#005762
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #21468c;
/* rgb */ color: rgb(33, 70, 140);
/* oklch */ color: oklch(40.8% 0.124 261.7);
Tailwind
colors: {
  custom: {
    50: '#6c78ae',
    500: '#21468c',
    950: '#000000',
  },
}
SCSS
$custom: #21468c;
$custom-light: #6c78ae;
$custom-dark: #000000;
JSON
{
  "hex": "#21468c",
  "rgb": {
    "r": 33,
    "g": 70,
    "b": 140
  },
  "hsl": {
    "h": 219.252,
    "s": 61.85,
    "l": 33.922
  },
  "oklch": {
    "l": 0.40834,
    "c": 0.12414,
    "h": 261.7
  },
  "luminance": 0.06597
}

Semantic roles & 50–950 ramp

primary
#21468C
secondary
#B9954F
accent
#AD43E5
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #21468C

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

Preview Lab → · Contrast checker → · Palette generator →

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