#222180#222180

#222180 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.4% C 0.154 H 274.1°. Best body text is #FFFFFF at 13.15:1 contrast (WCAG AA passes).

Color values

HEX#222180
RGBrgb(34, 33, 128)
HSLhsl(241, 59%, 32%)
HSVhsv(241, 74%, 50%)
CMYKcmyk(73.4%, 74.2%, 0%, 49.8%)
CIE-LABlab(19.99, 33.45, -53.00)
CIE-LCHlch(19.99, 62.68, 302.26°)
OKLaboklab(32.44% 0.0111 -0.1533)
OKLCHoklch(32.44% 0.154 274.1)
XYZxyz(5.0985, 2.9858, 20.7255)
Luminance0.0299 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222180 #7F8021
analogous
#215080 #222180 #522180
triadic
#222180 #802221 #218022
tetradic
#222180 #802150 #7F8021 #218052
square
#222180 #802150 #7F8021 #218052
split-complementary
#222180 #805221 #508021
monochromatic
#08081F #15144F #222180 #2F2EB1 #4C4BD1

Accessibility & contrast

On white

13.15
#222180 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#222180 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222180
13.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222180#FFFFFF#000000##FFFFFF
##2221801.0013.151.6013.15
#FFFFFF13.151.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.151.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #222180;
/* rgb */ color: rgb(34, 33, 128);
/* oklch */ color: oklch(32.4% 0.154 274.1);
Tailwind
colors: {
  custom: {
    50: '#6d5da6',
    500: '#222180',
    950: '#000000',
  },
}
SCSS
$custom: #222180;
$custom-light: #6d5da6;
$custom-dark: #000000;
JSON
{
  "hex": "#222180",
  "rgb": {
    "r": 34,
    "g": 33,
    "b": 128
  },
  "hsl": {
    "h": 240.632,
    "s": 59.006,
    "l": 31.569
  },
  "oklch": {
    "l": 0.32438,
    "c": 0.15366,
    "h": 274.1
  },
  "luminance": 0.02986
}

Semantic roles & 50–950 ramp

primary
#222180
secondary
#B2B34A
accent
#E246E1
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F

Preview Lab

Preview with #222180

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

Preview Lab → · Contrast checker → · Palette generator →

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