#213666#213666

#213666 is a dark, moderate blue. Relative luminance 0.039; OKLCH L 34.3% C 0.088 H 264.4°. Best body text is #FFFFFF at 11.77:1 contrast (WCAG AA passes).

Color values

HEX#213666
RGBrgb(33, 54, 102)
HSLhsl(222, 51%, 26%)
HSVhsv(222, 68%, 40%)
CMYKcmyk(67.6%, 47.1%, 0%, 60%)
CIE-LABlab(23.41, 8.91, -30.78)
CIE-LCHlch(23.41, 32.04, 286.14°)
OKLaboklab(34.28% -0.0085 -0.0879)
OKLCHoklch(34.28% 0.088 264.4)
XYZxyz(4.3438, 3.9206, 13.0956)
Luminance0.0392 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213666 #665121
analogous
#215966 #213666 #2F2166
triadic
#213666 #662136 #366621
tetradic
#213666 #662159 #665121 #21662F
square
#213666 #662159 #665121 #21662F
split-complementary
#213666 #662F21 #596621
monochromatic
#070C17 #121E38 #213666 #304E94 #4067C1

Accessibility & contrast

On white

11.77
#213666 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#213666 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213666
11.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213666#FFFFFF#000000##FFFFFF
##2136661.0011.771.7811.77
#FFFFFF11.771.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F3B68
Deuteranopia (green-blind)
#143565
Tritanopia (blue-blind)
#004149
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #213666;
/* rgb */ color: rgb(33, 54, 102);
/* oklch */ color: oklch(34.3% 0.088 264.4);
Tailwind
colors: {
  custom: {
    50: '#646c92',
    500: '#213666',
    950: '#000000',
  },
}
SCSS
$custom: #213666;
$custom-light: #646c92;
$custom-dark: #000000;
JSON
{
  "hex": "#213666",
  "rgb": {
    "r": 33,
    "g": 54,
    "b": 102
  },
  "hsl": {
    "h": 221.739,
    "s": 51.111,
    "l": 26.471
  },
  "oklch": {
    "l": 0.34275,
    "c": 0.08828,
    "h": 264.4
  },
  "luminance": 0.03921
}

Semantic roles & 50–950 ramp

primary
#213666
secondary
#9A8149
accent
#B04DDB
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#06070D
muted
#7A7A7E

Preview Lab

Preview with #213666

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

Preview Lab → · Contrast checker → · Palette generator →

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