#21438F#21438F

#21438F is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.4% C 0.132 H 263.5°. Best body text is #FFFFFF at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#21438F
RGBrgb(33, 67, 143)
HSLhsl(221, 63%, 35%)
HSVhsv(221, 77%, 56%)
CMYKcmyk(76.9%, 53.1%, 0%, 43.9%)
CIE-LABlab(30.21, 16.16, -45.68)
CIE-LCHlch(30.21, 48.45, 289.48°)
OKLaboklab(40.4% -0.015 -0.1315)
OKLCHoklch(40.4% 0.132 263.5)
XYZxyz(7.5905, 6.3200, 26.8011)
Luminance0.0632 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21438F #8F6D21
analogous
#217A8F #21438F #36218F
triadic
#21438F #8F2143 #438F21
tetradic
#21438F #8F217A #8F6D21 #218F36
square
#21438F #8F217A #8F6D21 #218F36
split-complementary
#21438F #8F3621 #7A8F21
monochromatic
#0A142C #162C5D #21438F #2C5AC1 #537CD7

Accessibility & contrast

On white

9.27
#21438F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#21438F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21438F
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21438F#FFFFFF#000000##FFFFFF
##21438F1.009.272.269.27
#FFFFFF9.271.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#104C92
Deuteranopia (green-blind)
#00428D
Tritanopia (blue-blind)
#005562
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #21438f;
/* rgb */ color: rgb(33, 67, 143);
/* oklch */ color: oklch(40.4% 0.132 263.5);
Tailwind
colors: {
  custom: {
    50: '#6d76b0',
    500: '#21438f',
    950: '#000000',
  },
}
SCSS
$custom: #21438f;
$custom-light: #6d76b0;
$custom-dark: #000000;
JSON
{
  "hex": "#21438f",
  "rgb": {
    "r": 33,
    "g": 67,
    "b": 143
  },
  "hsl": {
    "h": 221.455,
    "s": 62.5,
    "l": 34.51
  },
  "oklch": {
    "l": 0.40396,
    "c": 0.13232,
    "h": 263.5
  },
  "luminance": 0.06321
}

Semantic roles & 50–950 ramp

primary
#21438F
secondary
#BB9A51
accent
#B342E6
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#080811
muted
#7B7B80

Preview Lab

Preview with #21438F

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

Preview Lab → · Contrast checker → · Palette generator →

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