#213779#213779

#213779 is a dark, moderate blue. Relative luminance 0.044; OKLCH L 36.0% C 0.116 H 266.6°. Best body text is #FFFFFF at 11.13:1 contrast (WCAG AA passes).

Color values

HEX#213779
RGBrgb(33, 55, 121)
HSLhsl(225, 57%, 30%)
HSVhsv(225, 73%, 47%)
CMYKcmyk(72.7%, 54.5%, 0%, 52.5%)
CIE-LABlab(25.06, 15.74, -40.28)
CIE-LCHlch(25.06, 43.25, 291.34°)
OKLaboklab(35.97% -0.0068 -0.1158)
OKLCHoklch(35.97% 0.116 266.6)
XYZxyz(5.4434, 4.4356, 18.6547)
Luminance0.0444 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213779 #796321
analogous
#216379 #213779 #372179
triadic
#213779 #792137 #377921
tetradic
#213779 #792163 #796321 #217937
square
#213779 #792163 #796321 #217937
split-complementary
#213779 #793721 #637921
monochromatic
#070B19 #142149 #213779 #2E4DA9 #4769CD

Accessibility & contrast

On white

11.13
#213779 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#213779 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213779
11.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213779#FFFFFF#000000##FFFFFF
##2137791.0011.131.8911.13
#FFFFFF11.131.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B407B
Deuteranopia (green-blind)
#003878
Tritanopia (blue-blind)
#004752
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #213779;
/* rgb */ color: rgb(33, 55, 121);
/* oklch */ color: oklch(36.0% 0.116 266.6);
Tailwind
colors: {
  custom: {
    50: '#686da0',
    500: '#213779',
    950: '#000000',
  },
}
SCSS
$custom: #213779;
$custom-light: #686da0;
$custom-dark: #000000;
JSON
{
  "hex": "#213779",
  "rgb": {
    "r": 33,
    "g": 55,
    "b": 121
  },
  "hsl": {
    "h": 225,
    "s": 57.143,
    "l": 30.196
  },
  "oklch": {
    "l": 0.3597,
    "c": 0.11601,
    "h": 266.6
  },
  "luminance": 0.04436
}

Semantic roles & 50–950 ramp

primary
#213779
secondary
#AC934A
accent
#BA47E0
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07070F
muted
#7A7A7E

Preview Lab

Preview with #213779

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

Preview Lab → · Contrast checker → · Palette generator →

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