#222368#222368

#222368 is a dark, moderate blue. Relative luminance 0.025; OKLCH L 30.4% C 0.118 H 276.2°. Best body text is #FFFFFF at 13.92:1 contrast (WCAG AA passes).

Color values

HEX#222368
RGBrgb(34, 35, 104)
HSLhsl(239, 51%, 27%)
HSVhsv(239, 67%, 41%)
CMYKcmyk(67.3%, 66.3%, 0%, 59.2%)
CIE-LABlab(18.10, 23.34, -40.65)
CIE-LCHlch(18.10, 46.87, 299.87°)
OKLaboklab(30.35% 0.0126 -0.1171)
OKLCHoklch(30.35% 0.118 276.2)
XYZxyz(3.7586, 2.5413, 13.3865)
Luminance0.0254 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222368 #686722
analogous
#224668 #222368 #442268
triadic
#222368 #682223 #236822
tetradic
#222368 #682246 #686722 #226844
square
#222368 #682246 #686722 #226844
split-complementary
#222368 #684422 #466822
monochromatic
#080817 #13133A #222368 #313396 #4345C2

Accessibility & contrast

On white

13.92
#222368 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#222368 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222368
13.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222368#FFFFFF#000000##FFFFFF
##2223681.0013.921.5113.92
#FFFFFF13.921.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F6A
Deuteranopia (green-blind)
#002967
Tritanopia (blue-blind)
#003442
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #222368;
/* rgb */ color: rgb(34, 35, 104);
/* oklch */ color: oklch(30.4% 0.118 276.2);
Tailwind
colors: {
  custom: {
    50: '#675e94',
    500: '#222368',
    950: '#000000',
  },
}
SCSS
$custom: #222368;
$custom-light: #675e94;
$custom-dark: #000000;
JSON
{
  "hex": "#222368",
  "rgb": {
    "r": 34,
    "g": 35,
    "b": 104
  },
  "hsl": {
    "h": 239.143,
    "s": 50.725,
    "l": 27.059
  },
  "oklch": {
    "l": 0.30353,
    "c": 0.11779,
    "h": 276.2
  },
  "luminance": 0.02542
}

Semantic roles & 50–950 ramp

primary
#222368
secondary
#9C9B4A
accent
#D84EDA
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06040D
muted
#7A797E

Preview Lab

Preview with #222368

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

Preview Lab → · Contrast checker → · Palette generator →

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