#213081#213081

#213081 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.2% C 0.137 H 269.8°. Best body text is #FFFFFF at 11.64:1 contrast (WCAG AA passes).

Color values

HEX#213081
RGBrgb(33, 48, 129)
HSLhsl(231, 59%, 32%)
HSVhsv(231, 74%, 51%)
CMYKcmyk(74.4%, 62.8%, 0%, 49.4%)
CIE-LABlab(23.74, 23.78, -47.48)
CIE-LCHlch(23.74, 53.10, 296.60°)
OKLaboklab(35.19% -0.0005 -0.137)
OKLCHoklch(35.19% 0.137 269.8)
XYZxyz(5.6452, 4.0216, 21.2434)
Luminance0.0402 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213081 #817221
analogous
#216081 #213081 #422181
triadic
#213081 #812130 #308121
tetradic
#213081 #812160 #817221 #218142
square
#213081 #812160 #817221 #218142
split-complementary
#213081 #814221 #608121
monochromatic
#080C20 #151E50 #213081 #2D42B2 #4B60D1

Accessibility & contrast

On white

11.64
#213081 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#213081 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213081
11.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213081#FFFFFF#000000##FFFFFF
##2130811.0011.641.8011.64
#FFFFFF11.641.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D84
Deuteranopia (green-blind)
#00347F
Tritanopia (blue-blind)
#004553
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #213081;
/* rgb */ color: rgb(33, 48, 129);
/* oklch */ color: oklch(35.2% 0.137 269.8);
Tailwind
colors: {
  custom: {
    50: '#6b68a6',
    500: '#213081',
    950: '#000000',
  },
}
SCSS
$custom: #213081;
$custom-light: #6b68a6;
$custom-dark: #000000;
JSON
{
  "hex": "#213081",
  "rgb": {
    "r": 33,
    "g": 48,
    "b": 129
  },
  "hsl": {
    "h": 230.625,
    "s": 59.259,
    "l": 31.765
  },
  "oklch": {
    "l": 0.35187,
    "c": 0.13705,
    "h": 269.8
  },
  "luminance": 0.04022
}

Semantic roles & 50–950 ramp

primary
#213081
secondary
#B4A34A
accent
#CA45E2
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#08060F
muted
#7A7A7F

Preview Lab

Preview with #213081

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

Preview Lab → · Contrast checker → · Palette generator →

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