#213185#213185

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

Color values

HEX#213185
RGBrgb(33, 49, 133)
HSLhsl(230, 60%, 33%)
HSVhsv(230, 75%, 52%)
CMYKcmyk(75.2%, 63.2%, 0%, 47.8%)
CIE-LABlab(24.36, 24.64, -48.97)
CIE-LCHlch(24.36, 54.82, 296.71°)
OKLaboklab(35.75% -0.0013 -0.1414)
OKLCHoklch(35.75% 0.141 269.5)
XYZxyz(5.9577, 4.2128, 22.6849)
Luminance0.0421 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213185 #857521
analogous
#216385 #213185 #432185
triadic
#213185 #852131 #318521
tetradic
#213185 #852163 #857521 #218543
square
#213185 #852163 #857521 #218543
split-complementary
#213185 #854321 #638521
monochromatic
#090D23 #151F54 #213185 #2D43B6 #4D63D3

Accessibility & contrast

On white

11.40
#213185 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#213185 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213185
11.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213185#FFFFFF#000000##FFFFFF
##2131851.0011.401.8411.40
#FFFFFF11.401.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F88
Deuteranopia (green-blind)
#003583
Tritanopia (blue-blind)
#004656
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #213185;
/* rgb */ color: rgb(33, 49, 133);
/* oklch */ color: oklch(35.8% 0.141 269.5);
Tailwind
colors: {
  custom: {
    50: '#6c69a9',
    500: '#213185',
    950: '#000000',
  },
}
SCSS
$custom: #213185;
$custom-light: #6c69a9;
$custom-dark: #000000;
JSON
{
  "hex": "#213185",
  "rgb": {
    "r": 33,
    "g": 49,
    "b": 133
  },
  "hsl": {
    "h": 230.4,
    "s": 60.241,
    "l": 32.549
  },
  "oklch": {
    "l": 0.35755,
    "c": 0.14145,
    "h": 269.5
  },
  "luminance": 0.04213
}

Semantic roles & 50–950 ramp

primary
#213185
secondary
#B6A54C
accent
#CA44E3
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#080610
muted
#7A7A7F

Preview Lab

Preview with #213185

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

Preview Lab → · Contrast checker → · Palette generator →

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