#213679#213679

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

Color values

HEX#213679
RGBrgb(33, 54, 121)
HSLhsl(226, 57%, 30%)
HSVhsv(226, 73%, 47%)
CMYKcmyk(72.7%, 55.4%, 0%, 52.5%)
CIE-LABlab(24.77, 16.44, -40.76)
CIE-LCHlch(24.77, 43.95, 291.97°)
OKLaboklab(35.75% -0.0059 -0.1172)
OKLCHoklch(35.75% 0.117 267.1)
XYZxyz(5.3964, 4.3416, 18.6391)
Luminance0.0434 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213679 #796421
analogous
#216279 #213679 #382179
triadic
#213679 #792136 #367921
tetradic
#213679 #792162 #796421 #217938
square
#213679 #792162 #796421 #217938
split-complementary
#213679 #793821 #627921
monochromatic
#070B19 #142149 #213679 #2E4BA9 #4767CD

Accessibility & contrast

On white

11.24
#213679 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#213679 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213679
11.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213679#FFFFFF#000000##FFFFFF
##2136791.0011.241.8711.24
#FFFFFF11.241.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#073F7B
Deuteranopia (green-blind)
#003778
Tritanopia (blue-blind)
#004652
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #213679;
/* rgb */ color: rgb(33, 54, 121);
/* oklch */ color: oklch(35.7% 0.117 267.1);
Tailwind
colors: {
  custom: {
    50: '#696ca0',
    500: '#213679',
    950: '#000000',
  },
}
SCSS
$custom: #213679;
$custom-light: #696ca0;
$custom-dark: #000000;
JSON
{
  "hex": "#213679",
  "rgb": {
    "r": 33,
    "g": 54,
    "b": 121
  },
  "hsl": {
    "h": 225.682,
    "s": 57.143,
    "l": 30.196
  },
  "oklch": {
    "l": 0.35749,
    "c": 0.11737,
    "h": 267.1
  },
  "luminance": 0.04342
}

Semantic roles & 50–950 ramp

primary
#213679
secondary
#AC954A
accent
#BC47E0
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07070F
muted
#7A7A7E

Preview Lab

Preview with #213679

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

Preview Lab → · Contrast checker → · Palette generator →

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