#211F64#211F64

#211F64 is a dark, moderate blue. Relative luminance 0.022; OKLCH L 29.1% C 0.118 H 277.5°. Best body text is #FFFFFF at 14.54:1 contrast (WCAG AA passes).

Color values

HEX#211F64
RGBrgb(33, 31, 100)
HSLhsl(242, 53%, 26%)
HSVhsv(242, 69%, 39%)
CMYKcmyk(67%, 69%, 0%, 60.8%)
CIE-LABlab(16.62, 24.43, -40.45)
CIE-LCHlch(16.62, 47.26, 301.12°)
OKLaboklab(29.13% 0.0153 -0.1166)
OKLCHoklch(29.13% 0.118 277.5)
XYZxyz(3.4167, 2.2231, 12.3032)
Luminance0.0222 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211F64 #62641F
analogous
#1F3F64 #211F64 #431F64
triadic
#211F64 #64211F #1F6421
tetradic
#211F64 #641F3F #62641F #1F6443
square
#211F64 #641F3F #62641F #1F6443
split-complementary
#211F64 #64431F #3F641F
monochromatic
#080717 #121135 #211F64 #302D93 #403CC1

Accessibility & contrast

On white

14.54
#211F64 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#211F64 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211F64
14.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211F64#FFFFFF#000000##FFFFFF
##211F641.0014.541.4414.54
#FFFFFF14.541.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C66
Deuteranopia (green-blind)
#002663
Tritanopia (blue-blind)
#00313E
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #211f64;
/* rgb */ color: rgb(33, 31, 100);
/* oklch */ color: oklch(29.1% 0.118 277.5);
Tailwind
colors: {
  custom: {
    50: '#655b91',
    500: '#211f64',
    950: '#000000',
  },
}
SCSS
$custom: #211f64;
$custom-light: #655b91;
$custom-dark: #000000;
JSON
{
  "hex": "#211f64",
  "rgb": {
    "r": 33,
    "g": 31,
    "b": 100
  },
  "hsl": {
    "h": 241.739,
    "s": 52.672,
    "l": 25.686
  },
  "oklch": {
    "l": 0.29132,
    "c": 0.11759,
    "h": 277.5
  },
  "luminance": 0.02223
}

Semantic roles & 50–950 ramp

primary
#211F64
secondary
#969846
accent
#DC4CD8
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06040D
muted
#7A797E

Preview Lab

Preview with #211F64

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

Preview Lab → · Contrast checker → · Palette generator →

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