#212B94#212B94

#212B94 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.1% C 0.169 H 270.5°. Best body text is #FFFFFF at 11.43:1 contrast (WCAG AA passes).

Color values

HEX#212B94
RGBrgb(33, 43, 148)
HSLhsl(235, 64%, 35%)
HSVhsv(235, 78%, 58%)
CMYKcmyk(77.7%, 70.9%, 0%, 42%)
CIE-LABlab(24.29, 34.28, -58.42)
CIE-LCHlch(24.29, 67.73, 300.40°)
OKLaboklab(36.13% 0.0014 -0.1691)
OKLCHoklch(36.13% 0.169 270.5)
XYZxyz(6.8345, 4.1885, 28.4595)
Luminance0.0419 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#212B94 #948A21
analogous
#216494 #212B94 #512194
triadic
#212B94 #94212B #2B9421
tetradic
#212B94 #942164 #948A21 #219451
square
#212B94 #942164 #948A21 #219451
split-complementary
#212B94 #945121 #649421
monochromatic
#0B0E30 #161C62 #212B94 #2C3AC6 #5661D9

Accessibility & contrast

On white

11.43
#212B94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#212B94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #212B94
11.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##212B94#FFFFFF#000000##FFFFFF
##212B941.0011.431.8411.43
#FFFFFF11.431.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F97
Deuteranopia (green-blind)
#003492
Tritanopia (blue-blind)
#00485C
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #212b94;
/* rgb */ color: rgb(33, 43, 148);
/* oklch */ color: oklch(36.1% 0.169 270.5);
Tailwind
colors: {
  custom: {
    50: '#7065b4',
    500: '#212b94',
    950: '#000000',
  },
}
SCSS
$custom: #212b94;
$custom-light: #7065b4;
$custom-dark: #000000;
JSON
{
  "hex": "#212b94",
  "rgb": {
    "r": 33,
    "g": 43,
    "b": 148
  },
  "hsl": {
    "h": 234.783,
    "s": 63.536,
    "l": 35.49
  },
  "oklch": {
    "l": 0.36134,
    "c": 0.16911,
    "h": 270.5
  },
  "luminance": 0.04189
}

Semantic roles & 50–950 ramp

primary
#212B94
secondary
#BDB454
accent
#D841E7
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090511
muted
#7B7A80

Preview Lab

Preview with #212B94

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

Preview Lab → · Contrast checker → · Palette generator →

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