#222380#222380

#222380 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.8% C 0.151 H 273.7°. Best body text is #FFFFFF at 12.96:1 contrast (WCAG AA passes).

Color values

HEX#222380
RGBrgb(34, 35, 128)
HSLhsl(239, 58%, 32%)
HSVhsv(239, 73%, 50%)
CMYKcmyk(73.4%, 72.7%, 0%, 49.8%)
CIE-LABlab(20.44, 32.20, -52.25)
CIE-LCHlch(20.44, 61.38, 301.64°)
OKLaboklab(32.76% 0.0099 -0.1511)
OKLCHoklch(32.76% 0.151 273.7)
XYZxyz(5.1557, 3.1002, 20.7446)
Luminance0.0310 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222380 #807F22
analogous
#225280 #222380 #502280
triadic
#222380 #802223 #238022
tetradic
#222380 #802252 #807F22 #228050
square
#222380 #802252 #807F22 #228050
split-complementary
#222380 #805022 #528022
monochromatic
#08091F #151650 #222380 #2F30B0 #4D4ED0

Accessibility & contrast

On white

12.96
#222380 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#222380 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222380
12.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222380#FFFFFF#000000##FFFFFF
##2223801.0012.961.6212.96
#FFFFFF12.961.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003683
Deuteranopia (green-blind)
#002D7E
Tritanopia (blue-blind)
#003D4F
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #222380;
/* rgb */ color: rgb(34, 35, 128);
/* oklch */ color: oklch(32.8% 0.151 273.7);
Tailwind
colors: {
  custom: {
    50: '#6c5fa6',
    500: '#222380',
    950: '#000000',
  },
}
SCSS
$custom: #222380;
$custom-light: #6c5fa6;
$custom-dark: #000000;
JSON
{
  "hex": "#222380",
  "rgb": {
    "r": 34,
    "g": 35,
    "b": 128
  },
  "hsl": {
    "h": 239.362,
    "s": 58.025,
    "l": 31.765
  },
  "oklch": {
    "l": 0.32763,
    "c": 0.15141,
    "h": 273.7
  },
  "luminance": 0.03101
}

Semantic roles & 50–950 ramp

primary
#222380
secondary
#B2B14B
accent
#E047E1
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F

Preview Lab

Preview with #222380

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

Preview Lab → · Contrast checker → · Palette generator →

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