#222376#222376

#222376 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 31.7% C 0.138 H 274.7°. Best body text is #FFFFFF at 13.38:1 contrast (WCAG AA passes).

Color values

HEX#222376
RGBrgb(34, 35, 118)
HSLhsl(239, 55%, 30%)
HSVhsv(239, 71%, 46%)
CMYKcmyk(71.2%, 70.3%, 0%, 53.7%)
CIE-LABlab(19.43, 28.56, -47.54)
CIE-LCHlch(19.43, 55.46, 300.99°)
OKLaboklab(31.73% 0.0113 -0.1373)
OKLCHoklch(31.73% 0.138 274.7)
XYZxyz(4.5297, 2.8497, 17.4474)
Luminance0.0285 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222376 #767522
analogous
#224D76 #222376 #4B2276
triadic
#222376 #762223 #237622
tetradic
#222376 #76224D #767522 #22764B
square
#222376 #76224D #767522 #22764B
split-complementary
#222376 #764B22 #4D7622
monochromatic
#070718 #141546 #222376 #3031A6 #484ACA

Accessibility & contrast

On white

13.38
#222376 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#222376 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222376
13.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222376#FFFFFF#000000##FFFFFF
##2223761.0013.381.5713.38
#FFFFFF13.381.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003379
Deuteranopia (green-blind)
#002B74
Tritanopia (blue-blind)
#003949
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #222376;
/* rgb */ color: rgb(34, 35, 118);
/* oklch */ color: oklch(31.7% 0.138 274.7);
Tailwind
colors: {
  custom: {
    50: '#6a5e9e',
    500: '#222376',
    950: '#000000',
  },
}
SCSS
$custom: #222376;
$custom-light: #6a5e9e;
$custom-dark: #000000;
JSON
{
  "hex": "#222376",
  "rgb": {
    "r": 34,
    "g": 35,
    "b": 118
  },
  "hsl": {
    "h": 239.286,
    "s": 55.263,
    "l": 29.804
  },
  "oklch": {
    "l": 0.31729,
    "c": 0.13777,
    "h": 274.7
  },
  "luminance": 0.0285
}

Semantic roles & 50–950 ramp

primary
#222376
secondary
#A9A84B
accent
#DD49DF
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #222376

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

Preview Lab → · Contrast checker → · Palette generator →

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