#222363#222363

#222363 is a dark, moderate blue. Relative luminance 0.024; OKLCH L 29.9% C 0.110 H 276.7°. Best body text is #FFFFFF at 14.11:1 contrast (WCAG AA passes).

Color values

HEX#222363
RGBrgb(34, 35, 99)
HSLhsl(239, 49%, 26%)
HSVhsv(239, 66%, 39%)
CMYKcmyk(65.7%, 64.6%, 0%, 61.2%)
CIE-LABlab(17.66, 21.46, -38.09)
CIE-LCHlch(17.66, 43.72, 299.40°)
OKLaboklab(29.89% 0.0129 -0.1096)
OKLCHoklch(29.89% 0.11 276.7)
XYZxyz(3.5121, 2.4427, 12.0884)
Luminance0.0244 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222363 #636222
analogous
#224363 #222363 #412263
triadic
#222363 #632223 #236322
tetradic
#222363 #632243 #636222 #226341
square
#222363 #632243 #636222 #226341
split-complementary
#222363 #634122 #436322
monochromatic
#080817 #121335 #222363 #323391 #4143BE

Accessibility & contrast

On white

14.11
#222363 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#222363 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222363
14.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222363#FFFFFF#000000##FFFFFF
##2223631.0014.111.4914.11
#FFFFFF14.111.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E65
Deuteranopia (green-blind)
#002962
Tritanopia (blue-blind)
#00333F
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #222363;
/* rgb */ color: rgb(34, 35, 99);
/* oklch */ color: oklch(29.9% 0.110 276.7);
Tailwind
colors: {
  custom: {
    50: '#655e90',
    500: '#222363',
    950: '#000000',
  },
}
SCSS
$custom: #222363;
$custom-light: #655e90;
$custom-dark: #000000;
JSON
{
  "hex": "#222363",
  "rgb": {
    "r": 34,
    "g": 35,
    "b": 99
  },
  "hsl": {
    "h": 239.077,
    "s": 48.872,
    "l": 26.078
  },
  "oklch": {
    "l": 0.29885,
    "c": 0.11037,
    "h": 276.7
  },
  "luminance": 0.02443
}

Semantic roles & 50–950 ramp

primary
#222363
secondary
#97964A
accent
#D64FD8
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06040C
muted
#7A797D

Preview Lab

Preview with #222363

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

Preview Lab → · Contrast checker → · Palette generator →

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