#213FBC#213FBC

#213FBC is a dark, vivid blue. Relative luminance 0.075; OKLCH L 43.6% C 0.198 H 266.7°. Best body text is #FFFFFF at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#213FBC
RGBrgb(33, 63, 188)
HSLhsl(228, 70%, 43%)
HSVhsv(228, 82%, 74%)
CMYKcmyk(82.4%, 66.5%, 0%, 26.3%)
CIE-LABlab(32.94, 36.21, -68.28)
CIE-LCHlch(32.94, 77.29, 297.94°)
OKLaboklab(43.61% -0.0114 -0.1978)
OKLCHoklch(43.61% 0.198 266.7)
XYZxyz(11.4786, 7.5078, 48.4114)
Luminance0.0751 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213FBC #BC9E21
analogous
#218CBC #213FBC #5021BC
triadic
#213FBC #BC213F #3FBC21
tetradic
#213FBC #BC218C #BC9E21 #21BC50
square
#213FBC #BC218C #BC9E21 #21BC50
split-complementary
#213FBC #BC5021 #8CBC21
monochromatic
#0F1C54 #182E88 #213FBC #3D5CDD #7188E6

Accessibility & contrast

On white

8.39
#213FBC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#213FBC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213FBC
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213FBC#FFFFFF#000000##FFFFFF
##213FBC1.008.392.508.39
#FFFFFF8.391.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C0
Deuteranopia (green-blind)
#0046BA
Tritanopia (blue-blind)
#006178
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #213fbc;
/* rgb */ color: rgb(33, 63, 188);
/* oklch */ color: oklch(43.6% 0.198 266.7);
Tailwind
colors: {
  custom: {
    50: '#7974d1',
    500: '#213fbc',
    950: '#000000',
  },
}
SCSS
$custom: #213fbc;
$custom-light: #7974d1;
$custom-dark: #000000;
JSON
{
  "hex": "#213fbc",
  "rgb": {
    "r": 33,
    "g": 63,
    "b": 188
  },
  "hsl": {
    "h": 228.387,
    "s": 70.136,
    "l": 43.333
  },
  "oklch": {
    "l": 0.43607,
    "c": 0.19813,
    "h": 266.7
  },
  "luminance": 0.07509
}

Semantic roles & 50–950 ramp

primary
#213FBC
secondary
#CDBA6C
accent
#CA3BED
background
#F8F7FD
surface
#EFEDFA
border
#CAC8D3
text
#0B0814
muted
#7C7B83

Preview Lab

Preview with #213FBC

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

Preview Lab → · Contrast checker → · Palette generator →

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