#21488F#21488F

#21488F is a dark, vivid blue. Relative luminance 0.069; OKLCH L 41.5% C 0.126 H 261.2°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#21488F
RGBrgb(33, 72, 143)
HSLhsl(219, 63%, 35%)
HSVhsv(219, 77%, 56%)
CMYKcmyk(76.9%, 49.7%, 0%, 43.9%)
CIE-LABlab(31.67, 12.74, -43.31)
CIE-LCHlch(31.67, 45.15, 286.39°)
OKLaboklab(41.52% -0.0193 -0.1244)
OKLCHoklch(41.52% 0.126 261.2)
XYZxyz(7.9007, 6.9403, 26.9045)
Luminance0.0694 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21488F #8F6821
analogous
#217F8F #21488F #31218F
triadic
#21488F #8F2148 #488F21
tetradic
#21488F #8F217F #8F6821 #218F31
square
#21488F #8F217F #8F6821 #218F31
split-complementary
#21488F #8F3121 #7F8F21
monochromatic
#0A162C #162F5D #21488F #2C61C1 #5382D7

Accessibility & contrast

On white

8.79
#21488F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#21488F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21488F
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21488F#FFFFFF#000000##FFFFFF
##21488F1.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#205092
Deuteranopia (green-blind)
#00468E
Tritanopia (blue-blind)
#005964
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #21488f;
/* rgb */ color: rgb(33, 72, 143);
/* oklch */ color: oklch(41.5% 0.126 261.2);
Tailwind
colors: {
  custom: {
    50: '#6d7ab0',
    500: '#21488f',
    950: '#000000',
  },
}
SCSS
$custom: #21488f;
$custom-light: #6d7ab0;
$custom-dark: #000000;
JSON
{
  "hex": "#21488f",
  "rgb": {
    "r": 33,
    "g": 72,
    "b": 143
  },
  "hsl": {
    "h": 218.727,
    "s": 62.5,
    "l": 34.51
  },
  "oklch": {
    "l": 0.41515,
    "c": 0.1259,
    "h": 261.2
  },
  "luminance": 0.06941
}

Semantic roles & 50–950 ramp

primary
#21488F
secondary
#BB9551
accent
#AC42E6
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #21488F

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

Preview Lab → · Contrast checker → · Palette generator →

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