#22266F#22266F

#22266F is a dark, vivid blue. Relative luminance 0.029; OKLCH L 31.6% C 0.124 H 274.4°. Best body text is #FFFFFF at 13.34:1 contrast (WCAG AA passes).

Color values

HEX#22266F
RGBrgb(34, 38, 111)
HSLhsl(237, 53%, 28%)
HSVhsv(237, 69%, 44%)
CMYKcmyk(69.4%, 65.8%, 0%, 56.5%)
CIE-LABlab(19.53, 23.92, -42.87)
CIE-LCHlch(19.53, 49.09, 299.16°)
OKLaboklab(31.6% 0.0095 -0.1236)
OKLCHoklch(31.6% 0.124 274.4)
XYZxyz(4.2211, 2.8736, 15.3681)
Luminance0.0287 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22266F #6F6B22
analogous
#224C6F #22266F #44226F
triadic
#22266F #6F2226 #266F22
tetradic
#22266F #6F224C #6F6B22 #226F44
square
#22266F #6F224C #6F6B22 #226F44
split-complementary
#22266F #6F4422 #4C6F22
monochromatic
#070817 #141640 #22266F #30369E #454CC6

Accessibility & contrast

On white

13.34
#22266F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#22266F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22266F
13.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22266F#FFFFFF#000000##FFFFFF
##22266F1.0013.341.5713.34
#FFFFFF13.341.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003371
Deuteranopia (green-blind)
#002C6E
Tritanopia (blue-blind)
#003946
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #22266f;
/* rgb */ color: rgb(34, 38, 111);
/* oklch */ color: oklch(31.6% 0.124 274.4);
Tailwind
colors: {
  custom: {
    50: '#686099',
    500: '#22266f',
    950: '#000000',
  },
}
SCSS
$custom: #22266f;
$custom-light: #686099;
$custom-dark: #000000;
JSON
{
  "hex": "#22266f",
  "rgb": {
    "r": 34,
    "g": 38,
    "b": 111
  },
  "hsl": {
    "h": 236.883,
    "s": 53.103,
    "l": 28.431
  },
  "oklch": {
    "l": 0.31597,
    "c": 0.12397,
    "h": 274.4
  },
  "luminance": 0.02874
}

Semantic roles & 50–950 ramp

primary
#22266F
secondary
#A29E4A
accent
#D54BDD
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #22266F

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

Preview Lab → · Contrast checker → · Palette generator →

#22266F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva