#213485#213485

#213485 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.4% C 0.138 H 268.5°. Best body text is #FFFFFF at 11.08:1 contrast (WCAG AA passes).

Color values

HEX#213485
RGBrgb(33, 52, 133)
HSLhsl(229, 60%, 33%)
HSVhsv(229, 75%, 52%)
CMYKcmyk(75.2%, 60.9%, 0%, 47.8%)
CIE-LABlab(25.17, 22.57, -47.65)
CIE-LCHlch(25.17, 52.73, 295.35°)
OKLaboklab(36.36% -0.0036 -0.1375)
OKLCHoklch(36.36% 0.138 268.5)
XYZxyz(6.0874, 4.4721, 22.7281)
Luminance0.0447 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213485 #857221
analogous
#216685 #213485 #402185
triadic
#213485 #852134 #348521
tetradic
#213485 #852166 #857221 #218540
square
#213485 #852166 #857221 #218540
split-complementary
#213485 #854021 #668521
monochromatic
#090E23 #152154 #213485 #2D47B6 #4D67D3

Accessibility & contrast

On white

11.08
#213485 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#213485 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213485
11.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213485#FFFFFF#000000##FFFFFF
##2134851.0011.081.8911.08
#FFFFFF11.081.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004088
Deuteranopia (green-blind)
#003783
Tritanopia (blue-blind)
#004857
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #213485;
/* rgb */ color: rgb(33, 52, 133);
/* oklch */ color: oklch(36.4% 0.138 268.5);
Tailwind
colors: {
  custom: {
    50: '#6c6ba9',
    500: '#213485',
    950: '#000000',
  },
}
SCSS
$custom: #213485;
$custom-light: #6c6ba9;
$custom-dark: #000000;
JSON
{
  "hex": "#213485",
  "rgb": {
    "r": 33,
    "g": 52,
    "b": 133
  },
  "hsl": {
    "h": 228.6,
    "s": 60.241,
    "l": 32.549
  },
  "oklch": {
    "l": 0.36358,
    "c": 0.13756,
    "h": 268.5
  },
  "luminance": 0.04473
}

Semantic roles & 50–950 ramp

primary
#213485
secondary
#B6A24C
accent
#C544E3
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#080610
muted
#7A7A7F

Preview Lab

Preview with #213485

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

Preview Lab → · Contrast checker → · Palette generator →

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