#211975#211975

#211975 is a dark, vivid blue. Relative luminance 0.023; OKLCH L 29.9% C 0.148 H 276.5°. Best body text is #FFFFFF at 14.38:1 contrast (WCAG AA passes).

Color values

HEX#211975
RGBrgb(33, 25, 117)
HSLhsl(245, 65%, 28%)
HSVhsv(245, 79%, 46%)
CMYKcmyk(71.8%, 78.6%, 0%, 54.1%)
CIE-LABlab(17.00, 34.31, -50.90)
CIE-LCHlch(17.00, 61.38, 303.98°)
OKLaboklab(29.94% 0.0167 -0.1471)
OKLCHoklch(29.94% 0.148 276.5)
XYZxyz(4.1847, 2.3026, 17.0501)
Luminance0.0230 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211975 #6D7519
analogous
#193F75 #211975 #4F1975
triadic
#211975 #752119 #197521
tetradic
#211975 #75193F #6D7519 #19754F
square
#211975 #75193F #6D7519 #19754F
split-complementary
#211975 #754F19 #3F7519
monochromatic
#070519 #130E43 #211975 #2F24A7 #4235D4

Accessibility & contrast

On white

14.38
#211975 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#211975 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211975
14.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211975#FFFFFF#000000##FFFFFF
##2119751.0014.381.4614.38
#FFFFFF14.381.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E78
Deuteranopia (green-blind)
#002673
Tritanopia (blue-blind)
#003446
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #211975;
/* rgb */ color: rgb(33, 25, 117);
/* oklch */ color: oklch(29.9% 0.148 276.5);
Tailwind
colors: {
  custom: {
    50: '#6a579e',
    500: '#211975',
    950: '#000000',
  },
}
SCSS
$custom: #211975;
$custom-light: #6a579e;
$custom-dark: #000000;
JSON
{
  "hex": "#211975",
  "rgb": {
    "r": 33,
    "g": 25,
    "b": 117
  },
  "hsl": {
    "h": 245.217,
    "s": 64.789,
    "l": 27.843
  },
  "oklch": {
    "l": 0.29941,
    "c": 0.14806,
    "h": 276.5
  },
  "luminance": 0.02303
}

Semantic roles & 50–950 ramp

primary
#211975
secondary
#A1AA40
accent
#E840D9
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #211975

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

Preview Lab → · Contrast checker → · Palette generator →

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