#211A64#211A64

#211A64 is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.2% C 0.124 H 279.1°. Best body text is #FFFFFF at 15.04:1 contrast (WCAG AA passes).

Color values

HEX#211A64
RGBrgb(33, 26, 100)
HSLhsl(246, 59%, 25%)
HSVhsv(246, 74%, 39%)
CMYKcmyk(67%, 74%, 0%, 60.8%)
CIE-LABlab(15.39, 27.74, -42.46)
CIE-LCHlch(15.39, 50.72, 303.16°)
OKLaboklab(28.25% 0.0197 -0.1225)
OKLCHoklch(28.25% 0.124 279.1)
XYZxyz(3.2961, 1.9820, 12.2630)
Luminance0.0198 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211A64 #5D641A
analogous
#1A3864 #211A64 #461A64
triadic
#211A64 #64211A #1A6421
tetradic
#211A64 #641A38 #5D641A #1A6446
square
#211A64 #641A38 #5D641A #1A6446
split-complementary
#211A64 #64461A #38641A
monochromatic
#080618 #110D33 #211A64 #312795 #4133C5

Accessibility & contrast

On white

15.04
#211A64 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#211A64 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211A64
15.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211A64#FFFFFF#000000##FFFFFF
##211A641.0015.041.4015.04
#FFFFFF15.041.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002966
Deuteranopia (green-blind)
#002463
Tritanopia (blue-blind)
#002E3D
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #211a64;
/* rgb */ color: rgb(33, 26, 100);
/* oklch */ color: oklch(28.2% 0.124 279.1);
Tailwind
colors: {
  custom: {
    50: '#665791',
    500: '#211a64',
    950: '#000000',
  },
}
SCSS
$custom: #211a64;
$custom-light: #665791;
$custom-dark: #000000;
JSON
{
  "hex": "#211a64",
  "rgb": {
    "r": 33,
    "g": 26,
    "b": 100
  },
  "hsl": {
    "h": 245.676,
    "s": 58.73,
    "l": 24.706
  },
  "oklch": {
    "l": 0.28247,
    "c": 0.12404,
    "h": 279.1
  },
  "luminance": 0.01982
}

Semantic roles & 50–950 ramp

primary
#211A64
secondary
#919A40
accent
#E246D3
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06030D
muted
#7A787E

Preview Lab

Preview with #211A64

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

Preview Lab → · Contrast checker → · Palette generator →

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