#213678#213678

#213678 is a dark, moderate blue. Relative luminance 0.043; OKLCH L 35.7% C 0.116 H 267.0°. Best body text is #FFFFFF at 11.27:1 contrast (WCAG AA passes).

Color values

HEX#213678
RGBrgb(33, 54, 120)
HSLhsl(226, 57%, 30%)
HSVhsv(226, 73%, 47%)
CMYKcmyk(72.5%, 55%, 0%, 52.9%)
CIE-LABlab(24.69, 16.04, -40.25)
CIE-LCHlch(24.69, 43.33, 291.73°)
OKLaboklab(35.67% -0.006 -0.1157)
OKLCHoklch(35.67% 0.116 267)
XYZxyz(5.3354, 4.3172, 18.3178)
Luminance0.0432 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213678 #786321
analogous
#216278 #213678 #372178
triadic
#213678 #782136 #367821
tetradic
#213678 #782162 #786321 #217837
square
#213678 #782162 #786321 #217837
split-complementary
#213678 #783721 #627821
monochromatic
#070B18 #142048 #213678 #2E4CA8 #4767CC

Accessibility & contrast

On white

11.27
#213678 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#213678 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213678
11.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213678#FFFFFF#000000##FFFFFF
##2136781.0011.271.8611.27
#FFFFFF11.271.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#093F7A
Deuteranopia (green-blind)
#003777
Tritanopia (blue-blind)
#004651
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #213678;
/* rgb */ color: rgb(33, 54, 120);
/* oklch */ color: oklch(35.7% 0.116 267.0);
Tailwind
colors: {
  custom: {
    50: '#686c9f',
    500: '#213678',
    950: '#000000',
  },
}
SCSS
$custom: #213678;
$custom-light: #686c9f;
$custom-dark: #000000;
JSON
{
  "hex": "#213678",
  "rgb": {
    "r": 33,
    "g": 54,
    "b": 120
  },
  "hsl": {
    "h": 225.517,
    "s": 56.863,
    "l": 30
  },
  "oklch": {
    "l": 0.35667,
    "c": 0.11587,
    "h": 267
  },
  "luminance": 0.04318
}

Semantic roles & 50–950 ramp

primary
#213678
secondary
#AB944A
accent
#BB48E0
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07070F
muted
#7A7A7E

Preview Lab

Preview with #213678

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

Preview Lab → · Contrast checker → · Palette generator →

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