#212074#212074

#212074 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 30.9% C 0.139 H 275.1°. Best body text is #FFFFFF at 13.78:1 contrast (WCAG AA passes).

Color values

HEX#212074
RGBrgb(33, 32, 116)
HSLhsl(241, 57%, 29%)
HSVhsv(241, 72%, 45%)
CMYKcmyk(71.6%, 72.4%, 0%, 54.5%)
CIE-LABlab(18.44, 29.65, -47.89)
CIE-LCHlch(18.44, 56.32, 301.76°)
OKLaboklab(30.93% 0.0124 -0.1384)
OKLCHoklch(30.93% 0.139 275.1)
XYZxyz(4.2951, 2.6169, 16.7984)
Luminance0.0262 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#212074 #737420
analogous
#204974 #212074 #4B2074
triadic
#212074 #742120 #207421
tetradic
#212074 #742049 #737420 #20744B
square
#212074 #742049 #737420 #20744B
split-complementary
#212074 #744B20 #497420
monochromatic
#070718 #131344 #212074 #2F2DA4 #4543CB

Accessibility & contrast

On white

13.78
#212074 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#212074 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #212074
13.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##212074#FFFFFF#000000##FFFFFF
##2120741.0013.781.5213.78
#FFFFFF13.781.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003177
Deuteranopia (green-blind)
#002972
Tritanopia (blue-blind)
#003747
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #212074;
/* rgb */ color: rgb(33, 32, 116);
/* oklch */ color: oklch(30.9% 0.139 275.1);
Tailwind
colors: {
  custom: {
    50: '#695c9d',
    500: '#212074',
    950: '#000000',
  },
}
SCSS
$custom: #212074;
$custom-light: #695c9d;
$custom-dark: #000000;
JSON
{
  "hex": "#212074",
  "rgb": {
    "r": 33,
    "g": 32,
    "b": 116
  },
  "hsl": {
    "h": 240.714,
    "s": 56.757,
    "l": 29.02
  },
  "oklch": {
    "l": 0.30933,
    "c": 0.13892,
    "h": 275.1
  },
  "luminance": 0.02617
}

Semantic roles & 50–950 ramp

primary
#212074
secondary
#A6A848
accent
#E048DE
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #212074

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

Preview Lab → · Contrast checker → · Palette generator →

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