#2A22A9#2A22A9

#2A22A9 is a dark, highly saturated blue. Relative luminance 0.045; OKLCH L 37.6% C 0.202 H 273.5°. Best body text is #FFFFFF at 11.05:1 contrast (WCAG AA passes).

Color values

HEX#2A22A9
RGBrgb(42, 34, 169)
HSLhsl(244, 67%, 40%)
HSVhsv(244, 80%, 66%)
CMYKcmyk(75.1%, 79.9%, 0%, 33.7%)
CIE-LABlab(25.26, 47.37, -69.60)
CIE-LCHlch(25.26, 84.19, 304.24°)
OKLaboklab(37.64% 0.0121 -0.2014)
OKLCHoklch(37.64% 0.202 273.5)
XYZxyz(8.6859, 4.5000, 37.9392)
Luminance0.0450 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A22A9 #A1A922
analogous
#225DA9 #2A22A9 #6E22A9
triadic
#2A22A9 #A92A22 #22A92A
tetradic
#2A22A9 #A9225D #A1A922 #22A96E
square
#2A22A9 #A9225D #A1A922 #22A96E
split-complementary
#2A22A9 #A96E22 #5DA922
monochromatic
#110D43 #1D1876 #2A22A9 #3C32D6 #6D65E0

Accessibility & contrast

On white

11.05
#2A22A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#2A22A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A22A9
11.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A22A9#FFFFFF#000000##FFFFFF
##2A22A91.0011.051.9011.05
#FFFFFF11.051.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042AD
Deuteranopia (green-blind)
#0035A7
Tritanopia (blue-blind)
#004C66
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2a22a9;
/* rgb */ color: rgb(42, 34, 169);
/* oklch */ color: oklch(37.6% 0.202 273.5);
Tailwind
colors: {
  custom: {
    50: '#7961c4',
    500: '#2a22a9',
    950: '#000000',
  },
}
SCSS
$custom: #2a22a9;
$custom-light: #7961c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2a22a9",
  "rgb": {
    "r": 42,
    "g": 34,
    "b": 169
  },
  "hsl": {
    "h": 243.556,
    "s": 66.502,
    "l": 39.804
  },
  "oklch": {
    "l": 0.37641,
    "c": 0.20173,
    "h": 273.5
  },
  "luminance": 0.04501
}

Semantic roles & 50–950 ramp

primary
#2A22A9
secondary
#C0C561
accent
#E93EDF
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #2A22A9

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

Preview Lab → · Contrast checker → · Palette generator →

#2A22A9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva