#213FA0#213FA0

#213FA0 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.0% C 0.161 H 266.1°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#213FA0
RGBrgb(33, 63, 160)
HSLhsl(226, 66%, 38%)
HSVhsv(226, 79%, 63%)
CMYKcmyk(79.4%, 60.6%, 0%, 37.3%)
CIE-LABlab(30.44, 25.59, -55.66)
CIE-LCHlch(30.44, 61.26, 294.69°)
OKLaboklab(40.99% -0.011 -0.1609)
OKLCHoklch(40.99% 0.161 266.1)
XYZxyz(8.7476, 6.4154, 34.0282)
Luminance0.0642 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213FA0 #A08221
analogous
#217EA0 #213FA0 #4321A0
triadic
#213FA0 #A0213F #3FA021
tetradic
#213FA0 #A0217E #A08221 #21A043
square
#213FA0 #A0217E #A08221 #21A043
split-complementary
#213FA0 #A04321 #7EA021
monochromatic
#0C173B #172B6D #213FA0 #2B53D3 #5E7CDE

Accessibility & contrast

On white

9.20
#213FA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#213FA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213FA0
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213FA0#FFFFFF#000000##FFFFFF
##213FA01.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA3
Deuteranopia (green-blind)
#00429E
Tritanopia (blue-blind)
#005869
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #213fa0;
/* rgb */ color: rgb(33, 63, 160);
/* oklch */ color: oklch(41.0% 0.161 266.1);
Tailwind
colors: {
  custom: {
    50: '#7273bd',
    500: '#213fa0',
    950: '#000000',
  },
}
SCSS
$custom: #213fa0;
$custom-light: #7273bd;
$custom-dark: #000000;
JSON
{
  "hex": "#213fa0",
  "rgb": {
    "r": 33,
    "g": 63,
    "b": 160
  },
  "hsl": {
    "h": 225.827,
    "s": 65.803,
    "l": 37.843
  },
  "oklch": {
    "l": 0.40993,
    "c": 0.16124,
    "h": 266.1
  },
  "luminance": 0.06416
}

Semantic roles & 50–950 ramp

primary
#213FA0
secondary
#C2AA5B
accent
#C13FE9
background
#F7F6FB
surface
#EDECF7
border
#C8C7D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #213FA0

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

Preview Lab → · Contrast checker → · Palette generator →

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