#222667#222667

#222667 is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.9% C 0.112 H 275.0°. Best body text is #FFFFFF at 13.63:1 contrast (WCAG AA passes).

Color values

HEX#222667
RGBrgb(34, 38, 103)
HSLhsl(237, 50%, 27%)
HSVhsv(237, 67%, 40%)
CMYKcmyk(67%, 63.1%, 0%, 59.6%)
CIE-LABlab(18.82, 20.87, -38.82)
CIE-LCHlch(18.82, 44.08, 298.27°)
OKLaboklab(30.85% 0.0098 -0.1117)
OKLCHoklch(30.85% 0.112 275)
XYZxyz(3.8002, 2.7053, 13.1512)
Luminance0.0271 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222667 #676322
analogous
#224967 #222667 #412267
triadic
#222667 #672226 #266722
tetradic
#222667 #672249 #676322 #226741
square
#222667 #672249 #676322 #226741
split-complementary
#222667 #674122 #496722
monochromatic
#080817 #131539 #222667 #313795 #434AC1

Accessibility & contrast

On white

13.63
#222667 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#222667 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222667
13.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222667#FFFFFF#000000##FFFFFF
##2226671.0013.631.5413.63
#FFFFFF13.631.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003169
Deuteranopia (green-blind)
#002B66
Tritanopia (blue-blind)
#003642
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #222667;
/* rgb */ color: rgb(34, 38, 103);
/* oklch */ color: oklch(30.9% 0.112 275.0);
Tailwind
colors: {
  custom: {
    50: '#666093',
    500: '#222667',
    950: '#000000',
  },
}
SCSS
$custom: #222667;
$custom-light: #666093;
$custom-dark: #000000;
JSON
{
  "hex": "#222667",
  "rgb": {
    "r": 34,
    "g": 38,
    "b": 103
  },
  "hsl": {
    "h": 236.522,
    "s": 50.365,
    "l": 26.863
  },
  "oklch": {
    "l": 0.30854,
    "c": 0.11215,
    "h": 275
  },
  "luminance": 0.02706
}

Semantic roles & 50–950 ramp

primary
#222667
secondary
#9B964A
accent
#D24EDA
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06040D
muted
#7A797E

Preview Lab

Preview with #222667

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

Preview Lab → · Contrast checker → · Palette generator →

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