#213DBC#213DBC

#213DBC is a dark, highly saturated blue. Relative luminance 0.073; OKLCH L 43.3% C 0.200 H 267.0°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#213DBC
RGBrgb(33, 61, 188)
HSLhsl(229, 70%, 43%)
HSVhsv(229, 82%, 74%)
CMYKcmyk(82.4%, 67.6%, 0%, 26.3%)
CIE-LABlab(32.46, 37.49, -69.06)
CIE-LCHlch(32.46, 78.58, 298.50°)
OKLaboklab(43.26% -0.0105 -0.2001)
OKLCHoklch(43.26% 0.2 267)
XYZxyz(11.3699, 7.2903, 48.3751)
Luminance0.0729 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213DBC #BCA021
analogous
#218ABC #213DBC #5221BC
triadic
#213DBC #BC213D #3DBC21
tetradic
#213DBC #BC218A #BCA021 #21BC52
square
#213DBC #BC218A #BCA021 #21BC52
split-complementary
#213DBC #BC5221 #8ABC21
monochromatic
#0F1B54 #182C88 #213DBC #3D5ADD #7186E6

Accessibility & contrast

On white

8.54
#213DBC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#213DBC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213DBC
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213DBC#FFFFFF#000000##FFFFFF
##213DBC1.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C0
Deuteranopia (green-blind)
#0045BA
Tritanopia (blue-blind)
#006077
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #213dbc;
/* rgb */ color: rgb(33, 61, 188);
/* oklch */ color: oklch(43.3% 0.200 267.0);
Tailwind
colors: {
  custom: {
    50: '#7972d1',
    500: '#213dbc',
    950: '#000000',
  },
}
SCSS
$custom: #213dbc;
$custom-light: #7972d1;
$custom-dark: #000000;
JSON
{
  "hex": "#213dbc",
  "rgb": {
    "r": 33,
    "g": 61,
    "b": 188
  },
  "hsl": {
    "h": 229.161,
    "s": 70.136,
    "l": 43.333
  },
  "oklch": {
    "l": 0.43258,
    "c": 0.20038,
    "h": 267
  },
  "luminance": 0.07292
}

Semantic roles & 50–950 ramp

primary
#213DBC
secondary
#CDBB6C
accent
#CD3BED
background
#F8F6FD
surface
#EFECFA
border
#CAC7D3
text
#0B0814
muted
#7C7B83

Preview Lab

Preview with #213DBC

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

Preview Lab → · Contrast checker → · Palette generator →

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