#212683#212683

#212683 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.5% C 0.152 H 272.4°. Best body text is #FFFFFF at 12.58:1 contrast (WCAG AA passes).

Color values

HEX#212683
RGBrgb(33, 38, 131)
HSLhsl(237, 60%, 32%)
HSVhsv(237, 75%, 51%)
CMYKcmyk(74.8%, 71%, 0%, 48.6%)
CIE-LABlab(21.39, 31.26, -52.60)
CIE-LCHlch(21.39, 61.18, 300.72°)
OKLaboklab(33.52% 0.0064 -0.1521)
OKLCHoklch(33.52% 0.152 272.4)
XYZxyz(5.4157, 3.3477, 21.8291)
Luminance0.0335 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#212683 #837E21
analogous
#215783 #212683 #4D2183
triadic
#212683 #832126 #268321
tetradic
#212683 #832157 #837E21 #21834D
square
#212683 #832157 #837E21 #21834D
split-complementary
#212683 #834D21 #578321
monochromatic
#080A21 #151852 #212683 #2D34B4 #4C53D2

Accessibility & contrast

On white

12.58
#212683 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#212683 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #212683
12.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##212683#FFFFFF#000000##FFFFFF
##2126831.0012.581.6712.58
#FFFFFF12.581.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003886
Deuteranopia (green-blind)
#002F81
Tritanopia (blue-blind)
#003F51
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #212683;
/* rgb */ color: rgb(33, 38, 131);
/* oklch */ color: oklch(33.5% 0.152 272.4);
Tailwind
colors: {
  custom: {
    50: '#6c61a8',
    500: '#212683',
    950: '#000000',
  },
}
SCSS
$custom: #212683;
$custom-light: #6c61a8;
$custom-dark: #000000;
JSON
{
  "hex": "#212683",
  "rgb": {
    "r": 33,
    "g": 38,
    "b": 131
  },
  "hsl": {
    "h": 236.939,
    "s": 59.756,
    "l": 32.157
  },
  "oklch": {
    "l": 0.33519,
    "c": 0.15224,
    "h": 272.4
  },
  "luminance": 0.03348
}

Semantic roles & 50–950 ramp

primary
#212683
secondary
#B5B04B
accent
#DB45E3
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #212683

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

Preview Lab → · Contrast checker → · Palette generator →

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