#211C58#211C58

#211C58 is a dark, moderate blue. Relative luminance 0.019; OKLCH L 27.4% C 0.104 H 280.8°. Best body text is #FFFFFF at 15.31:1 contrast (WCAG AA passes).

Color values

HEX#211C58
RGBrgb(33, 28, 88)
HSLhsl(245, 52%, 23%)
HSVhsv(245, 68%, 35%)
CMYKcmyk(62.5%, 68.2%, 0%, 65.5%)
CIE-LABlab(14.72, 22.05, -35.55)
CIE-LCHlch(14.72, 41.83, 301.81°)
OKLaboklab(27.41% 0.0195 -0.1022)
OKLCHoklch(27.41% 0.104 280.8)
XYZxyz(2.8034, 1.8582, 9.4416)
Luminance0.0186 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211C58 #53581C
analogous
#1C3558 #211C58 #3F1C58
triadic
#211C58 #58211C #1C5821
tetradic
#211C58 #581C35 #53581C #1C583F
square
#211C58 #581C35 #53581C #1C583F
split-complementary
#211C58 #583F1C #35581C
monochromatic
#090717 #100D2A #211C58 #322B86 #443AB5

Accessibility & contrast

On white

15.31
#211C58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#211C58 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211C58
15.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211C58#FFFFFF#000000##FFFFFF
##211C581.0015.311.3715.31
#FFFFFF15.311.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00275A
Deuteranopia (green-blind)
#002357
Tritanopia (blue-blind)
#022B37
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #211c58;
/* rgb */ color: rgb(33, 28, 88);
/* oklch */ color: oklch(27.4% 0.104 280.8);
Tailwind
colors: {
  custom: {
    50: '#635888',
    500: '#211c58',
    950: '#000000',
  },
}
SCSS
$custom: #211c58;
$custom-light: #635888;
$custom-dark: #000000;
JSON
{
  "hex": "#211c58",
  "rgb": {
    "r": 33,
    "g": 28,
    "b": 88
  },
  "hsl": {
    "h": 245,
    "s": 51.724,
    "l": 22.745
  },
  "oklch": {
    "l": 0.27406,
    "c": 0.10405,
    "h": 280.8
  },
  "luminance": 0.01858
}

Semantic roles & 50–950 ramp

primary
#211C58
secondary
#878E42
accent
#DB4DCF
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06030B
muted
#7A787C

Preview Lab

Preview with #211C58

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

Preview Lab → · Contrast checker → · Palette generator →

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