#211875#211875

#211875 is a dark, vivid blue. Relative luminance 0.023; OKLCH L 29.8% C 0.149 H 276.7°. Best body text is #FFFFFF at 14.46:1 contrast (WCAG AA passes).

Color values

HEX#211875
RGBrgb(33, 24, 117)
HSLhsl(246, 66%, 28%)
HSVhsv(246, 79%, 46%)
CMYKcmyk(71.8%, 79.5%, 0%, 54.1%)
CIE-LABlab(16.80, 34.88, -51.23)
CIE-LCHlch(16.80, 61.98, 304.25°)
OKLaboklab(29.8% 0.0173 -0.1481)
OKLCHoklch(29.8% 0.149 276.7)
XYZxyz(4.1637, 2.2606, 17.0431)
Luminance0.0226 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211875 #6C7518
analogous
#183E75 #211875 #4F1875
triadic
#211875 #752118 #187521
tetradic
#211875 #75183E #6C7518 #18754F
square
#211875 #75183E #6C7518 #18754F
split-complementary
#211875 #754F18 #3E7518
monochromatic
#070519 #130E42 #211875 #2F22A8 #4232D5

Accessibility & contrast

On white

14.46
#211875 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#211875 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211875
14.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211875#FFFFFF#000000##FFFFFF
##2118751.0014.461.4514.46
#FFFFFF14.461.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D78
Deuteranopia (green-blind)
#002573
Tritanopia (blue-blind)
#003346
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #211875;
/* rgb */ color: rgb(33, 24, 117);
/* oklch */ color: oklch(29.8% 0.149 276.7);
Tailwind
colors: {
  custom: {
    50: '#6a579e',
    500: '#211875',
    950: '#000000',
  },
}
SCSS
$custom: #211875;
$custom-light: #6a579e;
$custom-dark: #000000;
JSON
{
  "hex": "#211875",
  "rgb": {
    "r": 33,
    "g": 24,
    "b": 117
  },
  "hsl": {
    "h": 245.806,
    "s": 65.957,
    "l": 27.647
  },
  "oklch": {
    "l": 0.29799,
    "c": 0.14907,
    "h": 276.7
  },
  "luminance": 0.02261
}

Semantic roles & 50–950 ramp

primary
#211875
secondary
#A0AA3F
accent
#E93FD8
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #211875

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

Preview Lab → · Contrast checker → · Palette generator →

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