#212E6E#212E6E

#212E6E is a dark, moderate blue. Relative luminance 0.034; OKLCH L 33.1% C 0.112 H 270.5°. Best body text is #FFFFFF at 12.50:1 contrast (WCAG AA passes).

Color values

HEX#212E6E
RGBrgb(33, 46, 110)
HSLhsl(230, 54%, 28%)
HSVhsv(230, 70%, 43%)
CMYKcmyk(70%, 58.2%, 0%, 56.9%)
CIE-LABlab(21.59, 17.75, -38.88)
CIE-LCHlch(21.59, 42.74, 294.54°)
OKLaboklab(33.08% 0.0009 -0.1118)
OKLCHoklch(33.08% 0.112 270.5)
XYZxyz(4.4177, 3.4027, 15.1728)
Luminance0.0340 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#212E6E #6E6121
analogous
#21546E #212E6E #3A216E
triadic
#212E6E #6E212E #2E6E21
tetradic
#212E6E #6E2154 #6E6121 #216E3A
square
#212E6E #6E2154 #6E6121 #216E3A
split-complementary
#212E6E #6E3A21 #546E21
monochromatic
#070A18 #131A3F #212E6E #2F429D #4359C7

Accessibility & contrast

On white

12.50
#212E6E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #212E6E
12.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##212E6E#FFFFFF#000000##FFFFFF
##212E6E1.0012.501.6812.50
#FFFFFF12.501.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003770
Deuteranopia (green-blind)
#00306D
Tritanopia (blue-blind)
#003D49
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #212e6e;
/* rgb */ color: rgb(33, 46, 110);
/* oklch */ color: oklch(33.1% 0.112 270.5);
Tailwind
colors: {
  custom: {
    50: '#666698',
    500: '#212e6e',
    950: '#000000',
  },
}
SCSS
$custom: #212e6e;
$custom-light: #666698;
$custom-dark: #000000;
JSON
{
  "hex": "#212e6e",
  "rgb": {
    "r": 33,
    "g": 46,
    "b": 110
  },
  "hsl": {
    "h": 229.87,
    "s": 53.846,
    "l": 28.039
  },
  "oklch": {
    "l": 0.33081,
    "c": 0.11182,
    "h": 270.5
  },
  "luminance": 0.03403
}

Semantic roles & 50–950 ramp

primary
#212E6E
secondary
#A29349
accent
#C44BDD
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06050E
muted
#7A7A7E

Preview Lab

Preview with #212E6E

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

Preview Lab → · Contrast checker → · Palette generator →

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