#22276D#22276D

#22276D is a dark, moderate blue. Relative luminance 0.029; OKLCH L 31.6% C 0.120 H 274.2°. Best body text is #FFFFFF at 13.30:1 contrast (WCAG AA passes).

Color values

HEX#22276D
RGBrgb(34, 39, 109)
HSLhsl(236, 52%, 28%)
HSVhsv(236, 69%, 43%)
CMYKcmyk(68.8%, 64.2%, 0%, 57.3%)
CIE-LABlab(19.62, 22.46, -41.43)
CIE-LCHlch(19.62, 47.13, 298.46°)
OKLaboklab(31.61% 0.0087 -0.1194)
OKLCHoklch(31.61% 0.12 274.2)
XYZxyz(4.1446, 2.8949, 14.8054)
Luminance0.0290 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22276D #6D6822
analogous
#224C6D #22276D #42226D
triadic
#22276D #6D2227 #276D22
tetradic
#22276D #6D224C #6D6822 #226D42
square
#22276D #6D224C #6D6822 #226D42
split-complementary
#22276D #6D4222 #4C6D22
monochromatic
#070817 #13163E #22276D #31389C #454DC5

Accessibility & contrast

On white

13.30
#22276D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#22276D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22276D
13.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22276D#FFFFFF#000000##FFFFFF
##22276D1.0013.301.5813.30
#FFFFFF13.301.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00336F
Deuteranopia (green-blind)
#002C6C
Tritanopia (blue-blind)
#003846
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #22276d;
/* rgb */ color: rgb(34, 39, 109);
/* oklch */ color: oklch(31.6% 0.120 274.2);
Tailwind
colors: {
  custom: {
    50: '#676197',
    500: '#22276d',
    950: '#000000',
  },
}
SCSS
$custom: #22276d;
$custom-light: #676197;
$custom-dark: #000000;
JSON
{
  "hex": "#22276d",
  "rgb": {
    "r": 34,
    "g": 39,
    "b": 109
  },
  "hsl": {
    "h": 236,
    "s": 52.448,
    "l": 28.039
  },
  "oklch": {
    "l": 0.31606,
    "c": 0.11971,
    "h": 274.2
  },
  "luminance": 0.02895
}

Semantic roles & 50–950 ramp

primary
#22276D
secondary
#A19B4A
accent
#D24CDC
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #22276D

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

Preview Lab → · Contrast checker → · Palette generator →

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