#222680#222680

#222680 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.3% C 0.148 H 273.1°. Best body text is #FFFFFF at 12.67:1 contrast (WCAG AA passes).

Color values

HEX#222680
RGBrgb(34, 38, 128)
HSLhsl(237, 58%, 32%)
HSVhsv(237, 73%, 50%)
CMYKcmyk(73.4%, 70.3%, 0%, 49.8%)
CIE-LABlab(21.15, 30.27, -51.09)
CIE-LCHlch(21.15, 59.39, 300.65°)
OKLaboklab(33.27% 0.0079 -0.1477)
OKLCHoklch(33.27% 0.148 273.1)
XYZxyz(5.2478, 3.2843, 20.7753)
Luminance0.0328 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222680 #807C22
analogous
#225580 #222680 #4D2280
triadic
#222680 #802226 #268022
tetradic
#222680 #802255 #807C22 #22804D
square
#222680 #802255 #807C22 #22804D
split-complementary
#222680 #804D22 #558022
monochromatic
#08091F #151850 #222680 #2F34B0 #4D52D0

Accessibility & contrast

On white

12.67
#222680 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#222680 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222680
12.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222680#FFFFFF#000000##FFFFFF
##2226801.0012.671.6612.67
#FFFFFF12.671.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003783
Deuteranopia (green-blind)
#002E7E
Tritanopia (blue-blind)
#003E4F
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #222680;
/* rgb */ color: rgb(34, 38, 128);
/* oklch */ color: oklch(33.3% 0.148 273.1);
Tailwind
colors: {
  custom: {
    50: '#6c61a6',
    500: '#222680',
    950: '#000000',
  },
}
SCSS
$custom: #222680;
$custom-light: #6c61a6;
$custom-dark: #000000;
JSON
{
  "hex": "#222680",
  "rgb": {
    "r": 34,
    "g": 38,
    "b": 128
  },
  "hsl": {
    "h": 237.447,
    "s": 58.025,
    "l": 31.765
  },
  "oklch": {
    "l": 0.33273,
    "c": 0.1479,
    "h": 273.1
  },
  "luminance": 0.03285
}

Semantic roles & 50–950 ramp

primary
#222680
secondary
#B2AE4B
accent
#DB47E1
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08050F
muted
#7B797F

Preview Lab

Preview with #222680

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

Preview Lab → · Contrast checker → · Palette generator →

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