#213F80#213F80

#213F80 is a dark, moderate blue. Relative luminance 0.054; OKLCH L 38.3% C 0.116 H 263.3°. Best body text is #FFFFFF at 10.06:1 contrast (WCAG AA passes).

Color values

HEX#213F80
RGBrgb(33, 63, 128)
HSLhsl(221, 59%, 32%)
HSVhsv(221, 74%, 50%)
CMYKcmyk(74.2%, 50.8%, 0%, 49.8%)
CIE-LABlab(27.94, 12.94, -40.04)
CIE-LCHlch(27.94, 42.08, 287.91°)
OKLaboklab(38.32% -0.0134 -0.1149)
OKLCHoklch(38.32% 0.116 263.3)
XYZxyz(6.2996, 5.4362, 21.1352)
Luminance0.0544 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213F80 #806221
analogous
#216F80 #213F80 #332180
triadic
#213F80 #80213F #3F8021
tetradic
#213F80 #80216F #806221 #218033
square
#213F80 #80216F #806221 #218033
split-complementary
#213F80 #803321 #6F8021
monochromatic
#080F1F #14274F #213F80 #2E57B1 #4B75D1

Accessibility & contrast

On white

10.06
#213F80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#213F80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213F80
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213F80#FFFFFF#000000##FFFFFF
##213F801.0010.062.0910.06
#FFFFFF10.061.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A4782
Deuteranopia (green-blind)
#003E7F
Tritanopia (blue-blind)
#004E59
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #213f80;
/* rgb */ color: rgb(33, 63, 128);
/* oklch */ color: oklch(38.3% 0.116 263.3);
Tailwind
colors: {
  custom: {
    50: '#6a73a5',
    500: '#213f80',
    950: '#000000',
  },
}
SCSS
$custom: #213f80;
$custom-light: #6a73a5;
$custom-dark: #000000;
JSON
{
  "hex": "#213f80",
  "rgb": {
    "r": 33,
    "g": 63,
    "b": 128
  },
  "hsl": {
    "h": 221.053,
    "s": 59.006,
    "l": 31.569
  },
  "oklch": {
    "l": 0.38325,
    "c": 0.11572,
    "h": 263.3
  },
  "luminance": 0.05437
}

Semantic roles & 50–950 ramp

primary
#213F80
secondary
#B3924A
accent
#B146E2
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #213F80

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

Preview Lab → · Contrast checker → · Palette generator →

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