#22267D#22267D

#22267D is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.0% C 0.144 H 273.3°. Best body text is #FFFFFF at 12.79:1 contrast (WCAG AA passes).

Color values

HEX#22267D
RGBrgb(34, 38, 125)
HSLhsl(237, 57%, 31%)
HSVhsv(237, 73%, 49%)
CMYKcmyk(72.8%, 69.6%, 0%, 51%)
CIE-LABlab(20.85, 29.16, -49.68)
CIE-LCHlch(20.85, 57.60, 300.41°)
OKLaboklab(32.97% 0.0083 -0.1435)
OKLCHoklch(32.97% 0.144 273.3)
XYZxyz(5.0532, 3.2065, 19.7507)
Luminance0.0321 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22267D #7D7922
analogous
#22537D #22267D #4B227D
triadic
#22267D #7D2226 #267D22
tetradic
#22267D #7D2253 #7D7922 #227D4B
square
#22267D #7D2253 #7D7922 #227D4B
split-complementary
#22267D #7D4B22 #537D22
monochromatic
#08091D #15174D #22267D #2F35AD #4B51CE

Accessibility & contrast

On white

12.79
#22267D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#22267D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22267D
12.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22267D#FFFFFF#000000##FFFFFF
##22267D1.0012.791.6412.79
#FFFFFF12.791.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003680
Deuteranopia (green-blind)
#002E7B
Tritanopia (blue-blind)
#003D4E
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #22267d;
/* rgb */ color: rgb(34, 38, 125);
/* oklch */ color: oklch(33.0% 0.144 273.3);
Tailwind
colors: {
  custom: {
    50: '#6b60a4',
    500: '#22267d',
    950: '#000000',
  },
}
SCSS
$custom: #22267d;
$custom-light: #6b60a4;
$custom-dark: #000000;
JSON
{
  "hex": "#22267d",
  "rgb": {
    "r": 34,
    "g": 38,
    "b": 125
  },
  "hsl": {
    "h": 237.363,
    "s": 57.233,
    "l": 31.176
  },
  "oklch": {
    "l": 0.32969,
    "c": 0.14379,
    "h": 273.3
  },
  "luminance": 0.03207
}

Semantic roles & 50–950 ramp

primary
#22267D
secondary
#B0AB4B
accent
#DA47E0
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08050F
muted
#7A797F

Preview Lab

Preview with #22267D

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

Preview Lab → · Contrast checker → · Palette generator →

#22267D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva