#222267#222267

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

Color values

HEX#222267
RGBrgb(34, 34, 103)
HSLhsl(240, 50%, 27%)
HSVhsv(240, 67%, 40%)
CMYKcmyk(67%, 67%, 0%, 59.6%)
CIE-LABlab(17.75, 23.66, -40.57)
CIE-LCHlch(17.75, 46.96, 300.25°)
OKLaboklab(30.07% 0.0137 -0.1169)
OKLCHoklch(30.07% 0.118 276.7)
XYZxyz(3.6791, 2.4631, 13.1109)
Luminance0.0246 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222267 #676722
analogous
#224567 #222267 #452267
triadic
#222267 #672222 #226722
tetradic
#222267 #672245 #676722 #226745
square
#222267 #672245 #676722 #226745
split-complementary
#222267 #674522 #456722
monochromatic
#080817 #131339 #222267 #313195 #4343C1

Accessibility & contrast

On white

14.07
#222267 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #222267
14.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222267#FFFFFF#000000##FFFFFF
##2222671.0014.071.4914.07
#FFFFFF14.071.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E69
Deuteranopia (green-blind)
#002866
Tritanopia (blue-blind)
#003341
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #222267;
/* rgb */ color: rgb(34, 34, 103);
/* oklch */ color: oklch(30.1% 0.118 276.7);
Tailwind
colors: {
  custom: {
    50: '#665d93',
    500: '#222267',
    950: '#000000',
  },
}
SCSS
$custom: #222267;
$custom-light: #665d93;
$custom-dark: #000000;
JSON
{
  "hex": "#222267",
  "rgb": {
    "r": 34,
    "g": 34,
    "b": 103
  },
  "hsl": {
    "h": 240,
    "s": 50.365,
    "l": 26.863
  },
  "oklch": {
    "l": 0.30066,
    "c": 0.11768,
    "h": 276.7
  },
  "luminance": 0.02463
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #222267

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

Preview Lab → · Contrast checker → · Palette generator →

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