#212263#212263

#212263 is a dark, moderate blue. Relative luminance 0.024; OKLCH L 29.6% C 0.112 H 276.4°. Best body text is #FFFFFF at 14.25:1 contrast (WCAG AA passes).

Color values

HEX#212263
RGBrgb(33, 34, 99)
HSLhsl(239, 50%, 26%)
HSVhsv(239, 67%, 39%)
CMYKcmyk(66.7%, 65.7%, 0%, 61.2%)
CIE-LABlab(17.31, 21.98, -38.66)
CIE-LCHlch(17.31, 44.47, 299.62°)
OKLaboklab(29.61% 0.0126 -0.1113)
OKLCHoklch(29.61% 0.112 276.4)
XYZxyz(3.4506, 2.3680, 12.0772)
Luminance0.0237 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#212263 #636221
analogous
#214363 #212263 #412163
triadic
#212263 #632122 #226321
tetradic
#212263 #632143 #636221 #216341
square
#212263 #632143 #636221 #216341
split-complementary
#212263 #634121 #436321
monochromatic
#080817 #121235 #212263 #303291 #4042BF

Accessibility & contrast

On white

14.25
#212263 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#212263 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #212263
14.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##212263#FFFFFF#000000##FFFFFF
##2122631.0014.251.4714.25
#FFFFFF14.251.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D65
Deuteranopia (green-blind)
#002862
Tritanopia (blue-blind)
#00323F
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #212263;
/* rgb */ color: rgb(33, 34, 99);
/* oklch */ color: oklch(29.6% 0.112 276.4);
Tailwind
colors: {
  custom: {
    50: '#655d90',
    500: '#212263',
    950: '#000000',
  },
}
SCSS
$custom: #212263;
$custom-light: #655d90;
$custom-dark: #000000;
JSON
{
  "hex": "#212263",
  "rgb": {
    "r": 33,
    "g": 34,
    "b": 99
  },
  "hsl": {
    "h": 239.091,
    "s": 50,
    "l": 25.882
  },
  "oklch": {
    "l": 0.2961,
    "c": 0.11202,
    "h": 276.4
  },
  "luminance": 0.02368
}

Semantic roles & 50–950 ramp

primary
#212263
secondary
#979649
accent
#D74EDA
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06040C
muted
#7A797D

Preview Lab

Preview with #212263

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

Preview Lab → · Contrast checker → · Palette generator →

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