#213181#213181

#213181 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.4% C 0.136 H 269.5°. Best body text is #FFFFFF at 11.53:1 contrast (WCAG AA passes).

Color values

HEX#213181
RGBrgb(33, 49, 129)
HSLhsl(230, 59%, 32%)
HSVhsv(230, 74%, 51%)
CMYKcmyk(74.4%, 62%, 0%, 49.4%)
CIE-LABlab(24.01, 23.09, -47.03)
CIE-LCHlch(24.01, 52.39, 296.14°)
OKLaboklab(35.39% -0.0013 -0.1357)
OKLCHoklch(35.39% 0.136 269.5)
XYZxyz(5.6866, 4.1044, 21.2571)
Luminance0.0411 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213181 #817121
analogous
#216181 #213181 #412181
triadic
#213181 #812131 #318121
tetradic
#213181 #812161 #817121 #218141
square
#213181 #812161 #817121 #218141
split-complementary
#213181 #814121 #618121
monochromatic
#080C20 #151E50 #213181 #2D44B2 #4B62D1

Accessibility & contrast

On white

11.53
#213181 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#213181 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213181
11.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213181#FFFFFF#000000##FFFFFF
##2131811.0011.531.8211.53
#FFFFFF11.531.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E84
Deuteranopia (green-blind)
#00357F
Tritanopia (blue-blind)
#004554
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #213181;
/* rgb */ color: rgb(33, 49, 129);
/* oklch */ color: oklch(35.4% 0.136 269.5);
Tailwind
colors: {
  custom: {
    50: '#6b68a6',
    500: '#213181',
    950: '#000000',
  },
}
SCSS
$custom: #213181;
$custom-light: #6b68a6;
$custom-dark: #000000;
JSON
{
  "hex": "#213181",
  "rgb": {
    "r": 33,
    "g": 49,
    "b": 129
  },
  "hsl": {
    "h": 230,
    "s": 59.259,
    "l": 31.765
  },
  "oklch": {
    "l": 0.35388,
    "c": 0.13576,
    "h": 269.5
  },
  "luminance": 0.04105
}

Semantic roles & 50–950 ramp

primary
#213181
secondary
#B4A24A
accent
#C845E2
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #213181

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

Preview Lab → · Contrast checker → · Palette generator →

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