#213078#213078

#213078 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.4% C 0.124 H 269.7°. Best body text is #FFFFFF at 11.94:1 contrast (WCAG AA passes).

Color values

HEX#213078
RGBrgb(33, 48, 120)
HSLhsl(230, 57%, 30%)
HSVhsv(230, 73%, 47%)
CMYKcmyk(72.5%, 60%, 0%, 52.9%)
CIE-LABlab(22.97, 20.26, -43.04)
CIE-LCHlch(22.97, 47.57, 295.21°)
OKLaboklab(34.38% -0.0006 -0.124)
OKLCHoklch(34.38% 0.124 269.7)
XYZxyz(5.0732, 3.7928, 18.2304)
Luminance0.0379 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213078 #786921
analogous
#215C78 #213078 #3D2178
triadic
#213078 #782130 #307821
tetradic
#213078 #78215C #786921 #21783D
square
#213078 #78215C #786921 #21783D
split-complementary
#213078 #783D21 #5C7821
monochromatic
#070A18 #141D48 #213078 #2E43A8 #475ECC

Accessibility & contrast

On white

11.94
#213078 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#213078 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213078
11.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213078#FFFFFF#000000##FFFFFF
##2130781.0011.941.7611.94
#FFFFFF11.941.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B7A
Deuteranopia (green-blind)
#003377
Tritanopia (blue-blind)
#00424F
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #213078;
/* rgb */ color: rgb(33, 48, 120);
/* oklch */ color: oklch(34.4% 0.124 269.7);
Tailwind
colors: {
  custom: {
    50: '#6968a0',
    500: '#213078',
    950: '#000000',
  },
}
SCSS
$custom: #213078;
$custom-light: #6968a0;
$custom-dark: #000000;
JSON
{
  "hex": "#213078",
  "rgb": {
    "r": 33,
    "g": 48,
    "b": 120
  },
  "hsl": {
    "h": 229.655,
    "s": 56.863,
    "l": 30
  },
  "oklch": {
    "l": 0.34375,
    "c": 0.12401,
    "h": 269.7
  },
  "luminance": 0.03793
}

Semantic roles & 50–950 ramp

primary
#213078
secondary
#AB9A4A
accent
#C648E0
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060F
muted
#7A7A7E

Preview Lab

Preview with #213078

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

Preview Lab → · Contrast checker → · Palette generator →

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