#211E70#211E70

#211E70 is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.2% C 0.136 H 276.1°. Best body text is #FFFFFF at 14.15:1 contrast (WCAG AA passes).

Color values

HEX#211E70
RGBrgb(33, 30, 112)
HSLhsl(242, 58%, 28%)
HSVhsv(242, 73%, 44%)
CMYKcmyk(70.5%, 73.2%, 0%, 56.1%)
CIE-LABlab(17.56, 29.48, -46.75)
CIE-LCHlch(17.56, 55.27, 302.24°)
OKLaboklab(30.18% 0.0145 -0.135)
OKLCHoklch(30.18% 0.136 276.1)
XYZxyz(4.0151, 2.4214, 15.5819)
Luminance0.0242 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211E70 #6D701E
analogous
#1E4470 #211E70 #4A1E70
triadic
#211E70 #70211E #1E7021
tetradic
#211E70 #701E44 #6D701E #1E704A
square
#211E70 #701E44 #6D701E #1E704A
split-complementary
#211E70 #704A1E #44701E
monochromatic
#070618 #131140 #211E70 #2F2BA0 #423DCB

Accessibility & contrast

On white

14.15
#211E70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#211E70 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211E70
14.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211E70#FFFFFF#000000##FFFFFF
##211E701.0014.151.4814.15
#FFFFFF14.151.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F72
Deuteranopia (green-blind)
#00276E
Tritanopia (blue-blind)
#003444
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #211e70;
/* rgb */ color: rgb(33, 30, 112);
/* oklch */ color: oklch(30.2% 0.136 276.1);
Tailwind
colors: {
  custom: {
    50: '#685a9a',
    500: '#211e70',
    950: '#000000',
  },
}
SCSS
$custom: #211e70;
$custom-light: #685a9a;
$custom-dark: #000000;
JSON
{
  "hex": "#211e70",
  "rgb": {
    "r": 33,
    "g": 30,
    "b": 112
  },
  "hsl": {
    "h": 242.195,
    "s": 57.746,
    "l": 27.843
  },
  "oklch": {
    "l": 0.30176,
    "c": 0.1358,
    "h": 276.1
  },
  "luminance": 0.02422
}

Semantic roles & 50–950 ramp

primary
#211E70
secondary
#A1A446
accent
#E147DB
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #211E70

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

Preview Lab → · Contrast checker → · Palette generator →

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