#212675#212675

#212675 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.1% C 0.133 H 273.4°. Best body text is #FFFFFF at 13.13:1 contrast (WCAG AA passes).

Color values

HEX#212675
RGBrgb(33, 38, 117)
HSLhsl(236, 56%, 29%)
HSVhsv(236, 72%, 46%)
CMYKcmyk(71.8%, 67.5%, 0%, 54.1%)
CIE-LABlab(20.02, 26.03, -45.94)
CIE-LCHlch(20.02, 52.81, 299.54°)
OKLaboklab(32.11% 0.0078 -0.1326)
OKLCHoklch(32.11% 0.133 273.4)
XYZxyz(4.5301, 2.9935, 17.1652)
Luminance0.0299 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#212675 #757021
analogous
#215075 #212675 #462175
triadic
#212675 #752126 #267521
tetradic
#212675 #752150 #757021 #217546
square
#212675 #752150 #757021 #217546
split-complementary
#212675 #754621 #507521
monochromatic
#070818 #141645 #212675 #2E36A5 #464ECB

Accessibility & contrast

On white

13.13
#212675 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#212675 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #212675
13.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##212675#FFFFFF#000000##FFFFFF
##2126751.0013.131.6013.13
#FFFFFF13.131.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003478
Deuteranopia (green-blind)
#002D73
Tritanopia (blue-blind)
#003B49
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #212675;
/* rgb */ color: rgb(33, 38, 117);
/* oklch */ color: oklch(32.1% 0.133 273.4);
Tailwind
colors: {
  custom: {
    50: '#69609e',
    500: '#212675',
    950: '#000000',
  },
}
SCSS
$custom: #212675;
$custom-light: #69609e;
$custom-dark: #000000;
JSON
{
  "hex": "#212675",
  "rgb": {
    "r": 33,
    "g": 38,
    "b": 117
  },
  "hsl": {
    "h": 236.429,
    "s": 56,
    "l": 29.412
  },
  "oklch": {
    "l": 0.32108,
    "c": 0.13288,
    "h": 273.4
  },
  "luminance": 0.02994
}

Semantic roles & 50–950 ramp

primary
#212675
secondary
#A8A34A
accent
#D649DF
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #212675

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

Preview Lab → · Contrast checker → · Palette generator →

#212675 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva