#213182#213182

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

Color values

HEX#213182
RGBrgb(33, 49, 130)
HSLhsl(230, 60%, 32%)
HSVhsv(230, 75%, 51%)
CMYKcmyk(74.6%, 62.3%, 0%, 49%)
CIE-LABlab(24.10, 23.47, -47.52)
CIE-LCHlch(24.10, 53.00, 296.29°)
OKLaboklab(35.48% -0.0013 -0.1372)
OKLCHoklch(35.48% 0.137 269.5)
XYZxyz(5.7534, 4.1311, 21.6089)
Luminance0.0413 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213182 #827221
analogous
#216282 #213182 #422182
triadic
#213182 #822131 #318221
tetradic
#213182 #822162 #827221 #218242
square
#213182 #822162 #827221 #218242
split-complementary
#213182 #824221 #628221
monochromatic
#080C20 #151F51 #213182 #2D43B3 #4C62D2

Accessibility & contrast

On white

11.50
#213182 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#213182 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213182
11.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213182#FFFFFF#000000##FFFFFF
##2131821.0011.501.8311.50
#FFFFFF11.501.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E85
Deuteranopia (green-blind)
#003580
Tritanopia (blue-blind)
#004554
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #213182;
/* rgb */ color: rgb(33, 49, 130);
/* oklch */ color: oklch(35.5% 0.137 269.5);
Tailwind
colors: {
  custom: {
    50: '#6b68a7',
    500: '#213182',
    950: '#000000',
  },
}
SCSS
$custom: #213182;
$custom-light: #6b68a7;
$custom-dark: #000000;
JSON
{
  "hex": "#213182",
  "rgb": {
    "r": 33,
    "g": 49,
    "b": 130
  },
  "hsl": {
    "h": 230.103,
    "s": 59.509,
    "l": 31.961
  },
  "oklch": {
    "l": 0.35479,
    "c": 0.13719,
    "h": 269.5
  },
  "luminance": 0.04132
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #213182

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

Preview Lab → · Contrast checker → · Palette generator →

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