#211895#211895

#211895 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 33.6% C 0.189 H 272.7°. Best body text is #FFFFFF at 12.89:1 contrast (WCAG AA passes).

Color values

HEX#211895
RGBrgb(33, 24, 149)
HSLhsl(244, 72%, 34%)
HSVhsv(244, 84%, 58%)
CMYKcmyk(77.9%, 83.9%, 0%, 41.6%)
CIE-LABlab(20.62, 45.33, -65.10)
CIE-LCHlch(20.62, 79.33, 304.85°)
OKLaboklab(33.57% 0.0089 -0.1883)
OKLCHoklch(33.57% 0.189 272.7)
XYZxyz(6.3768, 3.1458, 28.6991)
Luminance0.0315 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211895 #8C9518
analogous
#184E95 #211895 #601895
triadic
#211895 #952118 #189521
tetradic
#211895 #95184E #8C9518 #189560
square
#211895 #95184E #8C9518 #189560
split-complementary
#211895 #956018 #4E9518
monochromatic
#0A072C #151060 #211895 #2D20CA #5146E1

Accessibility & contrast

On white

12.89
#211895 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#211895 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211895
12.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211895#FFFFFF#000000##FFFFFF
##2118951.0012.891.6312.89
#FFFFFF12.891.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003798
Deuteranopia (green-blind)
#002B93
Tritanopia (blue-blind)
#004058
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #211895;
/* rgb */ color: rgb(33, 24, 149);
/* oklch */ color: oklch(33.6% 0.189 272.7);
Tailwind
colors: {
  custom: {
    50: '#7259b6',
    500: '#211895',
    950: '#000000',
  },
}
SCSS
$custom: #211895;
$custom-light: #7259b6;
$custom-dark: #000000;
JSON
{
  "hex": "#211895",
  "rgb": {
    "r": 33,
    "g": 24,
    "b": 149
  },
  "hsl": {
    "h": 244.32,
    "s": 72.254,
    "l": 33.922
  },
  "oklch": {
    "l": 0.33574,
    "c": 0.18853,
    "h": 272.7
  },
  "luminance": 0.03147
}

Semantic roles & 50–950 ramp

primary
#211895
secondary
#B9C246
accent
#EF39E2
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #211895

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

Preview Lab → · Contrast checker → · Palette generator →

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