#222280#222280

#222280 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.6% C 0.153 H 273.9°. Best body text is #FFFFFF at 13.05:1 contrast (WCAG AA passes).

Color values

HEX#222280
RGBrgb(34, 34, 128)
HSLhsl(240, 58%, 32%)
HSVhsv(240, 73%, 50%)
CMYKcmyk(73.4%, 73.4%, 0%, 49.8%)
CIE-LABlab(20.21, 32.83, -52.63)
CIE-LCHlch(20.21, 62.03, 301.96°)
OKLaboklab(32.6% 0.0105 -0.1522)
OKLCHoklch(32.6% 0.153 273.9)
XYZxyz(5.1267, 3.0421, 20.7349)
Luminance0.0304 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222280 #808022
analogous
#225180 #222280 #512280
triadic
#222280 #802222 #228022
tetradic
#222280 #802251 #808022 #228051
square
#222280 #802251 #808022 #228051
split-complementary
#222280 #805122 #518022
monochromatic
#08081F #151550 #222280 #2F2FB0 #4D4DD0

Accessibility & contrast

On white

13.05
#222280 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#222280 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222280
13.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222280#FFFFFF#000000##FFFFFF
##2222801.0013.051.6113.05
#FFFFFF13.051.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003583
Deuteranopia (green-blind)
#002C7E
Tritanopia (blue-blind)
#003C4E
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #222280;
/* rgb */ color: rgb(34, 34, 128);
/* oklch */ color: oklch(32.6% 0.153 273.9);
Tailwind
colors: {
  custom: {
    50: '#6c5ea6',
    500: '#222280',
    950: '#000000',
  },
}
SCSS
$custom: #222280;
$custom-light: #6c5ea6;
$custom-dark: #000000;
JSON
{
  "hex": "#222280",
  "rgb": {
    "r": 34,
    "g": 34,
    "b": 128
  },
  "hsl": {
    "h": 240,
    "s": 58.025,
    "l": 31.765
  },
  "oklch": {
    "l": 0.32599,
    "c": 0.15254,
    "h": 273.9
  },
  "luminance": 0.03043
}

Semantic roles & 50–950 ramp

primary
#222280
secondary
#B2B24B
accent
#E147E1
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F

Preview Lab

Preview with #222280

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

Preview Lab → · Contrast checker → · Palette generator →

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