#213783#213783

#213783 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 36.8% C 0.131 H 267.3°. Best body text is #FFFFFF at 10.83:1 contrast (WCAG AA passes).

Color values

HEX#213783
RGBrgb(33, 55, 131)
HSLhsl(227, 60%, 32%)
HSVhsv(227, 75%, 51%)
CMYKcmyk(74.8%, 58%, 0%, 48.6%)
CIE-LABlab(25.84, 19.70, -45.31)
CIE-LCHlch(25.84, 49.41, 293.50°)
OKLaboklab(36.81% -0.0061 -0.1306)
OKLCHoklch(36.81% 0.131 267.3)
XYZxyz(6.0887, 4.6938, 22.0534)
Luminance0.0469 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213783 #836D21
analogous
#216883 #213783 #3C2183
triadic
#213783 #832137 #378321
tetradic
#213783 #832168 #836D21 #21833C
square
#213783 #832168 #836D21 #21833C
split-complementary
#213783 #833C21 #688321
monochromatic
#080E21 #152252 #213783 #2D4CB4 #4C6AD2

Accessibility & contrast

On white

10.83
#213783 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#213783 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213783
10.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213783#FFFFFF#000000##FFFFFF
##2137831.0010.831.9410.83
#FFFFFF10.831.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004286
Deuteranopia (green-blind)
#003981
Tritanopia (blue-blind)
#004A57
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #213783;
/* rgb */ color: rgb(33, 55, 131);
/* oklch */ color: oklch(36.8% 0.131 267.3);
Tailwind
colors: {
  custom: {
    50: '#6b6da8',
    500: '#213783',
    950: '#000000',
  },
}
SCSS
$custom: #213783;
$custom-light: #6b6da8;
$custom-dark: #000000;
JSON
{
  "hex": "#213783",
  "rgb": {
    "r": 33,
    "g": 55,
    "b": 131
  },
  "hsl": {
    "h": 226.531,
    "s": 59.756,
    "l": 32.157
  },
  "oklch": {
    "l": 0.36807,
    "c": 0.13073,
    "h": 267.3
  },
  "luminance": 0.04694
}

Semantic roles & 50–950 ramp

primary
#213783
secondary
#B59D4B
accent
#BF45E3
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#070710
muted
#7A7A7F

Preview Lab

Preview with #213783

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

Preview Lab → · Contrast checker → · Palette generator →

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