#212680#212680

#212680 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.2% C 0.148 H 272.6°. Best body text is #FFFFFF at 12.70:1 contrast (WCAG AA passes).

Color values

HEX#212680
RGBrgb(33, 38, 128)
HSLhsl(237, 59%, 32%)
HSVhsv(237, 74%, 50%)
CMYKcmyk(74.2%, 70.3%, 0%, 49.8%)
CIE-LABlab(21.09, 30.15, -51.20)
CIE-LCHlch(21.09, 59.41, 300.49°)
OKLaboklab(33.21% 0.0067 -0.148)
OKLCHoklch(33.21% 0.148 272.6)
XYZxyz(5.2153, 3.2676, 20.7737)
Luminance0.0327 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#212680 #807B21
analogous
#215680 #212680 #4C2180
triadic
#212680 #802126 #268021
tetradic
#212680 #802156 #807B21 #21804C
square
#212680 #802156 #807B21 #21804C
split-complementary
#212680 #804C21 #568021
monochromatic
#08091F #14184F #212680 #2E34B1 #4B52D1

Accessibility & contrast

On white

12.70
#212680 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#212680 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #212680
12.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##212680#FFFFFF#000000##FFFFFF
##2126801.0012.701.6512.70
#FFFFFF12.701.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003783
Deuteranopia (green-blind)
#002E7E
Tritanopia (blue-blind)
#003E4F
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #212680;
/* rgb */ color: rgb(33, 38, 128);
/* oklch */ color: oklch(33.2% 0.148 272.6);
Tailwind
colors: {
  custom: {
    50: '#6c61a6',
    500: '#212680',
    950: '#000000',
  },
}
SCSS
$custom: #212680;
$custom-light: #6c61a6;
$custom-dark: #000000;
JSON
{
  "hex": "#212680",
  "rgb": {
    "r": 33,
    "g": 38,
    "b": 128
  },
  "hsl": {
    "h": 236.842,
    "s": 59.006,
    "l": 31.569
  },
  "oklch": {
    "l": 0.33211,
    "c": 0.14818,
    "h": 272.6
  },
  "luminance": 0.03268
}

Semantic roles & 50–950 ramp

primary
#212680
secondary
#B3AD4A
accent
#DA46E2
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08050F
muted
#7A797F

Preview Lab

Preview with #212680

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

Preview Lab → · Contrast checker → · Palette generator →

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