#212863#212863

#212863 is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.8% C 0.103 H 273.6°. Best body text is #FFFFFF at 13.56:1 contrast (WCAG AA passes).

Color values

HEX#212863
RGBrgb(33, 40, 99)
HSLhsl(234, 50%, 26%)
HSVhsv(234, 67%, 39%)
CMYKcmyk(66.7%, 59.6%, 0%, 61.2%)
CIE-LABlab(18.98, 17.73, -35.95)
CIE-LCHlch(18.98, 40.09, 296.25°)
OKLaboklab(30.85% 0.0065 -0.1033)
OKLCHoklch(30.85% 0.103 273.6)
XYZxyz(3.6374, 2.7415, 12.1394)
Luminance0.0274 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#212863 #635C21
analogous
#214963 #212863 #3B2163
triadic
#212863 #632128 #286321
tetradic
#212863 #632149 #635C21 #21633B
square
#212863 #632149 #635C21 #21633B
split-complementary
#212863 #633B21 #496321
monochromatic
#080917 #121535 #212863 #303B91 #404DBF

Accessibility & contrast

On white

13.56
#212863 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#212863 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #212863
13.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##212863#FFFFFF#000000##FFFFFF
##2128631.0013.561.5513.56
#FFFFFF13.561.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003165
Deuteranopia (green-blind)
#002B62
Tritanopia (blue-blind)
#003641
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #212863;
/* rgb */ color: rgb(33, 40, 99);
/* oklch */ color: oklch(30.8% 0.103 273.6);
Tailwind
colors: {
  custom: {
    50: '#646190',
    500: '#212863',
    950: '#000000',
  },
}
SCSS
$custom: #212863;
$custom-light: #646190;
$custom-dark: #000000;
JSON
{
  "hex": "#212863",
  "rgb": {
    "r": 33,
    "g": 40,
    "b": 99
  },
  "hsl": {
    "h": 233.636,
    "s": 50,
    "l": 25.882
  },
  "oklch": {
    "l": 0.30845,
    "c": 0.10349,
    "h": 273.6
  },
  "luminance": 0.02742
}

Semantic roles & 50–950 ramp

primary
#212863
secondary
#978F49
accent
#CB4EDA
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06050C
muted
#7A797D

Preview Lab

Preview with #212863

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

Preview Lab → · Contrast checker → · Palette generator →

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