#22279A#22279A

#22279A is a dark, vivid blue. Relative luminance 0.041; OKLCH L 36.2% C 0.181 H 271.2°. Best body text is #FFFFFF at 11.51:1 contrast (WCAG AA passes).

Color values

HEX#22279A
RGBrgb(34, 39, 154)
HSLhsl(238, 64%, 37%)
HSVhsv(238, 78%, 60%)
CMYKcmyk(77.9%, 74.7%, 0%, 39.6%)
CIE-LABlab(24.08, 38.98, -62.45)
CIE-LCHlch(24.08, 73.62, 301.97°)
OKLaboklab(36.19% 0.0036 -0.1808)
OKLCHoklch(36.19% 0.181 271.2)
XYZxyz(7.2160, 4.1234, 30.9812)
Luminance0.0412 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22279A #9A9522
analogous
#22639A #22279A #59229A
triadic
#22279A #9A2227 #279A22
tetradic
#22279A #9A2263 #9A9522 #229A59
square
#22279A #9A2263 #9A9522 #229A59
split-complementary
#22279A #9A5922 #639A22
monochromatic
#0C0E36 #171A68 #22279A #2D34CC #5B61DB

Accessibility & contrast

On white

11.51
#22279A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#22279A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22279A
11.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22279A#FFFFFF#000000##FFFFFF
##22279A1.0011.511.8211.51
#FFFFFF11.511.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F9D
Deuteranopia (green-blind)
#003398
Tritanopia (blue-blind)
#00485E
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #22279a;
/* rgb */ color: rgb(34, 39, 154);
/* oklch */ color: oklch(36.2% 0.181 271.2);
Tailwind
colors: {
  custom: {
    50: '#7362b9',
    500: '#22279a',
    950: '#000000',
  },
}
SCSS
$custom: #22279a;
$custom-light: #7362b9;
$custom-dark: #000000;
JSON
{
  "hex": "#22279a",
  "rgb": {
    "r": 34,
    "g": 39,
    "b": 154
  },
  "hsl": {
    "h": 237.5,
    "s": 63.83,
    "l": 36.863
  },
  "oklch": {
    "l": 0.36186,
    "c": 0.18085,
    "h": 271.2
  },
  "luminance": 0.04124
}

Semantic roles & 50–950 ramp

primary
#22279A
secondary
#BFBB58
accent
#E041E7
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#090512
muted
#7B7981

Preview Lab

Preview with #22279A

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

Preview Lab → · Contrast checker → · Palette generator →

#22279A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva