#213FB4#213FB4

#213FB4 is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.8% C 0.188 H 266.6°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#213FB4
RGBrgb(33, 63, 180)
HSLhsl(228, 69%, 42%)
HSVhsv(228, 82%, 71%)
CMYKcmyk(81.7%, 65%, 0%, 29.4%)
CIE-LABlab(32.20, 33.23, -64.76)
CIE-LCHlch(32.20, 72.79, 297.16°)
OKLaboklab(42.84% -0.0111 -0.1875)
OKLCHoklch(42.84% 0.188 266.6)
XYZxyz(10.6400, 7.1724, 43.9948)
Luminance0.0717 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213FB4 #B49621
analogous
#2189B4 #213FB4 #4D21B4
triadic
#213FB4 #B4213F #3FB421
tetradic
#213FB4 #B42189 #B49621 #21B44D
square
#213FB4 #B42189 #B49621 #21B44D
split-complementary
#213FB4 #B44D21 #89B421
monochromatic
#0E1B4D #182D80 #213FB4 #3859DA #6B84E4

Accessibility & contrast

On white

8.62
#213FB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#213FB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213FB4
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213FB4#FFFFFF#000000##FFFFFF
##213FB41.008.622.438.62
#FFFFFF8.621.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B8
Deuteranopia (green-blind)
#0045B2
Tritanopia (blue-blind)
#005E74
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #213fb4;
/* rgb */ color: rgb(33, 63, 180);
/* oklch */ color: oklch(42.8% 0.188 266.6);
Tailwind
colors: {
  custom: {
    50: '#7774cc',
    500: '#213fb4',
    950: '#000000',
  },
}
SCSS
$custom: #213fb4;
$custom-light: #7774cc;
$custom-dark: #000000;
JSON
{
  "hex": "#213fb4",
  "rgb": {
    "r": 33,
    "g": 63,
    "b": 180
  },
  "hsl": {
    "h": 227.755,
    "s": 69.014,
    "l": 41.765
  },
  "oklch": {
    "l": 0.42838,
    "c": 0.18786,
    "h": 266.6
  },
  "luminance": 0.07174
}

Semantic roles & 50–950 ramp

primary
#213FB4
secondary
#CAB667
accent
#C83CEC
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #213FB4

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

Preview Lab → · Contrast checker → · Palette generator →

#213FB4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva