#212F90#212F90

#212F90 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.4% C 0.159 H 269.8°. Best body text is #FFFFFF at 11.21:1 contrast (WCAG AA passes).

Color values

HEX#212F90
RGBrgb(33, 47, 144)
HSLhsl(232, 63%, 35%)
HSVhsv(232, 77%, 56%)
CMYKcmyk(77.1%, 67.4%, 0%, 43.5%)
CIE-LABlab(24.86, 30.19, -55.01)
CIE-LCHlch(24.86, 62.75, 298.76°)
OKLaboklab(36.43% -0.0004 -0.1591)
OKLCHoklch(36.43% 0.159 269.8)
XYZxyz(6.6760, 4.3693, 26.8717)
Luminance0.0437 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#212F90 #908221
analogous
#216790 #212F90 #4A2190
triadic
#212F90 #90212F #2F9021
tetradic
#212F90 #902167 #908221 #21904A
square
#212F90 #902167 #908221 #21904A
split-complementary
#212F90 #904A21 #679021
monochromatic
#0A0E2C #161F5E #212F90 #2C3FC2 #5464D8

Accessibility & contrast

On white

11.21
#212F90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#212F90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #212F90
11.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##212F90#FFFFFF#000000##FFFFFF
##212F901.0011.211.8711.21
#FFFFFF11.211.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004093
Deuteranopia (green-blind)
#00368E
Tritanopia (blue-blind)
#00495B
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #212f90;
/* rgb */ color: rgb(33, 47, 144);
/* oklch */ color: oklch(36.4% 0.159 269.8);
Tailwind
colors: {
  custom: {
    50: '#6f67b1',
    500: '#212f90',
    950: '#000000',
  },
}
SCSS
$custom: #212f90;
$custom-light: #6f67b1;
$custom-dark: #000000;
JSON
{
  "hex": "#212f90",
  "rgb": {
    "r": 33,
    "g": 47,
    "b": 144
  },
  "hsl": {
    "h": 232.432,
    "s": 62.712,
    "l": 34.706
  },
  "oklch": {
    "l": 0.36429,
    "c": 0.15913,
    "h": 269.8
  },
  "luminance": 0.0437
}

Semantic roles & 50–950 ramp

primary
#212F90
secondary
#BBAE51
accent
#D142E6
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080611
muted
#7B7A80

Preview Lab

Preview with #212F90

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

Preview Lab → · Contrast checker → · Palette generator →

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