#22279B#22279B

#22279B is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.3% C 0.182 H 271.1°. Best body text is #FFFFFF at 11.47:1 contrast (WCAG AA passes).

Color values

HEX#22279B
RGBrgb(34, 39, 155)
HSLhsl(238, 64%, 37%)
HSVhsv(238, 78%, 61%)
CMYKcmyk(78.1%, 74.8%, 0%, 39.2%)
CIE-LABlab(24.18, 39.33, -62.88)
CIE-LCHlch(24.18, 74.17, 302.02°)
OKLaboklab(36.3% 0.0035 -0.1821)
OKLCHoklch(36.3% 0.182 271.1)
XYZxyz(7.2996, 4.1569, 31.4216)
Luminance0.0416 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22279B #9B9622
analogous
#22639B #22279B #5A229B
triadic
#22279B #9B2227 #279B22
tetradic
#22279B #9B2263 #9B9622 #229B5A
square
#22279B #9B2263 #9B9622 #229B5A
split-complementary
#22279B #9B5A22 #639B22
monochromatic
#0C0E37 #171A69 #22279B #2D34CD #5C61DB

Accessibility & contrast

On white

11.47
#22279B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#22279B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22279B
11.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22279B#FFFFFF#000000##FFFFFF
##22279B1.0011.471.8311.47
#FFFFFF11.471.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F9E
Deuteranopia (green-blind)
#003399
Tritanopia (blue-blind)
#00495F
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #22279b;
/* rgb */ color: rgb(34, 39, 155);
/* oklch */ color: oklch(36.3% 0.182 271.1);
Tailwind
colors: {
  custom: {
    50: '#7362ba',
    500: '#22279b',
    950: '#000000',
  },
}
SCSS
$custom: #22279b;
$custom-light: #7362ba;
$custom-dark: #000000;
JSON
{
  "hex": "#22279b",
  "rgb": {
    "r": 34,
    "g": 39,
    "b": 155
  },
  "hsl": {
    "h": 237.521,
    "s": 64.021,
    "l": 37.059
  },
  "oklch": {
    "l": 0.36295,
    "c": 0.18211,
    "h": 271.1
  },
  "luminance": 0.04158
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #22279B

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

Preview Lab → · Contrast checker → · Palette generator →

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