#213082#213082

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

Color values

HEX#213082
RGBrgb(33, 48, 130)
HSLhsl(231, 60%, 32%)
HSVhsv(231, 75%, 51%)
CMYKcmyk(74.6%, 63.1%, 0%, 49%)
CIE-LABlab(23.83, 24.16, -47.96)
CIE-LCHlch(23.83, 53.70, 296.74°)
OKLaboklab(35.28% -0.0005 -0.1385)
OKLCHoklch(35.28% 0.138 269.8)
XYZxyz(5.7120, 4.0484, 21.5951)
Luminance0.0405 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213082 #827321
analogous
#216182 #213082 #432182
triadic
#213082 #822130 #308221
tetradic
#213082 #822161 #827321 #218243
square
#213082 #822161 #827321 #218243
split-complementary
#213082 #824321 #618221
monochromatic
#080C20 #151E51 #213082 #2D42B3 #4C61D2

Accessibility & contrast

On white

11.60
#213082 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#213082 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213082
11.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213082#FFFFFF#000000##FFFFFF
##2130821.0011.601.8111.60
#FFFFFF11.601.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.601.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #213082;
/* rgb */ color: rgb(33, 48, 130);
/* oklch */ color: oklch(35.3% 0.138 269.8);
Tailwind
colors: {
  custom: {
    50: '#6b68a7',
    500: '#213082',
    950: '#000000',
  },
}
SCSS
$custom: #213082;
$custom-light: #6b68a7;
$custom-dark: #000000;
JSON
{
  "hex": "#213082",
  "rgb": {
    "r": 33,
    "g": 48,
    "b": 130
  },
  "hsl": {
    "h": 230.722,
    "s": 59.509,
    "l": 31.961
  },
  "oklch": {
    "l": 0.35279,
    "c": 0.13848,
    "h": 269.8
  },
  "luminance": 0.04049
}

Semantic roles & 50–950 ramp

primary
#213082
secondary
#B4A44A
accent
#CA45E3
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#08060F
muted
#7A7A7F

Preview Lab

Preview with #213082

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

Preview Lab → · Contrast checker → · Palette generator →

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