#213276#213276

#213276 is a dark, moderate blue. Relative luminance 0.039; OKLCH L 34.6% C 0.118 H 268.8°. Best body text is #FFFFFF at 11.78:1 contrast (WCAG AA passes).

Color values

HEX#213276
RGBrgb(33, 50, 118)
HSLhsl(228, 56%, 30%)
HSVhsv(228, 72%, 46%)
CMYKcmyk(72%, 57.6%, 0%, 53.7%)
CIE-LABlab(23.38, 18.07, -41.11)
CIE-LCHlch(23.38, 44.90, 293.73°)
OKLaboklab(34.63% -0.0024 -0.1183)
OKLCHoklch(34.63% 0.118 268.8)
XYZxyz(5.0367, 3.9120, 17.6257)
Luminance0.0391 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213276 #766521
analogous
#215D76 #213276 #3B2176
triadic
#213276 #762132 #327621
tetradic
#213276 #76215D #766521 #21763B
square
#213276 #76215D #766521 #21763B
split-complementary
#213276 #763B21 #5D7621
monochromatic
#070A18 #141E46 #213276 #2E46A6 #4661CB

Accessibility & contrast

On white

11.78
#213276 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#213276 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213276
11.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213276#FFFFFF#000000##FFFFFF
##2132761.0011.781.7811.78
#FFFFFF11.781.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C78
Deuteranopia (green-blind)
#003475
Tritanopia (blue-blind)
#00424E
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #213276;
/* rgb */ color: rgb(33, 50, 118);
/* oklch */ color: oklch(34.6% 0.118 268.8);
Tailwind
colors: {
  custom: {
    50: '#68699e',
    500: '#213276',
    950: '#000000',
  },
}
SCSS
$custom: #213276;
$custom-light: #68699e;
$custom-dark: #000000;
JSON
{
  "hex": "#213276",
  "rgb": {
    "r": 33,
    "g": 50,
    "b": 118
  },
  "hsl": {
    "h": 228,
    "s": 56.291,
    "l": 29.608
  },
  "oklch": {
    "l": 0.34627,
    "c": 0.11834,
    "h": 268.8
  },
  "luminance": 0.03913
}

Semantic roles & 50–950 ramp

primary
#213276
secondary
#A9964A
accent
#C148E0
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #213276

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

Preview Lab → · Contrast checker → · Palette generator →

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