#213867#213867

#213867 is a dark, moderate blue. Relative luminance 0.041; OKLCH L 34.8% C 0.087 H 263.0°. Best body text is #FFFFFF at 11.50:1 contrast (WCAG AA passes).

Color values

HEX#213867
RGBrgb(33, 56, 103)
HSLhsl(220, 51%, 27%)
HSVhsv(220, 68%, 40%)
CMYKcmyk(68%, 45.6%, 0%, 59.6%)
CIE-LABlab(24.10, 7.89, -30.32)
CIE-LCHlch(24.10, 31.33, 284.59°)
OKLaboklab(34.83% -0.0106 -0.0865)
OKLCHoklch(34.83% 0.087 263)
XYZxyz(4.4887, 4.1305, 13.3901)
Luminance0.0413 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213867 #675021
analogous
#215B67 #213867 #2D2167
triadic
#213867 #672138 #386721
tetradic
#213867 #67215B #675021 #21672D
square
#213867 #67215B #675021 #21672D
split-complementary
#213867 #672D21 #5B6721
monochromatic
#070D17 #121F39 #213867 #305195 #406BC2

Accessibility & contrast

On white

11.50
#213867 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#213867 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213867
11.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213867#FFFFFF#000000##FFFFFF
##2138671.0011.501.8311.50
#FFFFFF11.501.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#223D69
Deuteranopia (green-blind)
#173666
Tritanopia (blue-blind)
#00434A
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #213867;
/* rgb */ color: rgb(33, 56, 103);
/* oklch */ color: oklch(34.8% 0.087 263.0);
Tailwind
colors: {
  custom: {
    50: '#646e93',
    500: '#213867',
    950: '#000000',
  },
}
SCSS
$custom: #213867;
$custom-light: #646e93;
$custom-dark: #000000;
JSON
{
  "hex": "#213867",
  "rgb": {
    "r": 33,
    "g": 56,
    "b": 103
  },
  "hsl": {
    "h": 220.286,
    "s": 51.471,
    "l": 26.667
  },
  "oklch": {
    "l": 0.34828,
    "c": 0.08715,
    "h": 263
  },
  "luminance": 0.04131
}

Semantic roles & 50–950 ramp

primary
#213867
secondary
#9B8049
accent
#AC4DDB
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#06070D
muted
#7A7A7E

Preview Lab

Preview with #213867

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

Preview Lab → · Contrast checker → · Palette generator →

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