#212F92#212F92

#212F92 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.6% C 0.162 H 269.8°. Best body text is #FFFFFF at 11.13:1 contrast (WCAG AA passes).

Color values

HEX#212F92
RGBrgb(33, 47, 146)
HSLhsl(233, 63%, 35%)
HSVhsv(233, 77%, 57%)
CMYKcmyk(77.4%, 67.8%, 0%, 42.7%)
CIE-LABlab(25.05, 30.95, -55.93)
CIE-LCHlch(25.05, 63.92, 298.95°)
OKLaboklab(36.63% -0.0006 -0.1618)
OKLCHoklch(36.63% 0.162 269.8)
XYZxyz(6.8302, 4.4309, 27.6838)
Luminance0.0443 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#212F92 #928421
analogous
#216892 #212F92 #4B2192
triadic
#212F92 #92212F #2F9221
tetradic
#212F92 #922168 #928421 #21924B
square
#212F92 #922168 #928421 #21924B
split-complementary
#212F92 #924B21 #689221
monochromatic
#0A0F2E #161F60 #212F92 #2C3FC4 #5565D9

Accessibility & contrast

On white

11.13
#212F92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#212F92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #212F92
11.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##212F92#FFFFFF#000000##FFFFFF
##212F921.0011.131.8911.13
#FFFFFF11.131.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004195
Deuteranopia (green-blind)
#003690
Tritanopia (blue-blind)
#004A5C
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #212f92;
/* rgb */ color: rgb(33, 47, 146);
/* oklch */ color: oklch(36.6% 0.162 269.8);
Tailwind
colors: {
  custom: {
    50: '#6f67b3',
    500: '#212f92',
    950: '#000000',
  },
}
SCSS
$custom: #212f92;
$custom-light: #6f67b3;
$custom-dark: #000000;
JSON
{
  "hex": "#212f92",
  "rgb": {
    "r": 33,
    "g": 47,
    "b": 146
  },
  "hsl": {
    "h": 232.566,
    "s": 63.128,
    "l": 35.098
  },
  "oklch": {
    "l": 0.36628,
    "c": 0.16183,
    "h": 269.8
  },
  "luminance": 0.04432
}

Semantic roles & 50–950 ramp

primary
#212F92
secondary
#BCAF53
accent
#D242E6
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #212F92

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

Preview Lab → · Contrast checker → · Palette generator →

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