#222181#222181

#222181 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.5% C 0.155 H 274.0°. Best body text is #FFFFFF at 13.10:1 contrast (WCAG AA passes).

Color values

HEX#222181
RGBrgb(34, 33, 129)
HSLhsl(241, 59%, 32%)
HSVhsv(241, 74%, 51%)
CMYKcmyk(73.6%, 74.4%, 0%, 49.4%)
CIE-LABlab(20.09, 33.81, -53.46)
CIE-LCHlch(20.09, 63.25, 302.31°)
OKLaboklab(32.55% 0.0109 -0.1546)
OKLCHoklch(32.55% 0.155 274)
XYZxyz(5.1647, 3.0123, 21.0739)
Luminance0.0301 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222181 #808121
analogous
#215081 #222181 #522181
triadic
#222181 #812221 #218122
tetradic
#222181 #812150 #808121 #218152
square
#222181 #812150 #808121 #218152
split-complementary
#222181 #815221 #508121
monochromatic
#080820 #151550 #222181 #2F2DB2 #4D4BD1

Accessibility & contrast

On white

13.10
#222181 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #222181
13.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222181#FFFFFF#000000##FFFFFF
##2221811.0013.101.6013.10
#FFFFFF13.101.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003584
Deuteranopia (green-blind)
#002C7F
Tritanopia (blue-blind)
#003C4F
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #222181;
/* rgb */ color: rgb(34, 33, 129);
/* oklch */ color: oklch(32.5% 0.155 274.0);
Tailwind
colors: {
  custom: {
    50: '#6d5da7',
    500: '#222181',
    950: '#000000',
  },
}
SCSS
$custom: #222181;
$custom-light: #6d5da7;
$custom-dark: #000000;
JSON
{
  "hex": "#222181",
  "rgb": {
    "r": 34,
    "g": 33,
    "b": 129
  },
  "hsl": {
    "h": 240.625,
    "s": 59.259,
    "l": 31.765
  },
  "oklch": {
    "l": 0.32546,
    "c": 0.15498,
    "h": 274
  },
  "luminance": 0.03013
}

Semantic roles & 50–950 ramp

primary
#222181
secondary
#B2B44A
accent
#E245E1
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #222181

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

Preview Lab → · Contrast checker → · Palette generator →

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