#212FBD#212FBD

#212FBD is a dark, highly saturated blue. Relative luminance 0.060; OKLCH L 41.1% C 0.216 H 268.5°. Best body text is #FFFFFF at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#212FBD
RGBrgb(33, 47, 189)
HSLhsl(235, 70%, 44%)
HSVhsv(235, 83%, 74%)
CMYKcmyk(82.5%, 75.1%, 0%, 25.9%)
CIE-LABlab(29.49, 46.31, -74.56)
CIE-LCHlch(29.49, 87.77, 301.85°)
OKLaboklab(41.15% -0.0055 -0.2161)
OKLCHoklch(41.15% 0.216 268.5)
XYZxyz(10.8259, 6.0292, 48.7274)
Luminance0.0603 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#212FBD #BDAF21
analogous
#217DBD #212FBD #6121BD
triadic
#212FBD #BD212F #2FBD21
tetradic
#212FBD #BD217D #BDAF21 #21BD61
square
#212FBD #BD217D #BDAF21 #21BD61
split-complementary
#212FBD #BD6121 #7DBD21
monochromatic
#0F1555 #182289 #212FBD #3E4CDD #727CE6

Accessibility & contrast

On white

9.52
#212FBD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#212FBD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #212FBD
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##212FBD#FFFFFF#000000##FFFFFF
##212FBD1.009.522.219.52
#FFFFFF9.521.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DC1
Deuteranopia (green-blind)
#003EBB
Tritanopia (blue-blind)
#005974
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #212fbd;
/* rgb */ color: rgb(33, 47, 189);
/* oklch */ color: oklch(41.1% 0.216 268.5);
Tailwind
colors: {
  custom: {
    50: '#7b69d2',
    500: '#212fbd',
    950: '#000000',
  },
}
SCSS
$custom: #212fbd;
$custom-light: #7b69d2;
$custom-dark: #000000;
JSON
{
  "hex": "#212fbd",
  "rgb": {
    "r": 33,
    "g": 47,
    "b": 189
  },
  "hsl": {
    "h": 234.615,
    "s": 70.27,
    "l": 43.529
  },
  "oklch": {
    "l": 0.41147,
    "c": 0.21613,
    "h": 268.5
  },
  "luminance": 0.0603
}

Semantic roles & 50–950 ramp

primary
#212FBD
secondary
#CDC46D
accent
#DD3BED
background
#F8F6FD
surface
#EFEBFA
border
#CAC6D3
text
#0B0614
muted
#7C7A83

Preview Lab

Preview with #212FBD

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

Preview Lab → · Contrast checker → · Palette generator →

#212FBD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva