#213266#213266

#213266 is a dark, moderate blue. Relative luminance 0.036; OKLCH L 33.3% C 0.094 H 267.5°. Best body text is #FFFFFF at 12.26:1 contrast (WCAG AA passes).

Color values

HEX#213266
RGBrgb(33, 50, 102)
HSLhsl(225, 51%, 26%)
HSVhsv(225, 68%, 40%)
CMYKcmyk(67.6%, 51%, 0%, 60%)
CIE-LABlab(22.17, 11.74, -32.76)
CIE-LCHlch(22.17, 34.80, 289.72°)
OKLaboklab(33.33% -0.0041 -0.0937)
OKLCHoklch(33.33% 0.094 267.5)
XYZxyz(4.1653, 3.5635, 13.0361)
Luminance0.0356 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213266 #665521
analogous
#215566 #213266 #332166
triadic
#213266 #662132 #326621
tetradic
#213266 #662155 #665521 #216633
square
#213266 #662155 #665521 #216633
split-complementary
#213266 #663321 #556621
monochromatic
#070B17 #121B38 #213266 #304994 #4060C1

Accessibility & contrast

On white

12.26
#213266 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#213266 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213266
12.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213266#FFFFFF#000000##FFFFFF
##2132661.0012.261.7112.26
#FFFFFF12.261.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#173868
Deuteranopia (green-blind)
#093265
Tritanopia (blue-blind)
#003E47
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #213266;
/* rgb */ color: rgb(33, 50, 102);
/* oklch */ color: oklch(33.3% 0.094 267.5);
Tailwind
colors: {
  custom: {
    50: '#646992',
    500: '#213266',
    950: '#000000',
  },
}
SCSS
$custom: #213266;
$custom-light: #646992;
$custom-dark: #000000;
JSON
{
  "hex": "#213266",
  "rgb": {
    "r": 33,
    "g": 50,
    "b": 102
  },
  "hsl": {
    "h": 225.217,
    "s": 51.111,
    "l": 26.471
  },
  "oklch": {
    "l": 0.3333,
    "c": 0.09384,
    "h": 267.5
  },
  "luminance": 0.03564
}

Semantic roles & 50–950 ramp

primary
#213266
secondary
#9A8649
accent
#B84DDB
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#06060D
muted
#7A7A7E

Preview Lab

Preview with #213266

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

Preview Lab → · Contrast checker → · Palette generator →

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