#213099#213099

#213099 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.5% C 0.170 H 269.4°. Best body text is #FFFFFF at 10.78:1 contrast (WCAG AA passes).

Color values

HEX#213099
RGBrgb(33, 48, 153)
HSLhsl(233, 65%, 36%)
HSVhsv(233, 78%, 60%)
CMYKcmyk(78.4%, 68.6%, 0%, 40%)
CIE-LABlab(25.97, 32.90, -58.72)
CIE-LCHlch(25.97, 67.31, 299.26°)
OKLaboklab(37.51% -0.0017 -0.17)
OKLCHoklch(37.51% 0.17 269.4)
XYZxyz(7.4319, 4.7363, 30.6533)
Luminance0.0474 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213099 #998A21
analogous
#216C99 #213099 #4E2199
triadic
#213099 #992130 #309921
tetradic
#213099 #99216C #998A21 #21994E
square
#213099 #99216C #998A21 #21994E
split-complementary
#213099 #994E21 #6C9921
monochromatic
#0B1034 #162067 #213099 #2C40CB #5969DB

Accessibility & contrast

On white

10.78
#213099 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#213099 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213099
10.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213099#FFFFFF#000000##FFFFFF
##2130991.0010.781.9510.78
#FFFFFF10.781.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439C
Deuteranopia (green-blind)
#003897
Tritanopia (blue-blind)
#004D60
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #213099;
/* rgb */ color: rgb(33, 48, 153);
/* oklch */ color: oklch(37.5% 0.170 269.4);
Tailwind
colors: {
  custom: {
    50: '#7168b8',
    500: '#213099',
    950: '#000000',
  },
}
SCSS
$custom: #213099;
$custom-light: #7168b8;
$custom-dark: #000000;
JSON
{
  "hex": "#213099",
  "rgb": {
    "r": 33,
    "g": 48,
    "b": 153
  },
  "hsl": {
    "h": 232.5,
    "s": 64.516,
    "l": 36.471
  },
  "oklch": {
    "l": 0.37506,
    "c": 0.16998,
    "h": 269.4
  },
  "luminance": 0.04737
}

Semantic roles & 50–950 ramp

primary
#213099
secondary
#BFB256
accent
#D340E8
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #213099

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

Preview Lab → · Contrast checker → · Palette generator →

#213099 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva