#222263#222263

#222263 is a dark, moderate blue. Relative luminance 0.024; OKLCH L 29.7% C 0.112 H 277.2°. Best body text is #FFFFFF at 14.22:1 contrast (WCAG AA passes).

Color values

HEX#222263
RGBrgb(34, 34, 99)
HSLhsl(240, 49%, 26%)
HSVhsv(240, 66%, 39%)
CMYKcmyk(65.7%, 65.7%, 0%, 61.2%)
CIE-LABlab(17.39, 22.16, -38.53)
CIE-LCHlch(17.39, 44.45, 299.90°)
OKLaboklab(29.69% 0.0139 -0.1109)
OKLCHoklch(29.69% 0.112 277.2)
XYZxyz(3.4831, 2.3847, 12.0787)
Luminance0.0238 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222263 #636322
analogous
#224263 #222263 #422263
triadic
#222263 #632222 #226322
tetradic
#222263 #632242 #636322 #226342
square
#222263 #632242 #636322 #226342
split-complementary
#222263 #634222 #426322
monochromatic
#080817 #121235 #222263 #323291 #4141BE

Accessibility & contrast

On white

14.22
#222263 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#222263 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222263
14.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222263#FFFFFF#000000##FFFFFF
##2222631.0014.221.4814.22
#FFFFFF14.221.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.221.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #222263;
/* rgb */ color: rgb(34, 34, 99);
/* oklch */ color: oklch(29.7% 0.112 277.2);
Tailwind
colors: {
  custom: {
    50: '#655d90',
    500: '#222263',
    950: '#000000',
  },
}
SCSS
$custom: #222263;
$custom-light: #655d90;
$custom-dark: #000000;
JSON
{
  "hex": "#222263",
  "rgb": {
    "r": 34,
    "g": 34,
    "b": 99
  },
  "hsl": {
    "h": 240,
    "s": 48.872,
    "l": 26.078
  },
  "oklch": {
    "l": 0.29688,
    "c": 0.11177,
    "h": 277.2
  },
  "luminance": 0.02385
}

Semantic roles & 50–950 ramp

primary
#222263
secondary
#97974A
accent
#D84FD8
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06040C
muted
#7A797D

Preview Lab

Preview with #222263

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

Preview Lab → · Contrast checker → · Palette generator →

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