#212E65#212E65

#212E65 is a dark, moderate blue. Relative luminance 0.032; OKLCH L 32.3% C 0.098 H 270.1°. Best body text is #FFFFFF at 12.78:1 contrast (WCAG AA passes).

Color values

HEX#212E65
RGBrgb(33, 46, 101)
HSLhsl(229, 51%, 26%)
HSVhsv(229, 67%, 40%)
CMYKcmyk(67.3%, 54.5%, 0%, 60.4%)
CIE-LABlab(20.89, 14.21, -34.17)
CIE-LCHlch(20.89, 37.01, 292.58°)
OKLaboklab(32.33% 0.0002 -0.098)
OKLCHoklch(32.33% 0.098 270.1)
XYZxyz(3.9524, 3.2166, 12.7220)
Luminance0.0322 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#212E65 #655821
analogous
#215065 #212E65 #362165
triadic
#212E65 #65212E #2E6521
tetradic
#212E65 #652150 #655821 #216536
square
#212E65 #652150 #655821 #216536
split-complementary
#212E65 #653621 #506521
monochromatic
#080B17 #121937 #212E65 #304393 #4058C1

Accessibility & contrast

On white

12.78
#212E65 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#212E65 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #212E65
12.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##212E65#FFFFFF#000000##FFFFFF
##212E651.0012.781.6412.78
#FFFFFF12.781.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E3567
Deuteranopia (green-blind)
#002F64
Tritanopia (blue-blind)
#003B44
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #212e65;
/* rgb */ color: rgb(33, 46, 101);
/* oklch */ color: oklch(32.3% 0.098 270.1);
Tailwind
colors: {
  custom: {
    50: '#646691',
    500: '#212e65',
    950: '#000000',
  },
}
SCSS
$custom: #212e65;
$custom-light: #646691;
$custom-dark: #000000;
JSON
{
  "hex": "#212e65",
  "rgb": {
    "r": 33,
    "g": 46,
    "b": 101
  },
  "hsl": {
    "h": 228.529,
    "s": 50.746,
    "l": 26.275
  },
  "oklch": {
    "l": 0.32333,
    "c": 0.09796,
    "h": 270.1
  },
  "luminance": 0.03217
}

Semantic roles & 50–950 ramp

primary
#212E65
secondary
#998A49
accent
#BF4EDA
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#06050D
muted
#7A7A7E

Preview Lab

Preview with #212E65

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

Preview Lab → · Contrast checker → · Palette generator →

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