#212763#212763

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

Color values

HEX#212763
RGBrgb(33, 39, 99)
HSLhsl(235, 50%, 26%)
HSVhsv(235, 67%, 39%)
CMYKcmyk(66.7%, 60.6%, 0%, 61.2%)
CIE-LABlab(18.69, 18.45, -36.42)
CIE-LCHlch(18.69, 40.82, 296.86°)
OKLaboklab(30.63% 0.0075 -0.1047)
OKLCHoklch(30.63% 0.105 274.1)
XYZxyz(3.6041, 2.6749, 12.1283)
Luminance0.0267 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#212763 #635D21
analogous
#214863 #212763 #3C2163
triadic
#212763 #632127 #276321
tetradic
#212763 #632148 #635D21 #21633C
square
#212763 #632148 #635D21 #21633C
split-complementary
#212763 #633C21 #486321
monochromatic
#080917 #121535 #212763 #303991 #404BBF

Accessibility & contrast

On white

13.68
#212763 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #212763
13.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##212763#FFFFFF#000000##FFFFFF
##2127631.0013.681.5413.68
#FFFFFF13.681.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003065
Deuteranopia (green-blind)
#002B62
Tritanopia (blue-blind)
#003540
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #212763;
/* rgb */ color: rgb(33, 39, 99);
/* oklch */ color: oklch(30.6% 0.105 274.1);
Tailwind
colors: {
  custom: {
    50: '#656190',
    500: '#212763',
    950: '#000000',
  },
}
SCSS
$custom: #212763;
$custom-light: #656190;
$custom-dark: #000000;
JSON
{
  "hex": "#212763",
  "rgb": {
    "r": 33,
    "g": 39,
    "b": 99
  },
  "hsl": {
    "h": 234.545,
    "s": 50,
    "l": 25.882
  },
  "oklch": {
    "l": 0.30632,
    "c": 0.10493,
    "h": 274.1
  },
  "luminance": 0.02675
}

Semantic roles & 50–950 ramp

primary
#212763
secondary
#979049
accent
#CD4EDA
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06050C
muted
#7A797D

Preview Lab

Preview with #212763

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

Preview Lab → · Contrast checker → · Palette generator →

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