#213FA2#213FA2

#213FA2 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.2% C 0.164 H 266.2°. Best body text is #FFFFFF at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#213FA2
RGBrgb(33, 63, 162)
HSLhsl(226, 66%, 38%)
HSVhsv(226, 80%, 64%)
CMYKcmyk(79.6%, 61.1%, 0%, 36.5%)
CIE-LABlab(30.61, 26.36, -56.59)
CIE-LCHlch(30.61, 62.43, 294.98°)
OKLaboklab(41.17% -0.0109 -0.1636)
OKLCHoklch(41.17% 0.164 266.2)
XYZxyz(8.9240, 6.4860, 34.9570)
Luminance0.0649 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213FA2 #A28421
analogous
#217FA2 #213FA2 #4421A2
triadic
#213FA2 #A2213F #3FA221
tetradic
#213FA2 #A2217F #A28421 #21A244
square
#213FA2 #A2217F #A28421 #21A244
split-complementary
#213FA2 #A24421 #7FA221
monochromatic
#0C173C #172B6F #213FA2 #2C53D4 #5F7DDE

Accessibility & contrast

On white

9.14
#213FA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#213FA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213FA2
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213FA2#FFFFFF#000000##FFFFFF
##213FA21.009.142.309.14
#FFFFFF9.141.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA5
Deuteranopia (green-blind)
#0042A0
Tritanopia (blue-blind)
#00586A
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #213fa2;
/* rgb */ color: rgb(33, 63, 162);
/* oklch */ color: oklch(41.2% 0.164 266.2);
Tailwind
colors: {
  custom: {
    50: '#7273be',
    500: '#213fa2',
    950: '#000000',
  },
}
SCSS
$custom: #213fa2;
$custom-light: #7273be;
$custom-dark: #000000;
JSON
{
  "hex": "#213fa2",
  "rgb": {
    "r": 33,
    "g": 63,
    "b": 162
  },
  "hsl": {
    "h": 226.047,
    "s": 66.154,
    "l": 38.235
  },
  "oklch": {
    "l": 0.41172,
    "c": 0.16396,
    "h": 266.2
  },
  "luminance": 0.06487
}

Semantic roles & 50–950 ramp

primary
#213FA2
secondary
#C3AB5C
accent
#C13FE9
background
#F7F6FB
surface
#EEECF7
border
#C9C7D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #213FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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