#212F93#212F93

#212F93 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.7% C 0.163 H 269.8°. Best body text is #FFFFFF at 11.10:1 contrast (WCAG AA passes).

Color values

HEX#212F93
RGBrgb(33, 47, 147)
HSLhsl(233, 63%, 35%)
HSVhsv(233, 78%, 58%)
CMYKcmyk(77.6%, 68%, 0%, 42.4%)
CIE-LABlab(25.14, 31.32, -56.39)
CIE-LCHlch(25.14, 64.50, 299.05°)
OKLaboklab(36.73% -0.0007 -0.1632)
OKLCHoklch(36.73% 0.163 269.8)
XYZxyz(6.9084, 4.4622, 28.0953)
Luminance0.0446 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#212F93 #938521
analogous
#216893 #212F93 #4C2193
triadic
#212F93 #93212F #2F9321
tetradic
#212F93 #932168 #938521 #21934C
square
#212F93 #932168 #938521 #21934C
split-complementary
#212F93 #934C21 #689321
monochromatic
#0B0F2F #161F61 #212F93 #2C3FC5 #5566D9

Accessibility & contrast

On white

11.10
#212F93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #212F93
11.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##212F93#FFFFFF#000000##FFFFFF
##212F931.0011.101.8911.10
#FFFFFF11.101.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004196
Deuteranopia (green-blind)
#003691
Tritanopia (blue-blind)
#004A5D
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #212f93;
/* rgb */ color: rgb(33, 47, 147);
/* oklch */ color: oklch(36.7% 0.163 269.8);
Tailwind
colors: {
  custom: {
    50: '#7067b4',
    500: '#212f93',
    950: '#000000',
  },
}
SCSS
$custom: #212f93;
$custom-light: #7067b4;
$custom-dark: #000000;
JSON
{
  "hex": "#212f93",
  "rgb": {
    "r": 33,
    "g": 47,
    "b": 147
  },
  "hsl": {
    "h": 232.632,
    "s": 63.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.36727,
    "c": 0.16317,
    "h": 269.8
  },
  "luminance": 0.04463
}

Semantic roles & 50–950 ramp

primary
#212F93
secondary
#BDB053
accent
#D241E6
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #212F93

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

Preview Lab → · Contrast checker → · Palette generator →

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