#211F6E#211F6E

#211F6E is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.1% C 0.132 H 276.1°. Best body text is #FFFFFF at 14.13:1 contrast (WCAG AA passes).

Color values

HEX#211F6E
RGBrgb(33, 31, 110)
HSLhsl(242, 56%, 28%)
HSVhsv(242, 72%, 43%)
CMYKcmyk(70%, 71.8%, 0%, 56.9%)
CIE-LABlab(17.59, 28.11, -45.40)
CIE-LCHlch(17.59, 53.40, 301.76°)
OKLaboklab(30.14% 0.0141 -0.1311)
OKLCHoklch(30.14% 0.132 276.1)
XYZxyz(3.9307, 2.4288, 15.0105)
Luminance0.0243 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211F6E #6C6E1F
analogous
#1F446E #211F6E #481F6E
triadic
#211F6E #6E211F #1F6E21
tetradic
#211F6E #6E1F44 #6C6E1F #1F6E48
square
#211F6E #6E1F44 #6C6E1F #1F6E48
split-complementary
#211F6E #6E481F #446E1F
monochromatic
#070718 #13123E #211F6E #2F2C9E #423FC9

Accessibility & contrast

On white

14.13
#211F6E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#211F6E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211F6E
14.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211F6E#FFFFFF#000000##FFFFFF
##211F6E1.0014.131.4914.13
#FFFFFF14.131.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F70
Deuteranopia (green-blind)
#00286D
Tritanopia (blue-blind)
#003443
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #211f6e;
/* rgb */ color: rgb(33, 31, 110);
/* oklch */ color: oklch(30.1% 0.132 276.1);
Tailwind
colors: {
  custom: {
    50: '#685b98',
    500: '#211f6e',
    950: '#000000',
  },
}
SCSS
$custom: #211f6e;
$custom-light: #685b98;
$custom-dark: #000000;
JSON
{
  "hex": "#211f6e",
  "rgb": {
    "r": 33,
    "g": 31,
    "b": 110
  },
  "hsl": {
    "h": 241.519,
    "s": 56.028,
    "l": 27.647
  },
  "oklch": {
    "l": 0.30139,
    "c": 0.13183,
    "h": 276.1
  },
  "luminance": 0.02429
}

Semantic roles & 50–950 ramp

primary
#211F6E
secondary
#A0A247
accent
#DF48DC
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #211F6E

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

Preview Lab → · Contrast checker → · Palette generator →

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