#213098#213098

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

Color values

HEX#213098
RGBrgb(33, 48, 152)
HSLhsl(232, 64%, 36%)
HSVhsv(232, 78%, 60%)
CMYKcmyk(78.3%, 68.4%, 0%, 40.4%)
CIE-LABlab(25.87, 32.53, -58.27)
CIE-LCHlch(25.87, 66.73, 299.18°)
OKLaboklab(37.41% -0.0016 -0.1686)
OKLCHoklch(37.41% 0.169 269.4)
XYZxyz(7.3497, 4.7034, 30.2202)
Luminance0.0470 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213098 #988921
analogous
#216C98 #213098 #4E2198
triadic
#213098 #982130 #309821
tetradic
#213098 #98216C #988921 #21984E
square
#213098 #98216C #988921 #21984E
split-complementary
#213098 #984E21 #6C9821
monochromatic
#0B1033 #162066 #213098 #2C40CA #5969DB

Accessibility & contrast

On white

10.82
#213098 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#213098 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213098
10.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213098#FFFFFF#000000##FFFFFF
##2130981.0010.821.9410.82
#FFFFFF10.821.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439B
Deuteranopia (green-blind)
#003896
Tritanopia (blue-blind)
#004C60
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #213098;
/* rgb */ color: rgb(33, 48, 152);
/* oklch */ color: oklch(37.4% 0.169 269.4);
Tailwind
colors: {
  custom: {
    50: '#7168b7',
    500: '#213098',
    950: '#000000',
  },
}
SCSS
$custom: #213098;
$custom-light: #7168b7;
$custom-dark: #000000;
JSON
{
  "hex": "#213098",
  "rgb": {
    "r": 33,
    "g": 48,
    "b": 152
  },
  "hsl": {
    "h": 232.437,
    "s": 64.324,
    "l": 36.275
  },
  "oklch": {
    "l": 0.37405,
    "c": 0.16866,
    "h": 269.4
  },
  "luminance": 0.04704
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #213098

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

Preview Lab → · Contrast checker → · Palette generator →

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