#213183#213183

#213183 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 35.6% C 0.139 H 269.5°. Best body text is #FFFFFF at 11.46:1 contrast (WCAG AA passes).

Color values

HEX#213183
RGBrgb(33, 49, 131)
HSLhsl(230, 60%, 32%)
HSVhsv(230, 75%, 51%)
CMYKcmyk(74.8%, 62.6%, 0%, 48.6%)
CIE-LABlab(24.19, 23.86, -48.01)
CIE-LCHlch(24.19, 53.61, 296.43°)
OKLaboklab(35.57% -0.0013 -0.1386)
OKLCHoklch(35.57% 0.139 269.5)
XYZxyz(5.8208, 4.1580, 21.9641)
Luminance0.0416 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213183 #837321
analogous
#216283 #213183 #422183
triadic
#213183 #832131 #318321
tetradic
#213183 #832162 #837321 #218342
square
#213183 #832162 #837321 #218342
split-complementary
#213183 #834221 #628321
monochromatic
#080C21 #151F52 #213183 #2D43B4 #4C62D2

Accessibility & contrast

On white

11.46
#213183 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #213183
11.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213183#FFFFFF#000000##FFFFFF
##2131831.0011.461.8311.46
#FFFFFF11.461.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E86
Deuteranopia (green-blind)
#003581
Tritanopia (blue-blind)
#004655
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #213183;
/* rgb */ color: rgb(33, 49, 131);
/* oklch */ color: oklch(35.6% 0.139 269.5);
Tailwind
colors: {
  custom: {
    50: '#6b68a8',
    500: '#213183',
    950: '#000000',
  },
}
SCSS
$custom: #213183;
$custom-light: #6b68a8;
$custom-dark: #000000;
JSON
{
  "hex": "#213183",
  "rgb": {
    "r": 33,
    "g": 49,
    "b": 131
  },
  "hsl": {
    "h": 230.204,
    "s": 59.756,
    "l": 32.157
  },
  "oklch": {
    "l": 0.35571,
    "c": 0.13861,
    "h": 269.5
  },
  "luminance": 0.04159
}

Semantic roles & 50–950 ramp

primary
#213183
secondary
#B5A44B
accent
#C945E3
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#080610
muted
#7A7A7F

Preview Lab

Preview with #213183

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

Preview Lab → · Contrast checker → · Palette generator →

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