#22267B#22267B

#22267B is a dark, vivid blue. Relative luminance 0.032; OKLCH L 32.8% C 0.141 H 273.5°. Best body text is #FFFFFF at 12.87:1 contrast (WCAG AA passes).

Color values

HEX#22267B
RGBrgb(34, 38, 123)
HSLhsl(237, 57%, 31%)
HSVhsv(237, 72%, 48%)
CMYKcmyk(72.4%, 69.1%, 0%, 51.8%)
CIE-LABlab(20.66, 28.42, -48.72)
CIE-LCHlch(20.66, 56.41, 300.25°)
OKLaboklab(32.77% 0.0085 -0.1408)
OKLCHoklch(32.77% 0.141 273.5)
XYZxyz(4.9268, 3.1559, 19.0846)
Luminance0.0316 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22267B #7B7722
analogous
#22527B #22267B #4A227B
triadic
#22267B #7B2226 #267B22
tetradic
#22267B #7B2252 #7B7722 #227B4A
square
#22267B #7B2252 #7B7722 #227B4A
split-complementary
#22267B #7B4A22 #527B22
monochromatic
#07081B #15174B #22267B #2F35AB #4A50CD

Accessibility & contrast

On white

12.87
#22267B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#22267B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22267B
12.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22267B#FFFFFF#000000##FFFFFF
##22267B1.0012.871.6312.87
#FFFFFF12.871.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00367E
Deuteranopia (green-blind)
#002E79
Tritanopia (blue-blind)
#003D4D
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #22267b;
/* rgb */ color: rgb(34, 38, 123);
/* oklch */ color: oklch(32.8% 0.141 273.5);
Tailwind
colors: {
  custom: {
    50: '#6b60a2',
    500: '#22267b',
    950: '#000000',
  },
}
SCSS
$custom: #22267b;
$custom-light: #6b60a2;
$custom-dark: #000000;
JSON
{
  "hex": "#22267b",
  "rgb": {
    "r": 34,
    "g": 38,
    "b": 123
  },
  "hsl": {
    "h": 237.303,
    "s": 56.688,
    "l": 30.784
  },
  "oklch": {
    "l": 0.32768,
    "c": 0.14103,
    "h": 273.5
  },
  "luminance": 0.03156
}

Semantic roles & 50–950 ramp

primary
#22267B
secondary
#AEA94B
accent
#D948E0
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07050F
muted
#7A797F

Preview Lab

Preview with #22267B

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

Preview Lab → · Contrast checker → · Palette generator →

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