#222686#222686

#222686 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.9% C 0.156 H 272.6°. Best body text is #FFFFFF at 12.43:1 contrast (WCAG AA passes).

Color values

HEX#222686
RGBrgb(34, 38, 134)
HSLhsl(238, 60%, 33%)
HSVhsv(238, 75%, 53%)
CMYKcmyk(74.6%, 71.6%, 0%, 47.5%)
CIE-LABlab(21.75, 32.46, -53.88)
CIE-LCHlch(21.75, 62.90, 301.07°)
OKLaboklab(33.89% 0.0072 -0.1558)
OKLCHoklch(33.89% 0.156 272.6)
XYZxyz(5.6544, 3.4470, 22.9170)
Luminance0.0345 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222686 #868222
analogous
#225886 #222686 #502286
triadic
#222686 #862226 #268622
tetradic
#222686 #862258 #868222 #228650
square
#222686 #862258 #868222 #228650
split-complementary
#222686 #865022 #588622
monochromatic
#090A24 #161855 #222686 #2E34B7 #5055D3

Accessibility & contrast

On white

12.43
#222686 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#222686 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222686
12.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222686#FFFFFF#000000##FFFFFF
##2226861.0012.431.6912.43
#FFFFFF12.431.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003989
Deuteranopia (green-blind)
#002F84
Tritanopia (blue-blind)
#004053
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #222686;
/* rgb */ color: rgb(34, 38, 134);
/* oklch */ color: oklch(33.9% 0.156 272.6);
Tailwind
colors: {
  custom: {
    50: '#6e61aa',
    500: '#222686',
    950: '#000000',
  },
}
SCSS
$custom: #222686;
$custom-light: #6e61aa;
$custom-dark: #000000;
JSON
{
  "hex": "#222686",
  "rgb": {
    "r": 34,
    "g": 38,
    "b": 134
  },
  "hsl": {
    "h": 237.6,
    "s": 59.524,
    "l": 32.941
  },
  "oklch": {
    "l": 0.33892,
    "c": 0.15599,
    "h": 272.6
  },
  "luminance": 0.03448
}

Semantic roles & 50–950 ramp

primary
#222686
secondary
#B6B24E
accent
#DC45E3
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #222686

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

Preview Lab → · Contrast checker → · Palette generator →

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