#222268#222268

#222268 is a dark, moderate blue. Relative luminance 0.025; OKLCH L 30.2% C 0.119 H 276.5°. Best body text is #FFFFFF at 14.03:1 contrast (WCAG AA passes).

Color values

HEX#222268
RGBrgb(34, 34, 104)
HSLhsl(240, 51%, 27%)
HSVhsv(240, 67%, 41%)
CMYKcmyk(67.3%, 67.3%, 0%, 59.2%)
CIE-LABlab(17.84, 24.03, -41.07)
CIE-LCHlch(17.84, 47.59, 300.33°)
OKLaboklab(30.16% 0.0136 -0.1184)
OKLCHoklch(30.16% 0.119 276.5)
XYZxyz(3.7296, 2.4833, 13.3768)
Luminance0.0248 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222268 #686822
analogous
#224568 #222268 #452268
triadic
#222268 #682222 #226822
tetradic
#222268 #682245 #686822 #226845
square
#222268 #682245 #686822 #226845
split-complementary
#222268 #684522 #456822
monochromatic
#080817 #13133A #222268 #313196 #4343C2

Accessibility & contrast

On white

14.03
#222268 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#222268 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222268
14.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222268#FFFFFF#000000##FFFFFF
##2222681.0014.031.5014.03
#FFFFFF14.031.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.031.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #222268;
/* rgb */ color: rgb(34, 34, 104);
/* oklch */ color: oklch(30.2% 0.119 276.5);
Tailwind
colors: {
  custom: {
    50: '#675d94',
    500: '#222268',
    950: '#000000',
  },
}
SCSS
$custom: #222268;
$custom-light: #675d94;
$custom-dark: #000000;
JSON
{
  "hex": "#222268",
  "rgb": {
    "r": 34,
    "g": 34,
    "b": 104
  },
  "hsl": {
    "h": 240,
    "s": 50.725,
    "l": 27.059
  },
  "oklch": {
    "l": 0.30162,
    "c": 0.11915,
    "h": 276.5
  },
  "luminance": 0.02484
}

Semantic roles & 50–950 ramp

primary
#222268
secondary
#9C9C4A
accent
#DA4EDA
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06040D
muted
#7A797E

Preview Lab

Preview with #222268

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

Preview Lab → · Contrast checker → · Palette generator →

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