#212969#212969

#212969 is a dark, moderate blue. Relative luminance 0.029; OKLCH L 31.6% C 0.111 H 272.9°. Best body text is #FFFFFF at 13.24:1 contrast (WCAG AA passes).

Color values

HEX#212969
RGBrgb(33, 41, 105)
HSLhsl(233, 52%, 27%)
HSVhsv(233, 69%, 41%)
CMYKcmyk(68.6%, 61%, 0%, 58.8%)
CIE-LABlab(19.76, 19.35, -38.61)
CIE-LCHlch(19.76, 43.19, 296.61°)
OKLaboklab(31.58% 0.0056 -0.1111)
OKLCHoklch(31.58% 0.111 272.9)
XYZxyz(3.9691, 2.9288, 13.7180)
Luminance0.0293 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#212969 #696121
analogous
#214D69 #212969 #3D2169
triadic
#212969 #692129 #296921
tetradic
#212969 #69214D #696121 #21693D
square
#212969 #69214D #696121 #21693D
split-complementary
#212969 #693D21 #4D6921
monochromatic
#070917 #12173A #212969 #303B98 #4150C3

Accessibility & contrast

On white

13.24
#212969 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#212969 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #212969
13.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##212969#FFFFFF#000000##FFFFFF
##2129691.0013.241.5913.24
#FFFFFF13.241.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00336B
Deuteranopia (green-blind)
#002D68
Tritanopia (blue-blind)
#003944
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #212969;
/* rgb */ color: rgb(33, 41, 105);
/* oklch */ color: oklch(31.6% 0.111 272.9);
Tailwind
colors: {
  custom: {
    50: '#666294',
    500: '#212969',
    950: '#000000',
  },
}
SCSS
$custom: #212969;
$custom-light: #666294;
$custom-dark: #000000;
JSON
{
  "hex": "#212969",
  "rgb": {
    "r": 33,
    "g": 41,
    "b": 105
  },
  "hsl": {
    "h": 233.333,
    "s": 52.174,
    "l": 27.059
  },
  "oklch": {
    "l": 0.31582,
    "c": 0.11124,
    "h": 272.9
  },
  "luminance": 0.02929
}

Semantic roles & 50–950 ramp

primary
#212969
secondary
#9D9449
accent
#CC4CDC
background
#F6F5F9
surface
#EBEAF1
border
#C6C6CB
text
#06050D
muted
#7A797E

Preview Lab

Preview with #212969

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

Preview Lab → · Contrast checker → · Palette generator →

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