#212F69#212F69

#212F69 is a dark, moderate blue. Relative luminance 0.034; OKLCH L 32.9% C 0.103 H 269.7°. Best body text is #FFFFFF at 12.54:1 contrast (WCAG AA passes).

Color values

HEX#212F69
RGBrgb(33, 47, 105)
HSLhsl(228, 52%, 27%)
HSVhsv(228, 69%, 41%)
CMYKcmyk(68.6%, 55.2%, 0%, 58.8%)
CIE-LABlab(21.49, 15.07, -35.81)
CIE-LCHlch(21.49, 38.85, 292.83°)
OKLaboklab(32.88% -0.0005 -0.1028)
OKLCHoklch(32.88% 0.103 269.7)
XYZxyz(4.1927, 3.3759, 13.7925)
Luminance0.0338 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#212F69 #695B21
analogous
#215369 #212F69 #372169
triadic
#212F69 #69212F #2F6921
tetradic
#212F69 #692153 #695B21 #216937
square
#212F69 #692153 #695B21 #216937
split-complementary
#212F69 #693721 #536921
monochromatic
#070A17 #121A3A #212F69 #304498 #415AC3

Accessibility & contrast

On white

12.54
#212F69 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#212F69 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #212F69
12.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##212F69#FFFFFF#000000##FFFFFF
##212F691.0012.541.6812.54
#FFFFFF12.541.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B376B
Deuteranopia (green-blind)
#003068
Tritanopia (blue-blind)
#003D47
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #212f69;
/* rgb */ color: rgb(33, 47, 105);
/* oklch */ color: oklch(32.9% 0.103 269.7);
Tailwind
colors: {
  custom: {
    50: '#656794',
    500: '#212f69',
    950: '#000000',
  },
}
SCSS
$custom: #212f69;
$custom-light: #656794;
$custom-dark: #000000;
JSON
{
  "hex": "#212f69",
  "rgb": {
    "r": 33,
    "g": 47,
    "b": 105
  },
  "hsl": {
    "h": 228.333,
    "s": 52.174,
    "l": 27.059
  },
  "oklch": {
    "l": 0.32883,
    "c": 0.10276,
    "h": 269.7
  },
  "luminance": 0.03376
}

Semantic roles & 50–950 ramp

primary
#212F69
secondary
#9D8D49
accent
#C04CDC
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#06060D
muted
#7A7A7E

Preview Lab

Preview with #212F69

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

Preview Lab → · Contrast checker → · Palette generator →

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