#211783#211783

#211783 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.3% C 0.168 H 274.8°. Best body text is #FFFFFF at 13.86:1 contrast (WCAG AA passes).

Color values

HEX#211783
RGBrgb(33, 23, 131)
HSLhsl(246, 70%, 30%)
HSVhsv(246, 82%, 51%)
CMYKcmyk(74.8%, 82.4%, 0%, 48.6%)
CIE-LABlab(18.25, 40.07, -57.77)
CIE-LCHlch(18.25, 70.31, 304.75°)
OKLaboklab(31.3% 0.0141 -0.1671)
OKLCHoklch(31.3% 0.168 274.8)
XYZxyz(5.0290, 2.5743, 21.7002)
Luminance0.0257 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211783 #798317
analogous
#174383 #211783 #571783
triadic
#211783 #832117 #178321
tetradic
#211783 #831743 #798317 #178357
square
#211783 #831743 #798317 #178357
split-complementary
#211783 #835717 #438317
monochromatic
#07051B #140E4F #211783 #2E20B7 #4738DC

Accessibility & contrast

On white

13.86
#211783 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#211783 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211783
13.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211783#FFFFFF#000000##FFFFFF
##2117831.0013.861.5213.86
#FFFFFF13.861.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003186
Deuteranopia (green-blind)
#002881
Tritanopia (blue-blind)
#00394D
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #211783;
/* rgb */ color: rgb(33, 23, 131);
/* oklch */ color: oklch(31.3% 0.168 274.8);
Tailwind
colors: {
  custom: {
    50: '#6e57a8',
    500: '#211783',
    950: '#000000',
  },
}
SCSS
$custom: #211783;
$custom-light: #6e57a8;
$custom-dark: #000000;
JSON
{
  "hex": "#211783",
  "rgb": {
    "r": 33,
    "g": 23,
    "b": 131
  },
  "hsl": {
    "h": 245.556,
    "s": 70.13,
    "l": 30.196
  },
  "oklch": {
    "l": 0.31296,
    "c": 0.16765,
    "h": 274.8
  },
  "luminance": 0.02575
}

Semantic roles & 50–950 ramp

primary
#211783
secondary
#ACB73F
accent
#ED3BDC
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080310
muted
#7B787F

Preview Lab

Preview with #211783

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

Preview Lab → · Contrast checker → · Palette generator →

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