#222467#222467

#222467 is a dark, moderate blue. Relative luminance 0.026; OKLCH L 30.5% C 0.115 H 275.9°. Best body text is #FFFFFF at 13.85:1 contrast (WCAG AA passes).

Color values

HEX#222467
RGBrgb(34, 36, 103)
HSLhsl(238, 50%, 27%)
HSVhsv(238, 67%, 40%)
CMYKcmyk(67%, 65%, 0%, 59.6%)
CIE-LABlab(18.28, 22.27, -39.71)
CIE-LCHlch(18.28, 45.53, 299.29°)
OKLaboklab(30.45% 0.0118 -0.1143)
OKLCHoklch(30.45% 0.115 275.9)
XYZxyz(3.7379, 2.5808, 13.1305)
Luminance0.0258 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222467 #676522
analogous
#224767 #222467 #432267
triadic
#222467 #672224 #246722
tetradic
#222467 #672247 #676522 #226743
square
#222467 #672247 #676522 #226743
split-complementary
#222467 #674322 #476722
monochromatic
#080817 #131439 #222467 #313495 #4346C1

Accessibility & contrast

On white

13.85
#222467 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#222467 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222467
13.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222467#FFFFFF#000000##FFFFFF
##2224671.0013.851.5213.85
#FFFFFF13.851.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003069
Deuteranopia (green-blind)
#002A66
Tritanopia (blue-blind)
#003541
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #222467;
/* rgb */ color: rgb(34, 36, 103);
/* oklch */ color: oklch(30.5% 0.115 275.9);
Tailwind
colors: {
  custom: {
    50: '#665e93',
    500: '#222467',
    950: '#000000',
  },
}
SCSS
$custom: #222467;
$custom-light: #665e93;
$custom-dark: #000000;
JSON
{
  "hex": "#222467",
  "rgb": {
    "r": 34,
    "g": 36,
    "b": 103
  },
  "hsl": {
    "h": 238.261,
    "s": 50.365,
    "l": 26.863
  },
  "oklch": {
    "l": 0.30454,
    "c": 0.11494,
    "h": 275.9
  },
  "luminance": 0.02581
}

Semantic roles & 50–950 ramp

primary
#222467
secondary
#9B984A
accent
#D64EDA
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06040D
muted
#7A797E

Preview Lab

Preview with #222467

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

Preview Lab → · Contrast checker → · Palette generator →

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