#212691#212691

#212691 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.0% C 0.171 H 271.5°. Best body text is #FFFFFF at 11.99:1 contrast (WCAG AA passes).

Color values

HEX#212691
RGBrgb(33, 38, 145)
HSLhsl(237, 63%, 35%)
HSVhsv(237, 77%, 57%)
CMYKcmyk(77.2%, 73.8%, 0%, 43.1%)
CIE-LABlab(22.84, 36.32, -58.95)
CIE-LCHlch(22.84, 69.24, 301.64°)
OKLaboklab(35% 0.0044 -0.1706)
OKLCHoklch(35% 0.171 271.5)
XYZxyz(6.4294, 3.7532, 27.1682)
Luminance0.0375 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#212691 #918C21
analogous
#215E91 #212691 #542191
triadic
#212691 #912126 #269121
tetradic
#212691 #91215E #918C21 #219154
square
#212691 #91215E #918C21 #219154
split-complementary
#212691 #915421 #5E9121
monochromatic
#0A0C2D #16195F #212691 #2C33C3 #545AD8

Accessibility & contrast

On white

11.99
#212691 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#212691 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #212691
11.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##212691#FFFFFF#000000##FFFFFF
##2126911.0011.991.7511.99
#FFFFFF11.991.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C94
Deuteranopia (green-blind)
#00318F
Tritanopia (blue-blind)
#004459
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #212691;
/* rgb */ color: rgb(33, 38, 145);
/* oklch */ color: oklch(35.0% 0.171 271.5);
Tailwind
colors: {
  custom: {
    50: '#7061b2',
    500: '#212691',
    950: '#000000',
  },
}
SCSS
$custom: #212691;
$custom-light: #7061b2;
$custom-dark: #000000;
JSON
{
  "hex": "#212691",
  "rgb": {
    "r": 33,
    "g": 38,
    "b": 145
  },
  "hsl": {
    "h": 237.321,
    "s": 62.921,
    "l": 34.902
  },
  "oklch": {
    "l": 0.35,
    "c": 0.1707,
    "h": 271.5
  },
  "luminance": 0.03754
}

Semantic roles & 50–950 ramp

primary
#212691
secondary
#BCB752
accent
#DF42E6
background
#F7F5FB
surface
#EDEAF6
border
#C8C6D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #212691

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

Preview Lab → · Contrast checker → · Palette generator →

#212691 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva