#213064#213064

#213064 is a dark, moderate blue. Relative luminance 0.034; OKLCH L 32.7% C 0.094 H 268.7°. Best body text is #FFFFFF at 12.56:1 contrast (WCAG AA passes).

Color values

HEX#213064
RGBrgb(33, 48, 100)
HSLhsl(227, 50%, 26%)
HSVhsv(227, 67%, 39%)
CMYKcmyk(67%, 52%, 0%, 60.8%)
CIE-LABlab(21.42, 12.38, -32.66)
CIE-LCHlch(21.42, 34.93, 290.76°)
OKLaboklab(32.71% -0.0021 -0.0935)
OKLCHoklch(32.71% 0.094 268.7)
XYZxyz(3.9836, 3.3570, 12.4922)
Luminance0.0336 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213064 #645521
analogous
#215164 #213064 #332164
triadic
#213064 #642130 #306421
tetradic
#213064 #642151 #645521 #216433
square
#213064 #642151 #645521 #216433
split-complementary
#213064 #643321 #516421
monochromatic
#080B17 #121A36 #213064 #304692 #405CC0

Accessibility & contrast

On white

12.56
#213064 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#213064 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213064
12.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213064#FFFFFF#000000##FFFFFF
##2130641.0012.561.6712.56
#FFFFFF12.561.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#153766
Deuteranopia (green-blind)
#063163
Tritanopia (blue-blind)
#003C45
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #213064;
/* rgb */ color: rgb(33, 48, 100);
/* oklch */ color: oklch(32.7% 0.094 268.7);
Tailwind
colors: {
  custom: {
    50: '#646790',
    500: '#213064',
    950: '#000000',
  },
}
SCSS
$custom: #213064;
$custom-light: #646790;
$custom-dark: #000000;
JSON
{
  "hex": "#213064",
  "rgb": {
    "r": 33,
    "g": 48,
    "b": 100
  },
  "hsl": {
    "h": 226.567,
    "s": 50.376,
    "l": 26.078
  },
  "oklch": {
    "l": 0.32711,
    "c": 0.09352,
    "h": 268.7
  },
  "luminance": 0.03357
}

Semantic roles & 50–950 ramp

primary
#213064
secondary
#988649
accent
#BB4EDA
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#06060C
muted
#7A7A7D

Preview Lab

Preview with #213064

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

Preview Lab → · Contrast checker → · Palette generator →

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