#212F67#212F67

#212F67 is a dark, moderate blue. Relative luminance 0.033; OKLCH L 32.7% C 0.100 H 269.6°. Best body text is #FFFFFF at 12.60:1 contrast (WCAG AA passes).

Color values

HEX#212F67
RGBrgb(33, 47, 103)
HSLhsl(228, 51%, 27%)
HSVhsv(228, 68%, 40%)
CMYKcmyk(68%, 54.4%, 0%, 59.6%)
CIE-LABlab(21.34, 14.28, -34.75)
CIE-LCHlch(21.34, 37.57, 292.34°)
OKLaboklab(32.72% -0.0007 -0.0996)
OKLCHoklch(32.72% 0.1 269.6)
XYZxyz(4.0911, 3.3353, 13.2575)
Luminance0.0334 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#212F67 #675921
analogous
#215267 #212F67 #362167
triadic
#212F67 #67212F #2F6721
tetradic
#212F67 #672152 #675921 #216736
square
#212F67 #672152 #675921 #216736
split-complementary
#212F67 #673621 #526721
monochromatic
#070B17 #121A39 #212F67 #304495 #405AC2

Accessibility & contrast

On white

12.60
#212F67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#212F67 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #212F67
12.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##212F67#FFFFFF#000000##FFFFFF
##212F671.0012.601.6712.60
#FFFFFF12.601.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E3769
Deuteranopia (green-blind)
#003066
Tritanopia (blue-blind)
#003C46
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #212f67;
/* rgb */ color: rgb(33, 47, 103);
/* oklch */ color: oklch(32.7% 0.100 269.6);
Tailwind
colors: {
  custom: {
    50: '#656793',
    500: '#212f67',
    950: '#000000',
  },
}
SCSS
$custom: #212f67;
$custom-light: #656793;
$custom-dark: #000000;
JSON
{
  "hex": "#212f67",
  "rgb": {
    "r": 33,
    "g": 47,
    "b": 103
  },
  "hsl": {
    "h": 228,
    "s": 51.471,
    "l": 26.667
  },
  "oklch": {
    "l": 0.3272,
    "c": 0.09965,
    "h": 269.6
  },
  "luminance": 0.03336
}

Semantic roles & 50–950 ramp

primary
#212F67
secondary
#9B8B49
accent
#BF4DDB
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#06060D
muted
#7A7A7E

Preview Lab

Preview with #212F67

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

Preview Lab → · Contrast checker → · Palette generator →

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