#212B86#212B86

#212B86 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.7% C 0.150 H 271.1°. Best body text is #FFFFFF at 11.97:1 contrast (WCAG AA passes).

Color values

HEX#212B86
RGBrgb(33, 43, 134)
HSLhsl(234, 60%, 33%)
HSVhsv(234, 75%, 53%)
CMYKcmyk(75.4%, 67.9%, 0%, 47.5%)
CIE-LABlab(22.90, 29.09, -51.99)
CIE-LCHlch(22.90, 59.57, 299.22°)
OKLaboklab(34.71% 0.0028 -0.1503)
OKLCHoklch(34.71% 0.15 271.1)
XYZxyz(5.7927, 3.7717, 22.9724)
Luminance0.0377 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#212B86 #867C21
analogous
#215E86 #212B86 #492186
triadic
#212B86 #86212B #2B8621
tetradic
#212B86 #86215E #867C21 #218649
square
#212B86 #86215E #867C21 #218649
split-complementary
#212B86 #864921 #5E8621
monochromatic
#090B24 #151B55 #212B86 #2D3BB7 #4E5BD3

Accessibility & contrast

On white

11.97
#212B86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#212B86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #212B86
11.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##212B86#FFFFFF#000000##FFFFFF
##212B861.0011.971.7511.97
#FFFFFF11.971.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B89
Deuteranopia (green-blind)
#003284
Tritanopia (blue-blind)
#004354
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #212b86;
/* rgb */ color: rgb(33, 43, 134);
/* oklch */ color: oklch(34.7% 0.150 271.1);
Tailwind
colors: {
  custom: {
    50: '#6d64aa',
    500: '#212b86',
    950: '#000000',
  },
}
SCSS
$custom: #212b86;
$custom-light: #6d64aa;
$custom-dark: #000000;
JSON
{
  "hex": "#212b86",
  "rgb": {
    "r": 33,
    "g": 43,
    "b": 134
  },
  "hsl": {
    "h": 234.059,
    "s": 60.479,
    "l": 32.745
  },
  "oklch": {
    "l": 0.3471,
    "c": 0.15036,
    "h": 271.1
  },
  "luminance": 0.03772
}

Semantic roles & 50–950 ramp

primary
#212B86
secondary
#B7AC4C
accent
#D444E4
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080510
muted
#7B7A7F

Preview Lab

Preview with #212B86

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

Preview Lab → · Contrast checker → · Palette generator →

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