#213F94#213F94

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

Color values

HEX#213F94
RGBrgb(33, 63, 148)
HSLhsl(224, 64%, 35%)
HSVhsv(224, 78%, 58%)
CMYKcmyk(77.7%, 57.4%, 0%, 42%)
CIE-LABlab(29.45, 20.89, -49.96)
CIE-LCHlch(29.45, 54.15, 292.69°)
OKLaboklab(39.95% -0.0114 -0.1441)
OKLCHoklch(39.95% 0.145 265.5)
XYZxyz(7.7481, 6.0156, 28.7640)
Luminance0.0602 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213F94 #947621
analogous
#217894 #213F94 #3C2194
triadic
#213F94 #94213F #3F9421
tetradic
#213F94 #942178 #947621 #21943C
square
#213F94 #942178 #947621 #21943C
split-complementary
#213F94 #943C21 #789421
monochromatic
#0B1430 #162A62 #213F94 #2C54C6 #5678D9

Accessibility & contrast

On white

9.53
#213F94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#213F94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213F94
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213F94#FFFFFF#000000##FFFFFF
##213F941.009.532.209.53
#FFFFFF9.531.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B97
Deuteranopia (green-blind)
#004092
Tritanopia (blue-blind)
#005463
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #213f94;
/* rgb */ color: rgb(33, 63, 148);
/* oklch */ color: oklch(39.9% 0.145 265.5);
Tailwind
colors: {
  custom: {
    50: '#6f73b4',
    500: '#213f94',
    950: '#000000',
  },
}
SCSS
$custom: #213f94;
$custom-light: #6f73b4;
$custom-dark: #000000;
JSON
{
  "hex": "#213f94",
  "rgb": {
    "r": 33,
    "g": 63,
    "b": 148
  },
  "hsl": {
    "h": 224.348,
    "s": 63.536,
    "l": 35.49
  },
  "oklch": {
    "l": 0.39947,
    "c": 0.14459,
    "h": 265.5
  },
  "luminance": 0.06016
}

Semantic roles & 50–950 ramp

primary
#213F94
secondary
#BDA254
accent
#BB41E7
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080811
muted
#7B7B80

Preview Lab

Preview with #213F94

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

Preview Lab → · Contrast checker → · Palette generator →

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