#22276A#22276A

#22276A is a dark, moderate blue. Relative luminance 0.028; OKLCH L 31.3% C 0.115 H 274.4°. Best body text is #FFFFFF at 13.41:1 contrast (WCAG AA passes).

Color values

HEX#22276A
RGBrgb(34, 39, 106)
HSLhsl(236, 51%, 27%)
HSVhsv(236, 68%, 42%)
CMYKcmyk(67.9%, 63.2%, 0%, 58.4%)
CIE-LABlab(19.36, 21.32, -39.91)
CIE-LCHlch(19.36, 45.25, 298.11°)
OKLaboklab(31.33% 0.0088 -0.1149)
OKLCHoklch(31.33% 0.115 274.4)
XYZxyz(3.9859, 2.8314, 13.9693)
Luminance0.0283 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22276A #6A6522
analogous
#224B6A #22276A #41226A
triadic
#22276A #6A2227 #276A22
tetradic
#22276A #6A224B #6A6522 #226A41
square
#22276A #6A224B #6A6522 #226A41
split-complementary
#22276A #6A4122 #4B6A22
monochromatic
#070917 #13163C #22276A #313898 #444CC3

Accessibility & contrast

On white

13.41
#22276A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#22276A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22276A
13.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22276A#FFFFFF#000000##FFFFFF
##22276A1.0013.411.5713.41
#FFFFFF13.411.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00326C
Deuteranopia (green-blind)
#002C69
Tritanopia (blue-blind)
#003844
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #22276a;
/* rgb */ color: rgb(34, 39, 106);
/* oklch */ color: oklch(31.3% 0.115 274.4);
Tailwind
colors: {
  custom: {
    50: '#676195',
    500: '#22276a',
    950: '#000000',
  },
}
SCSS
$custom: #22276a;
$custom-light: #676195;
$custom-dark: #000000;
JSON
{
  "hex": "#22276a",
  "rgb": {
    "r": 34,
    "g": 39,
    "b": 106
  },
  "hsl": {
    "h": 235.833,
    "s": 51.429,
    "l": 27.451
  },
  "oklch": {
    "l": 0.3133,
    "c": 0.11525,
    "h": 274.4
  },
  "luminance": 0.02832
}

Semantic roles & 50–950 ramp

primary
#22276A
secondary
#9E984A
accent
#D14DDB
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06050D
muted
#7A797E

Preview Lab

Preview with #22276A

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

Preview Lab → · Contrast checker → · Palette generator →

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