#212674#212674

#212674 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.0% C 0.131 H 273.4°. Best body text is #FFFFFF at 13.17:1 contrast (WCAG AA passes).

Color values

HEX#212674
RGBrgb(33, 38, 116)
HSLhsl(236, 56%, 29%)
HSVhsv(236, 72%, 45%)
CMYKcmyk(71.6%, 67.2%, 0%, 54.5%)
CIE-LABlab(19.92, 25.66, -45.45)
CIE-LCHlch(19.92, 52.20, 299.44°)
OKLaboklab(32.01% 0.0079 -0.1312)
OKLCHoklch(32.01% 0.131 273.4)
XYZxyz(4.4716, 2.9701, 16.8572)
Luminance0.0297 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#212674 #746F21
analogous
#215074 #212674 #462174
triadic
#212674 #742126 #267421
tetradic
#212674 #742150 #746F21 #217446
square
#212674 #742150 #746F21 #217446
split-complementary
#212674 #744621 #507421
monochromatic
#070818 #131644 #212674 #2F36A4 #454DCA

Accessibility & contrast

On white

13.17
#212674 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #212674
13.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##212674#FFFFFF#000000##FFFFFF
##2126741.0013.171.5913.17
#FFFFFF13.171.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003476
Deuteranopia (green-blind)
#002C73
Tritanopia (blue-blind)
#003A49
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #212674;
/* rgb */ color: rgb(33, 38, 116);
/* oklch */ color: oklch(32.0% 0.131 273.4);
Tailwind
colors: {
  custom: {
    50: '#69609d',
    500: '#212674',
    950: '#000000',
  },
}
SCSS
$custom: #212674;
$custom-light: #69609d;
$custom-dark: #000000;
JSON
{
  "hex": "#212674",
  "rgb": {
    "r": 33,
    "g": 38,
    "b": 116
  },
  "hsl": {
    "h": 236.386,
    "s": 55.705,
    "l": 29.216
  },
  "oklch": {
    "l": 0.3201,
    "c": 0.13146,
    "h": 273.4
  },
  "luminance": 0.02971
}

Semantic roles & 50–950 ramp

primary
#212674
secondary
#A7A249
accent
#D649DF
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #212674

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

Preview Lab → · Contrast checker → · Palette generator →

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