#211858#211858

#211858 is a dark, moderate blue. Relative luminance 0.017; OKLCH L 26.7% C 0.110 H 282.4°. Best body text is #FFFFFF at 15.72:1 contrast (WCAG AA passes).

Color values

HEX#211858
RGBrgb(33, 24, 88)
HSLhsl(248, 57%, 22%)
HSVhsv(248, 73%, 35%)
CMYKcmyk(62.5%, 72.7%, 0%, 65.5%)
CIE-LABlab(13.72, 24.75, -37.20)
CIE-LCHlch(13.72, 44.68, 303.64°)
OKLaboklab(26.67% 0.0236 -0.107)
OKLCHoklch(26.67% 0.11 282.4)
XYZxyz(2.7147, 1.6810, 9.4120)
Luminance0.0168 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211858 #4F5818
analogous
#182F58 #211858 #411858
triadic
#211858 #582118 #185821
tetradic
#211858 #58182F #4F5818 #185841
square
#211858 #58182F #4F5818 #185841
split-complementary
#211858 #584118 #2F5818
monochromatic
#090718 #0F0B28 #211858 #332588 #4532B8

Accessibility & contrast

On white

15.72
#211858 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#211858 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211858
15.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211858#FFFFFF#000000##FFFFFF
##2118581.0015.721.3415.72
#FFFFFF15.721.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.721.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #211858;
/* rgb */ color: rgb(33, 24, 88);
/* oklch */ color: oklch(26.7% 0.110 282.4);
Tailwind
colors: {
  custom: {
    50: '#635588',
    500: '#211858',
    950: '#000000',
  },
}
SCSS
$custom: #211858;
$custom-light: #635588;
$custom-dark: #000000;
JSON
{
  "hex": "#211858",
  "rgb": {
    "r": 33,
    "g": 24,
    "b": 88
  },
  "hsl": {
    "h": 248.438,
    "s": 57.143,
    "l": 21.961
  },
  "oklch": {
    "l": 0.26673,
    "c": 0.10961,
    "h": 282.4
  },
  "luminance": 0.01681
}

Semantic roles & 50–950 ramp

primary
#211858
secondary
#838F3D
accent
#E047CB
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06030B
muted
#7A787C

Preview Lab

Preview with #211858

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

Preview Lab → · Contrast checker → · Palette generator →

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