#211865#211865

#211865 is a dark, vivid blue. Relative luminance 0.019; OKLCH L 28.0% C 0.128 H 279.5°. Best body text is #FFFFFF at 15.18:1 contrast (WCAG AA passes).

Color values

HEX#211865
RGBrgb(33, 24, 101)
HSLhsl(247, 62%, 25%)
HSVhsv(247, 76%, 40%)
CMYKcmyk(67.3%, 76.2%, 0%, 60.4%)
CIE-LABlab(15.04, 29.36, -43.70)
CIE-LCHlch(15.04, 52.65, 303.89°)
OKLaboklab(28.03% 0.0211 -0.1261)
OKLCHoklch(28.03% 0.128 279.5)
XYZxyz(3.3020, 1.9159, 12.5052)
Luminance0.0192 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211865 #5C6518
analogous
#183665 #211865 #481865
triadic
#211865 #652118 #186521
tetradic
#211865 #651836 #5C6518 #186548
square
#211865 #651836 #5C6518 #186548
split-complementary
#211865 #654818 #366518
monochromatic
#080619 #110C34 #211865 #312496 #4130C8

Accessibility & contrast

On white

15.18
#211865 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#211865 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211865
15.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211865#FFFFFF#000000##FFFFFF
##2118651.0015.181.3815.18
#FFFFFF15.181.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002967
Deuteranopia (green-blind)
#002364
Tritanopia (blue-blind)
#002D3D
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #211865;
/* rgb */ color: rgb(33, 24, 101);
/* oklch */ color: oklch(28.0% 0.128 279.5);
Tailwind
colors: {
  custom: {
    50: '#665692',
    500: '#211865',
    950: '#000000',
  },
}
SCSS
$custom: #211865;
$custom-light: #665692;
$custom-dark: #000000;
JSON
{
  "hex": "#211865",
  "rgb": {
    "r": 33,
    "g": 24,
    "b": 101
  },
  "hsl": {
    "h": 247.013,
    "s": 61.6,
    "l": 24.51
  },
  "oklch": {
    "l": 0.28027,
    "c": 0.12784,
    "h": 279.5
  },
  "luminance": 0.01916
}

Semantic roles & 50–950 ramp

primary
#211865
secondary
#909B3E
accent
#E543D2
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06030D
muted
#7A787E

Preview Lab

Preview with #211865

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

Preview Lab → · Contrast checker → · Palette generator →

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