#213375#213375

#213375 is a dark, moderate blue. Relative luminance 0.040; OKLCH L 34.8% C 0.115 H 268.3°. Best body text is #FFFFFF at 11.70:1 contrast (WCAG AA passes).

Color values

HEX#213375
RGBrgb(33, 51, 117)
HSLhsl(227, 56%, 29%)
HSVhsv(227, 72%, 46%)
CMYKcmyk(71.8%, 56.4%, 0%, 54.1%)
CIE-LABlab(23.59, 16.97, -40.13)
CIE-LCHlch(23.59, 43.57, 292.92°)
OKLaboklab(34.76% -0.0034 -0.1154)
OKLCHoklch(34.76% 0.115 268.3)
XYZxyz(5.0208, 3.9748, 17.3288)
Luminance0.0398 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213375 #756321
analogous
#215D75 #213375 #392175
triadic
#213375 #752133 #337521
tetradic
#213375 #75215D #756321 #217539
square
#213375 #75215D #756321 #217539
split-complementary
#213375 #753921 #5D7521
monochromatic
#070A18 #141E45 #213375 #2E48A5 #4662CB

Accessibility & contrast

On white

11.70
#213375 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#213375 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213375
11.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213375#FFFFFF#000000##FFFFFF
##2133751.0011.701.8011.70
#FFFFFF11.701.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#023C77
Deuteranopia (green-blind)
#003474
Tritanopia (blue-blind)
#00434E
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #213375;
/* rgb */ color: rgb(33, 51, 117);
/* oklch */ color: oklch(34.8% 0.115 268.3);
Tailwind
colors: {
  custom: {
    50: '#686a9d',
    500: '#213375',
    950: '#000000',
  },
}
SCSS
$custom: #213375;
$custom-light: #686a9d;
$custom-dark: #000000;
JSON
{
  "hex": "#213375",
  "rgb": {
    "r": 33,
    "g": 51,
    "b": 117
  },
  "hsl": {
    "h": 227.143,
    "s": 56,
    "l": 29.412
  },
  "oklch": {
    "l": 0.34759,
    "c": 0.11547,
    "h": 268.3
  },
  "luminance": 0.03975
}

Semantic roles & 50–950 ramp

primary
#213375
secondary
#A8944A
accent
#BF49DF
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #213375

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

Preview Lab → · Contrast checker → · Palette generator →

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