#212769#212769

#212769 is a dark, moderate blue. Relative luminance 0.028; OKLCH L 31.2% C 0.114 H 273.8°. Best body text is #FFFFFF at 13.47:1 contrast (WCAG AA passes).

Color values

HEX#212769
RGBrgb(33, 39, 105)
HSLhsl(235, 52%, 27%)
HSVhsv(235, 69%, 41%)
CMYKcmyk(68.6%, 62.9%, 0%, 58.8%)
CIE-LABlab(19.20, 20.76, -39.52)
CIE-LCHlch(19.20, 44.64, 297.71°)
OKLaboklab(31.17% 0.0075 -0.1138)
OKLCHoklch(31.17% 0.114 273.8)
XYZxyz(3.9017, 2.7940, 13.6955)
Luminance0.0279 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#212769 #696321
analogous
#214B69 #212769 #3F2169
triadic
#212769 #692127 #276921
tetradic
#212769 #69214B #696321 #21693F
square
#212769 #69214B #696321 #21693F
split-complementary
#212769 #693F21 #4B6921
monochromatic
#070917 #12163A #212769 #303898 #414CC3

Accessibility & contrast

On white

13.47
#212769 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#212769 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #212769
13.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##212769#FFFFFF#000000##FFFFFF
##2127691.0013.471.5613.47
#FFFFFF13.471.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00326B
Deuteranopia (green-blind)
#002B68
Tritanopia (blue-blind)
#003744
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #212769;
/* rgb */ color: rgb(33, 39, 105);
/* oklch */ color: oklch(31.2% 0.114 273.8);
Tailwind
colors: {
  custom: {
    50: '#666194',
    500: '#212769',
    950: '#000000',
  },
}
SCSS
$custom: #212769;
$custom-light: #666194;
$custom-dark: #000000;
JSON
{
  "hex": "#212769",
  "rgb": {
    "r": 33,
    "g": 39,
    "b": 105
  },
  "hsl": {
    "h": 235,
    "s": 52.174,
    "l": 27.059
  },
  "oklch": {
    "l": 0.31168,
    "c": 0.11404,
    "h": 273.8
  },
  "luminance": 0.02794
}

Semantic roles & 50–950 ramp

primary
#212769
secondary
#9D9649
accent
#D04CDC
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06050D
muted
#7A797E

Preview Lab

Preview with #212769

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

Preview Lab → · Contrast checker → · Palette generator →

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