#213F95#213F95

#213F95 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.0% C 0.146 H 265.5°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#213F95
RGBrgb(33, 63, 149)
HSLhsl(224, 64%, 36%)
HSVhsv(224, 78%, 58%)
CMYKcmyk(77.9%, 57.7%, 0%, 41.6%)
CIE-LABlab(29.53, 21.28, -50.45)
CIE-LCHlch(29.53, 54.75, 292.87°)
OKLaboklab(40.03% -0.0114 -0.1456)
OKLCHoklch(40.03% 0.146 265.5)
XYZxyz(7.8276, 6.0474, 29.1827)
Luminance0.0605 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213F95 #957721
analogous
#217995 #213F95 #3D2195
triadic
#213F95 #95213F #3F9521
tetradic
#213F95 #952179 #957721 #21953D
square
#213F95 #952179 #957721 #21953D
split-complementary
#213F95 #953D21 #799521
monochromatic
#0B1531 #162A63 #213F95 #2C54C7 #5779DA

Accessibility & contrast

On white

9.50
#213F95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#213F95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213F95
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213F95#FFFFFF#000000##FFFFFF
##213F951.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B98
Deuteranopia (green-blind)
#004093
Tritanopia (blue-blind)
#005463
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #213f95;
/* rgb */ color: rgb(33, 63, 149);
/* oklch */ color: oklch(40.0% 0.146 265.5);
Tailwind
colors: {
  custom: {
    50: '#6f73b5',
    500: '#213f95',
    950: '#000000',
  },
}
SCSS
$custom: #213f95;
$custom-light: #6f73b5;
$custom-dark: #000000;
JSON
{
  "hex": "#213f95",
  "rgb": {
    "r": 33,
    "g": 63,
    "b": 149
  },
  "hsl": {
    "h": 224.483,
    "s": 63.736,
    "l": 35.686
  },
  "oklch": {
    "l": 0.40033,
    "c": 0.146,
    "h": 265.5
  },
  "luminance": 0.06048
}

Semantic roles & 50–950 ramp

primary
#213F95
secondary
#BEA254
accent
#BC41E7
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080811
muted
#7B7B80

Preview Lab

Preview with #213F95

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

Preview Lab → · Contrast checker → · Palette generator →

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