#213281#213281

#213281 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 35.6% C 0.134 H 269.1°. Best body text is #FFFFFF at 11.43:1 contrast (WCAG AA passes).

Color values

HEX#213281
RGBrgb(33, 50, 129)
HSLhsl(229, 59%, 32%)
HSVhsv(229, 74%, 51%)
CMYKcmyk(74.4%, 61.2%, 0%, 49.4%)
CIE-LABlab(24.29, 22.39, -46.59)
CIE-LCHlch(24.29, 51.69, 295.67°)
OKLaboklab(35.59% -0.0021 -0.1344)
OKLCHoklch(35.59% 0.134 269.1)
XYZxyz(5.7289, 4.1889, 21.2712)
Luminance0.0419 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213281 #817021
analogous
#216281 #213281 #402181
triadic
#213281 #812132 #328121
tetradic
#213281 #812162 #817021 #218140
square
#213281 #812162 #817021 #218140
split-complementary
#213281 #814021 #628121
monochromatic
#080C20 #151F50 #213281 #2D45B2 #4B63D1

Accessibility & contrast

On white

11.43
#213281 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #213281
11.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213281#FFFFFF#000000##FFFFFF
##2132811.0011.431.8411.43
#FFFFFF11.431.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E84
Deuteranopia (green-blind)
#00357F
Tritanopia (blue-blind)
#004654
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #213281;
/* rgb */ color: rgb(33, 50, 129);
/* oklch */ color: oklch(35.6% 0.134 269.1);
Tailwind
colors: {
  custom: {
    50: '#6b69a6',
    500: '#213281',
    950: '#000000',
  },
}
SCSS
$custom: #213281;
$custom-light: #6b69a6;
$custom-dark: #000000;
JSON
{
  "hex": "#213281",
  "rgb": {
    "r": 33,
    "g": 50,
    "b": 129
  },
  "hsl": {
    "h": 229.375,
    "s": 59.259,
    "l": 31.765
  },
  "oklch": {
    "l": 0.35591,
    "c": 0.13445,
    "h": 269.1
  },
  "luminance": 0.0419
}

Semantic roles & 50–950 ramp

primary
#213281
secondary
#B4A14A
accent
#C745E2
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #213281

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

Preview Lab → · Contrast checker → · Palette generator →

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