#211F94#211F94

#211F94 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 34.3% C 0.181 H 272.2°. Best body text is #FFFFFF at 12.44:1 contrast (WCAG AA passes).

Color values

HEX#211F94
RGBrgb(33, 31, 148)
HSLhsl(241, 65%, 35%)
HSVhsv(241, 79%, 58%)
CMYKcmyk(77.7%, 79.1%, 0%, 42%)
CIE-LABlab(21.73, 41.43, -62.64)
CIE-LCHlch(21.73, 75.10, 303.48°)
OKLaboklab(34.31% 0.0069 -0.1813)
OKLCHoklch(34.31% 0.181 272.2)
XYZxyz(6.4607, 3.4407, 28.3349)
Luminance0.0344 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211F94 #92941F
analogous
#1F5794 #211F94 #5C1F94
triadic
#211F94 #94211F #1F9421
tetradic
#211F94 #941F57 #92941F #1F945C
square
#211F94 #941F57 #92941F #1F945C
split-complementary
#211F94 #945C1F #57941F
monochromatic
#0A0A2F #161461 #211F94 #2C2AC7 #5553DB

Accessibility & contrast

On white

12.44
#211F94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#211F94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211F94
12.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211F94#FFFFFF#000000##FFFFFF
##211F941.0012.441.6912.44
#FFFFFF12.441.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A97
Deuteranopia (green-blind)
#002E92
Tritanopia (blue-blind)
#004259
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #211f94;
/* rgb */ color: rgb(33, 31, 148);
/* oklch */ color: oklch(34.3% 0.181 272.2);
Tailwind
colors: {
  custom: {
    50: '#725db5',
    500: '#211f94',
    950: '#000000',
  },
}
SCSS
$custom: #211f94;
$custom-light: #725db5;
$custom-dark: #000000;
JSON
{
  "hex": "#211f94",
  "rgb": {
    "r": 33,
    "g": 31,
    "b": 148
  },
  "hsl": {
    "h": 241.026,
    "s": 65.363,
    "l": 35.098
  },
  "oklch": {
    "l": 0.34313,
    "c": 0.18143,
    "h": 272.2
  },
  "luminance": 0.03441
}

Semantic roles & 50–950 ramp

primary
#211F94
secondary
#BCBE51
accent
#E83FE5
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #211F94

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

Preview Lab → · Contrast checker → · Palette generator →

#211F94 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva