#222685#222685

#222685 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.8% C 0.155 H 272.7°. Best body text is #FFFFFF at 12.47:1 contrast (WCAG AA passes).

Color values

HEX#222685
RGBrgb(34, 38, 133)
HSLhsl(238, 59%, 33%)
HSVhsv(238, 74%, 52%)
CMYKcmyk(74.4%, 71.4%, 0%, 47.8%)
CIE-LABlab(21.65, 32.10, -53.42)
CIE-LCHlch(21.65, 62.32, 301.00°)
OKLaboklab(33.79% 0.0073 -0.1545)
OKLCHoklch(33.79% 0.155 272.7)
XYZxyz(5.5850, 3.4192, 22.5514)
Luminance0.0342 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222685 #858122
analogous
#225785 #222685 #502285
triadic
#222685 #852226 #268522
tetradic
#222685 #852257 #858122 #228550
square
#222685 #852257 #858122 #228550
split-complementary
#222685 #855022 #578522
monochromatic
#090A24 #161854 #222685 #2E34B6 #4F55D2

Accessibility & contrast

On white

12.47
#222685 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#222685 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222685
12.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222685#FFFFFF#000000##FFFFFF
##2226851.0012.471.6812.47
#FFFFFF12.471.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003988
Deuteranopia (green-blind)
#002F83
Tritanopia (blue-blind)
#004052
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #222685;
/* rgb */ color: rgb(34, 38, 133);
/* oklch */ color: oklch(33.8% 0.155 272.7);
Tailwind
colors: {
  custom: {
    50: '#6d61a9',
    500: '#222685',
    950: '#000000',
  },
}
SCSS
$custom: #222685;
$custom-light: #6d61a9;
$custom-dark: #000000;
JSON
{
  "hex": "#222685",
  "rgb": {
    "r": 34,
    "g": 38,
    "b": 133
  },
  "hsl": {
    "h": 237.576,
    "s": 59.281,
    "l": 32.745
  },
  "oklch": {
    "l": 0.33788,
    "c": 0.15466,
    "h": 272.7
  },
  "luminance": 0.0342
}

Semantic roles & 50–950 ramp

primary
#222685
secondary
#B6B14D
accent
#DC45E2
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #222685

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

Preview Lab → · Contrast checker → · Palette generator →

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