#213C94#213C94

#213C94 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.3% C 0.148 H 266.4°. Best body text is #FFFFFF at 9.82:1 contrast (WCAG AA passes).

Color values

HEX#213C94
RGBrgb(33, 60, 148)
HSLhsl(226, 64%, 35%)
HSVhsv(226, 78%, 58%)
CMYKcmyk(77.7%, 59.5%, 0%, 42%)
CIE-LABlab(28.62, 22.94, -51.31)
CIE-LCHlch(28.62, 56.21, 294.09°)
OKLaboklab(39.32% -0.0092 -0.1482)
OKLCHoklch(39.32% 0.148 266.4)
XYZxyz(7.5865, 5.6923, 28.7101)
Luminance0.0569 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213C94 #947921
analogous
#217594 #213C94 #3F2194
triadic
#213C94 #94213C #3C9421
tetradic
#213C94 #942175 #947921 #21943F
square
#213C94 #942175 #947921 #21943F
split-complementary
#213C94 #943F21 #759421
monochromatic
#0B1330 #162862 #213C94 #2C50C6 #5675D9

Accessibility & contrast

On white

9.82
#213C94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#213C94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213C94
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213C94#FFFFFF#000000##FFFFFF
##213C941.009.822.149.82
#FFFFFF9.821.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004997
Deuteranopia (green-blind)
#003E92
Tritanopia (blue-blind)
#005262
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #213c94;
/* rgb */ color: rgb(33, 60, 148);
/* oklch */ color: oklch(39.3% 0.148 266.4);
Tailwind
colors: {
  custom: {
    50: '#6f71b4',
    500: '#213c94',
    950: '#000000',
  },
}
SCSS
$custom: #213c94;
$custom-light: #6f71b4;
$custom-dark: #000000;
JSON
{
  "hex": "#213c94",
  "rgb": {
    "r": 33,
    "g": 60,
    "b": 148
  },
  "hsl": {
    "h": 225.913,
    "s": 63.536,
    "l": 35.49
  },
  "oklch": {
    "l": 0.39325,
    "c": 0.14845,
    "h": 266.4
  },
  "luminance": 0.05693
}

Semantic roles & 50–950 ramp

primary
#213C94
secondary
#BDA454
accent
#C041E7
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080711
muted
#7B7A80

Preview Lab

Preview with #213C94

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

Preview Lab → · Contrast checker → · Palette generator →

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