#211A58#211A58

#211A58 is a dark, moderate blue. Relative luminance 0.018; OKLCH L 27.0% C 0.107 H 281.6°. Best body text is #FFFFFF at 15.52:1 contrast (WCAG AA passes).

Color values

HEX#211A58
RGBrgb(33, 26, 88)
HSLhsl(247, 54%, 22%)
HSVhsv(247, 70%, 35%)
CMYKcmyk(62.5%, 70.5%, 0%, 65.5%)
CIE-LABlab(14.21, 23.42, -36.39)
CIE-LCHlch(14.21, 43.27, 302.76°)
OKLaboklab(27.03% 0.0216 -0.1047)
OKLCHoklch(27.03% 0.107 281.6)
XYZxyz(2.7575, 1.7665, 9.4263)
Luminance0.0177 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211A58 #51581A
analogous
#1A3258 #211A58 #401A58
triadic
#211A58 #58211A #1A5821
tetradic
#211A58 #581A32 #51581A #1A5840
square
#211A58 #581A32 #51581A #1A5840
split-complementary
#211A58 #58401A #32581A
monochromatic
#090718 #0F0C29 #211A58 #332887 #4436B6

Accessibility & contrast

On white

15.52
#211A58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#211A58 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211A58
15.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211A58#FFFFFF#000000##FFFFFF
##211A581.0015.521.3515.52
#FFFFFF15.521.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00265A
Deuteranopia (green-blind)
#002257
Tritanopia (blue-blind)
#032A36
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #211a58;
/* rgb */ color: rgb(33, 26, 88);
/* oklch */ color: oklch(27.0% 0.107 281.6);
Tailwind
colors: {
  custom: {
    50: '#635788',
    500: '#211a58',
    950: '#000000',
  },
}
SCSS
$custom: #211a58;
$custom-light: #635788;
$custom-dark: #000000;
JSON
{
  "hex": "#211a58",
  "rgb": {
    "r": 33,
    "g": 26,
    "b": 88
  },
  "hsl": {
    "h": 246.774,
    "s": 54.386,
    "l": 22.353
  },
  "oklch": {
    "l": 0.27032,
    "c": 0.10687,
    "h": 281.6
  },
  "luminance": 0.01767
}

Semantic roles & 50–950 ramp

primary
#211A58
secondary
#858E40
accent
#DE4ACD
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06030B
muted
#7A787C

Preview Lab

Preview with #211A58

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

Preview Lab → · Contrast checker → · Palette generator →

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