#2226A9#2226A9

#2226A9 is a dark, highly saturated blue. Relative luminance 0.046; OKLCH L 37.7% C 0.200 H 270.4°. Best body text is #FFFFFF at 10.95:1 contrast (WCAG AA passes).

Color values

HEX#2226A9
RGBrgb(34, 38, 169)
HSLhsl(238, 67%, 40%)
HSVhsv(238, 80%, 66%)
CMYKcmyk(79.9%, 77.5%, 0%, 33.7%)
CIE-LABlab(25.53, 44.68, -69.16)
CIE-LCHlch(25.53, 82.34, 302.86°)
OKLaboklab(37.71% 0.0014 -0.2003)
OKLCHoklch(37.71% 0.2 270.4)
XYZxyz(8.5118, 4.5899, 37.9658)
Luminance0.0459 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2226A9 #A9A522
analogous
#226AA9 #2226A9 #6122A9
triadic
#2226A9 #A92226 #26A922
tetradic
#2226A9 #A9226A #A9A522 #22A961
square
#2226A9 #A9226A #A9A522 #22A961
split-complementary
#2226A9 #A96122 #6AA922
monochromatic
#0D0F43 #181B76 #2226A9 #3237D6 #6569E0

Accessibility & contrast

On white

10.95
#2226A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#2226A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2226A9
10.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2226A9#FFFFFF#000000##FFFFFF
##2226A91.0010.951.9210.95
#FFFFFF10.951.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043AD
Deuteranopia (green-blind)
#0036A7
Tritanopia (blue-blind)
#004E66
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2226a9;
/* rgb */ color: rgb(34, 38, 169);
/* oklch */ color: oklch(37.7% 0.200 270.4);
Tailwind
colors: {
  custom: {
    50: '#7762c4',
    500: '#2226a9',
    950: '#000000',
  },
}
SCSS
$custom: #2226a9;
$custom-light: #7762c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2226a9",
  "rgb": {
    "r": 34,
    "g": 38,
    "b": 169
  },
  "hsl": {
    "h": 238.222,
    "s": 66.502,
    "l": 39.804
  },
  "oklch": {
    "l": 0.37708,
    "c": 0.20031,
    "h": 270.4
  },
  "luminance": 0.04591
}

Semantic roles & 50–950 ramp

primary
#2226A9
secondary
#C5C361
accent
#E43EE9
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0A0513
muted
#7C7982

Preview Lab

Preview with #2226A9

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

Preview Lab → · Contrast checker → · Palette generator →

#2226A9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva