#212A67#212A67

#212A67 is a dark, moderate blue. Relative luminance 0.030; OKLCH L 31.6% C 0.107 H 272.4°. Best body text is #FFFFFF at 13.19:1 contrast (WCAG AA passes).

Color values

HEX#212A67
RGBrgb(33, 42, 103)
HSLhsl(232, 51%, 27%)
HSVhsv(232, 68%, 40%)
CMYKcmyk(68%, 59.2%, 0%, 59.6%)
CIE-LABlab(19.88, 17.86, -37.12)
CIE-LCHlch(19.88, 41.19, 295.69°)
OKLaboklab(31.62% 0.0046 -0.1067)
OKLCHoklch(31.62% 0.107 272.4)
XYZxyz(3.9025, 2.9582, 13.1947)
Luminance0.0296 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#212A67 #675E21
analogous
#214D67 #212A67 #3B2167
triadic
#212A67 #67212A #2A6721
tetradic
#212A67 #67214D #675E21 #21673B
square
#212A67 #67214D #675E21 #21673B
split-complementary
#212A67 #673B21 #4D6721
monochromatic
#070917 #121739 #212A67 #303D95 #4051C2

Accessibility & contrast

On white

13.19
#212A67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#212A67 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #212A67
13.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##212A67#FFFFFF#000000##FFFFFF
##212A671.0013.191.5913.19
#FFFFFF13.191.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003369
Deuteranopia (green-blind)
#002D66
Tritanopia (blue-blind)
#003944
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #212a67;
/* rgb */ color: rgb(33, 42, 103);
/* oklch */ color: oklch(31.6% 0.107 272.4);
Tailwind
colors: {
  custom: {
    50: '#656393',
    500: '#212a67',
    950: '#000000',
  },
}
SCSS
$custom: #212a67;
$custom-light: #656393;
$custom-dark: #000000;
JSON
{
  "hex": "#212a67",
  "rgb": {
    "r": 33,
    "g": 42,
    "b": 103
  },
  "hsl": {
    "h": 232.286,
    "s": 51.471,
    "l": 26.667
  },
  "oklch": {
    "l": 0.31619,
    "c": 0.10679,
    "h": 272.4
  },
  "luminance": 0.02959
}

Semantic roles & 50–950 ramp

primary
#212A67
secondary
#9B9049
accent
#C94DDB
background
#F6F5F9
surface
#EBEAF1
border
#C6C6CB
text
#06050D
muted
#7A797E

Preview Lab

Preview with #212A67

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

Preview Lab → · Contrast checker → · Palette generator →

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