#212860#212860

#212860 is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.6% C 0.099 H 273.7°. Best body text is #FFFFFF at 13.66:1 contrast (WCAG AA passes).

Color values

HEX#212860
RGBrgb(33, 40, 96)
HSLhsl(233, 49%, 25%)
HSVhsv(233, 66%, 38%)
CMYKcmyk(65.6%, 58.3%, 0%, 62.4%)
CIE-LABlab(18.74, 16.57, -34.37)
CIE-LCHlch(18.74, 38.15, 295.74°)
OKLaboklab(30.59% 0.0063 -0.0986)
OKLCHoklch(30.59% 0.099 273.7)
XYZxyz(3.4966, 2.6852, 11.3981)
Luminance0.0268 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#212860 #605921
analogous
#214760 #212860 #392160
triadic
#212860 #602128 #286021
tetradic
#212860 #602147 #605921 #216039
square
#212860 #602147 #605921 #216039
split-complementary
#212860 #603921 #476021
monochromatic
#080917 #111532 #212860 #313B8E #404EBB

Accessibility & contrast

On white

13.66
#212860 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#212860 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #212860
13.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##212860#FFFFFF#000000##FFFFFF
##2128601.0013.661.5413.66
#FFFFFF13.661.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#023062
Deuteranopia (green-blind)
#002B5F
Tritanopia (blue-blind)
#00353F
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #212860;
/* rgb */ color: rgb(33, 40, 96);
/* oklch */ color: oklch(30.6% 0.099 273.7);
Tailwind
colors: {
  custom: {
    50: '#64618e',
    500: '#212860',
    950: '#000000',
  },
}
SCSS
$custom: #212860;
$custom-light: #64618e;
$custom-dark: #000000;
JSON
{
  "hex": "#212860",
  "rgb": {
    "r": 33,
    "g": 40,
    "b": 96
  },
  "hsl": {
    "h": 233.333,
    "s": 48.837,
    "l": 25.294
  },
  "oklch": {
    "l": 0.30588,
    "c": 0.09883,
    "h": 273.7
  },
  "luminance": 0.02685
}

Semantic roles & 50–950 ramp

primary
#212860
secondary
#948C49
accent
#C94FD8
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06050C
muted
#7A797D

Preview Lab

Preview with #212860

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

Preview Lab → · Contrast checker → · Palette generator →

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