#211758#211758

#211758 is a dark, moderate blue. Relative luminance 0.016; OKLCH L 26.5% C 0.111 H 282.8°. Best body text is #FFFFFF at 15.81:1 contrast (WCAG AA passes).

Color values

HEX#211758
RGBrgb(33, 23, 88)
HSLhsl(249, 59%, 22%)
HSVhsv(249, 74%, 35%)
CMYKcmyk(62.5%, 73.9%, 0%, 65.5%)
CIE-LABlab(13.47, 25.41, -37.59)
CIE-LCHlch(13.47, 45.37, 304.06°)
OKLaboklab(26.5% 0.0245 -0.1082)
OKLCHoklch(26.5% 0.111 282.8)
XYZxyz(2.6945, 1.6405, 9.4053)
Luminance0.0164 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211758 #4E5817
analogous
#172E58 #211758 #421758
triadic
#211758 #582117 #175821
tetradic
#211758 #58172E #4E5817 #175842
square
#211758 #58172E #4E5817 #175842
split-complementary
#211758 #584217 #2E5817
monochromatic
#090618 #0F0A27 #211758 #332489 #4530B9

Accessibility & contrast

On white

15.81
#211758 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#211758 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211758
15.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211758#FFFFFF#000000##FFFFFF
##2117581.0015.811.3315.81
#FFFFFF15.811.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00255A
Deuteranopia (green-blind)
#002057
Tritanopia (blue-blind)
#032835
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #211758;
/* rgb */ color: rgb(33, 23, 88);
/* oklch */ color: oklch(26.5% 0.111 282.8);
Tailwind
colors: {
  custom: {
    50: '#645588',
    500: '#211758',
    950: '#000000',
  },
}
SCSS
$custom: #211758;
$custom-light: #645588;
$custom-dark: #000000;
JSON
{
  "hex": "#211758",
  "rgb": {
    "r": 33,
    "g": 23,
    "b": 88
  },
  "hsl": {
    "h": 249.231,
    "s": 58.559,
    "l": 21.765
  },
  "oklch": {
    "l": 0.26501,
    "c": 0.11096,
    "h": 282.8
  },
  "luminance": 0.01641
}

Semantic roles & 50–950 ramp

primary
#211758
secondary
#828F3C
accent
#E246CA
background
#F6F4F8
surface
#EBE8F0
border
#C6C4CB
text
#06030B
muted
#7A787C

Preview Lab

Preview with #211758

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

Preview Lab → · Contrast checker → · Palette generator →

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