#213FA8#213FA8

#213FA8 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.7% C 0.172 H 266.4°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#213FA8
RGBrgb(33, 63, 168)
HSLhsl(227, 67%, 39%)
HSVhsv(227, 80%, 66%)
CMYKcmyk(80.4%, 62.5%, 0%, 34.1%)
CIE-LABlab(31.12, 28.68, -59.36)
CIE-LCHlch(31.12, 65.92, 295.79°)
OKLaboklab(41.72% -0.0109 -0.1717)
OKLCHoklch(41.72% 0.172 266.4)
XYZxyz(9.4701, 6.7044, 37.8332)
Luminance0.0670 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213FA8 #A88A21
analogous
#2182A8 #213FA8 #4721A8
triadic
#213FA8 #A8213F #3FA821
tetradic
#213FA8 #A82182 #A88A21 #21A847
square
#213FA8 #A82182 #A88A21 #21A847
split-complementary
#213FA8 #A84721 #82A821
monochromatic
#0D1942 #172C75 #213FA8 #3055D6 #637FE0

Accessibility & contrast

On white

8.97
#213FA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#213FA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213FA8
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213FA8#FFFFFF#000000##FFFFFF
##213FA81.008.972.348.97
#FFFFFF8.971.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050AB
Deuteranopia (green-blind)
#0043A6
Tritanopia (blue-blind)
#005A6D
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #213fa8;
/* rgb */ color: rgb(33, 63, 168);
/* oklch */ color: oklch(41.7% 0.172 266.4);
Tailwind
colors: {
  custom: {
    50: '#7473c3',
    500: '#213fa8',
    950: '#000000',
  },
}
SCSS
$custom: #213fa8;
$custom-light: #7473c3;
$custom-dark: #000000;
JSON
{
  "hex": "#213fa8",
  "rgb": {
    "r": 33,
    "g": 63,
    "b": 168
  },
  "hsl": {
    "h": 226.667,
    "s": 67.164,
    "l": 39.412
  },
  "oklch": {
    "l": 0.41717,
    "c": 0.17205,
    "h": 266.4
  },
  "luminance": 0.06705
}

Semantic roles & 50–950 ramp

primary
#213FA8
secondary
#C5AF5F
accent
#C43EEA
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #213FA8

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

Preview Lab → · Contrast checker → · Palette generator →

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