#213288#213288

#213288 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.2% C 0.144 H 269.2°. Best body text is #FFFFFF at 11.19:1 contrast (WCAG AA passes).

Color values

HEX#213288
RGBrgb(33, 50, 136)
HSLhsl(230, 61%, 33%)
HSVhsv(230, 76%, 53%)
CMYKcmyk(75.7%, 63.2%, 0%, 46.7%)
CIE-LABlab(24.89, 25.11, -49.98)
CIE-LCHlch(24.89, 55.93, 296.68°)
OKLaboklab(36.23% -0.0021 -0.1444)
OKLCHoklch(36.23% 0.144 269.2)
XYZxyz(6.2102, 4.3815, 23.8062)
Luminance0.0438 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213288 #887721
analogous
#216588 #213288 #432188
triadic
#213288 #882132 #328821
tetradic
#213288 #882165 #887721 #218843
square
#213288 #882165 #887721 #218843
split-complementary
#213288 #884321 #658821
monochromatic
#090E25 #152057 #213288 #2D44B9 #4F65D4

Accessibility & contrast

On white

11.19
#213288 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#213288 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213288
11.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213288#FFFFFF#000000##FFFFFF
##2132881.0011.191.8811.19
#FFFFFF11.191.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408B
Deuteranopia (green-blind)
#003686
Tritanopia (blue-blind)
#004858
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #213288;
/* rgb */ color: rgb(33, 50, 136);
/* oklch */ color: oklch(36.2% 0.144 269.2);
Tailwind
colors: {
  custom: {
    50: '#6d69ab',
    500: '#213288',
    950: '#000000',
  },
}
SCSS
$custom: #213288;
$custom-light: #6d69ab;
$custom-dark: #000000;
JSON
{
  "hex": "#213288",
  "rgb": {
    "r": 33,
    "g": 50,
    "b": 136
  },
  "hsl": {
    "h": 230.097,
    "s": 60.947,
    "l": 33.137
  },
  "oklch": {
    "l": 0.36231,
    "c": 0.1444,
    "h": 269.2
  },
  "luminance": 0.04382
}

Semantic roles & 50–950 ramp

primary
#213288
secondary
#B8A64D
accent
#CA44E4
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #213288

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

Preview Lab → · Contrast checker → · Palette generator →

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