#213F90#213F90

#213F90 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.6% C 0.139 H 265.2°. Best body text is #FFFFFF at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#213F90
RGBrgb(33, 63, 144)
HSLhsl(224, 63%, 35%)
HSVhsv(224, 77%, 56%)
CMYKcmyk(77.1%, 56.3%, 0%, 43.5%)
CIE-LABlab(29.14, 19.30, -48.02)
CIE-LCHlch(29.14, 51.76, 291.90°)
OKLaboklab(39.61% -0.0117 -0.1384)
OKLCHoklch(39.61% 0.139 265.2)
XYZxyz(7.4370, 5.8911, 27.1253)
Luminance0.0589 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213F90 #907221
analogous
#217790 #213F90 #3B2190
triadic
#213F90 #90213F #3F9021
tetradic
#213F90 #902177 #907221 #21903B
square
#213F90 #902177 #907221 #21903B
split-complementary
#213F90 #903B21 #779021
monochromatic
#0A132C #16295E #213F90 #2C55C2 #5477D8

Accessibility & contrast

On white

9.64
#213F90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#213F90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213F90
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213F90#FFFFFF#000000##FFFFFF
##213F901.009.642.189.64
#FFFFFF9.641.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A93
Deuteranopia (green-blind)
#00408E
Tritanopia (blue-blind)
#005361
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #213f90;
/* rgb */ color: rgb(33, 63, 144);
/* oklch */ color: oklch(39.6% 0.139 265.2);
Tailwind
colors: {
  custom: {
    50: '#6e73b1',
    500: '#213f90',
    950: '#000000',
  },
}
SCSS
$custom: #213f90;
$custom-light: #6e73b1;
$custom-dark: #000000;
JSON
{
  "hex": "#213f90",
  "rgb": {
    "r": 33,
    "g": 63,
    "b": 144
  },
  "hsl": {
    "h": 223.784,
    "s": 62.712,
    "l": 34.706
  },
  "oklch": {
    "l": 0.3961,
    "c": 0.13893,
    "h": 265.2
  },
  "luminance": 0.05892
}

Semantic roles & 50–950 ramp

primary
#213F90
secondary
#BB9F51
accent
#BA42E6
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080811
muted
#7B7B80

Preview Lab

Preview with #213F90

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

Preview Lab → · Contrast checker → · Palette generator →

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