#222264#222264

#222264 is a dark, moderate blue. Relative luminance 0.024; OKLCH L 29.8% C 0.113 H 277.0°. Best body text is #FFFFFF at 14.18:1 contrast (WCAG AA passes).

Color values

HEX#222264
RGBrgb(34, 34, 100)
HSLhsl(240, 49%, 26%)
HSVhsv(240, 66%, 39%)
CMYKcmyk(66%, 66%, 0%, 60.8%)
CIE-LABlab(17.48, 22.53, -39.04)
CIE-LCHlch(17.48, 45.08, 299.99°)
OKLaboklab(29.78% 0.0139 -0.1124)
OKLCHoklch(29.78% 0.113 277)
XYZxyz(3.5312, 2.4040, 12.3320)
Luminance0.0240 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222264 #646422
analogous
#224364 #222264 #432264
triadic
#222264 #642222 #226422
tetradic
#222264 #642243 #646422 #226443
square
#222264 #642243 #646422 #226443
split-complementary
#222264 #644322 #436422
monochromatic
#080817 #121236 #222264 #323292 #4242BF

Accessibility & contrast

On white

14.18
#222264 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #222264
14.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222264#FFFFFF#000000##FFFFFF
##2222641.0014.181.4814.18
#FFFFFF14.181.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.181.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #222264;
/* rgb */ color: rgb(34, 34, 100);
/* oklch */ color: oklch(29.8% 0.113 277.0);
Tailwind
colors: {
  custom: {
    50: '#665d91',
    500: '#222264',
    950: '#000000',
  },
}
SCSS
$custom: #222264;
$custom-light: #665d91;
$custom-dark: #000000;
JSON
{
  "hex": "#222264",
  "rgb": {
    "r": 34,
    "g": 34,
    "b": 100
  },
  "hsl": {
    "h": 240,
    "s": 49.254,
    "l": 26.275
  },
  "oklch": {
    "l": 0.29782,
    "c": 0.11325,
    "h": 277
  },
  "luminance": 0.02404
}

Semantic roles & 50–950 ramp

primary
#222264
secondary
#98984A
accent
#D94FD9
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06040D
muted
#7A797D

Preview Lab

Preview with #222264

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

Preview Lab → · Contrast checker → · Palette generator →

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