#213285#213285

#213285 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.0% C 0.140 H 269.2°. Best body text is #FFFFFF at 11.29:1 contrast (WCAG AA passes).

Color values

HEX#213285
RGBrgb(33, 50, 133)
HSLhsl(230, 60%, 33%)
HSVhsv(230, 75%, 52%)
CMYKcmyk(75.2%, 62.4%, 0%, 47.8%)
CIE-LABlab(24.63, 23.95, -48.54)
CIE-LCHlch(24.63, 54.12, 296.27°)
OKLaboklab(35.95% -0.0021 -0.1401)
OKLCHoklch(35.95% 0.14 269.2)
XYZxyz(6.0000, 4.2974, 22.6990)
Luminance0.0430 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213285 #857421
analogous
#216485 #213285 #422185
triadic
#213285 #852132 #328521
tetradic
#213285 #852164 #857421 #218542
square
#213285 #852164 #857421 #218542
split-complementary
#213285 #854221 #648521
monochromatic
#090D23 #152054 #213285 #2D44B6 #4D64D3

Accessibility & contrast

On white

11.29
#213285 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#213285 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213285
11.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213285#FFFFFF#000000##FFFFFF
##2132851.0011.291.8611.29
#FFFFFF11.291.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.291.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #213285;
/* rgb */ color: rgb(33, 50, 133);
/* oklch */ color: oklch(36.0% 0.140 269.2);
Tailwind
colors: {
  custom: {
    50: '#6c69a9',
    500: '#213285',
    950: '#000000',
  },
}
SCSS
$custom: #213285;
$custom-light: #6c69a9;
$custom-dark: #000000;
JSON
{
  "hex": "#213285",
  "rgb": {
    "r": 33,
    "g": 50,
    "b": 133
  },
  "hsl": {
    "h": 229.8,
    "s": 60.241,
    "l": 32.549
  },
  "oklch": {
    "l": 0.35954,
    "c": 0.14016,
    "h": 269.2
  },
  "luminance": 0.04298
}

Semantic roles & 50–950 ramp

primary
#213285
secondary
#B6A44C
accent
#C844E3
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#080610
muted
#7A7A7F

Preview Lab

Preview with #213285

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

Preview Lab → · Contrast checker → · Palette generator →

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