#212F73#212F73

#212F73 is a dark, moderate blue. Relative luminance 0.036; OKLCH L 33.7% C 0.118 H 270.1°. Best body text is #FFFFFF at 12.22:1 contrast (WCAG AA passes).

Color values

HEX#212F73
RGBrgb(33, 47, 115)
HSLhsl(230, 55%, 29%)
HSVhsv(230, 71%, 45%)
CMYKcmyk(71.3%, 59.1%, 0%, 54.9%)
CIE-LABlab(22.28, 19.01, -40.97)
CIE-LCHlch(22.28, 45.17, 294.88°)
OKLaboklab(33.73% 0.0002 -0.118)
OKLCHoklch(33.73% 0.118 270.1)
XYZxyz(4.7372, 3.5937, 16.6603)
Luminance0.0359 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#212F73 #736521
analogous
#215873 #212F73 #3C2173
triadic
#212F73 #73212F #2F7321
tetradic
#212F73 #732158 #736521 #21733C
square
#212F73 #732158 #736521 #21733C
split-complementary
#212F73 #733C21 #587321
monochromatic
#070A18 #131C43 #212F73 #2F42A3 #455BCA

Accessibility & contrast

On white

12.22
#212F73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#212F73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #212F73
12.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##212F73#FFFFFF#000000##FFFFFF
##212F731.0012.221.7212.22
#FFFFFF12.221.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003975
Deuteranopia (green-blind)
#003272
Tritanopia (blue-blind)
#00404C
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #212f73;
/* rgb */ color: rgb(33, 47, 115);
/* oklch */ color: oklch(33.7% 0.118 270.1);
Tailwind
colors: {
  custom: {
    50: '#68679c',
    500: '#212f73',
    950: '#000000',
  },
}
SCSS
$custom: #212f73;
$custom-light: #68679c;
$custom-dark: #000000;
JSON
{
  "hex": "#212f73",
  "rgb": {
    "r": 33,
    "g": 47,
    "b": 115
  },
  "hsl": {
    "h": 229.756,
    "s": 55.405,
    "l": 29.02
  },
  "oklch": {
    "l": 0.33726,
    "c": 0.11796,
    "h": 270.1
  },
  "luminance": 0.03594
}

Semantic roles & 50–950 ramp

primary
#212F73
secondary
#A69749
accent
#C549DF
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #212F73

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

Preview Lab → · Contrast checker → · Palette generator →

#212F73 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva