#213FAE#213FAE

#213FAE is a dark, vivid blue. Relative luminance 0.069; OKLCH L 42.3% C 0.180 H 266.5°. Best body text is #FFFFFF at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#213FAE
RGBrgb(33, 63, 174)
HSLhsl(227, 68%, 41%)
HSVhsv(227, 81%, 68%)
CMYKcmyk(81%, 63.8%, 0%, 31.8%)
CIE-LABlab(31.65, 30.97, -62.08)
CIE-LCHlch(31.65, 69.37, 296.51°)
OKLaboklab(42.27% -0.0109 -0.1797)
OKLCHoklch(42.27% 0.18 266.5)
XYZxyz(10.0420, 6.9332, 40.8452)
Luminance0.0693 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213FAE #AE9021
analogous
#2185AE #213FAE #4921AE
triadic
#213FAE #AE213F #3FAE21
tetradic
#213FAE #AE2185 #AE9021 #21AE49
square
#213FAE #AE2185 #AE9021 #21AE49
split-complementary
#213FAE #AE4921 #85AE21
monochromatic
#0D1A47 #172C7B #213FAE #3457D8 #6781E2

Accessibility & contrast

On white

8.80
#213FAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#213FAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213FAE
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213FAE#FFFFFF#000000##FFFFFF
##213FAE1.008.802.398.80
#FFFFFF8.801.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B2
Deuteranopia (green-blind)
#0044AC
Tritanopia (blue-blind)
#005C70
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #213fae;
/* rgb */ color: rgb(33, 63, 174);
/* oklch */ color: oklch(42.3% 0.180 266.5);
Tailwind
colors: {
  custom: {
    50: '#7573c7',
    500: '#213fae',
    950: '#000000',
  },
}
SCSS
$custom: #213fae;
$custom-light: #7573c7;
$custom-dark: #000000;
JSON
{
  "hex": "#213fae",
  "rgb": {
    "r": 33,
    "g": 63,
    "b": 174
  },
  "hsl": {
    "h": 227.234,
    "s": 68.116,
    "l": 40.588
  },
  "oklch": {
    "l": 0.42273,
    "c": 0.18001,
    "h": 266.5
  },
  "luminance": 0.06934
}

Semantic roles & 50–950 ramp

primary
#213FAE
secondary
#C8B263
accent
#C63DEB
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #213FAE

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

Preview Lab → · Contrast checker → · Palette generator →

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