#2E22A9#2E22A9

#2E22A9 is a dark, highly saturated blue. Relative luminance 0.046; OKLCH L 37.9% C 0.201 H 275.0°. Best body text is #FFFFFF at 10.95:1 contrast (WCAG AA passes).

Color values

HEX#2E22A9
RGBrgb(46, 34, 169)
HSLhsl(245, 67%, 40%)
HSVhsv(245, 80%, 66%)
CMYKcmyk(72.8%, 79.9%, 0%, 33.7%)
CIE-LABlab(25.53, 47.69, -69.14)
CIE-LCHlch(25.53, 83.99, 304.59°)
OKLaboklab(37.9% 0.0173 -0.1999)
OKLCHoklch(37.9% 0.201 275)
XYZxyz(8.8578, 4.5886, 37.9473)
Luminance0.0459 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E22A9 #9DA922
analogous
#225AA9 #2E22A9 #7122A9
triadic
#2E22A9 #A92E22 #22A92E
tetradic
#2E22A9 #A9225A #9DA922 #22A971
square
#2E22A9 #A9225A #9DA922 #22A971
split-complementary
#2E22A9 #A97122 #5AA922
monochromatic
#120D43 #201876 #2E22A9 #4132D6 #7065E0

Accessibility & contrast

On white

10.95
#2E22A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#2E22A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E22A9
10.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E22A9#FFFFFF#000000##FFFFFF
##2E22A91.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)
#0042AD
Deuteranopia (green-blind)
#0036A7
Tritanopia (blue-blind)
#004B66
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2e22a9;
/* rgb */ color: rgb(46, 34, 169);
/* oklch */ color: oklch(37.9% 0.201 275.0);
Tailwind
colors: {
  custom: {
    50: '#7b61c4',
    500: '#2e22a9',
    950: '#000000',
  },
}
SCSS
$custom: #2e22a9;
$custom-light: #7b61c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2e22a9",
  "rgb": {
    "r": 46,
    "g": 34,
    "b": 169
  },
  "hsl": {
    "h": 245.333,
    "s": 66.502,
    "l": 39.804
  },
  "oklch": {
    "l": 0.37899,
    "c": 0.2007,
    "h": 275
  },
  "luminance": 0.04589
}

Semantic roles & 50–950 ramp

primary
#2E22A9
secondary
#BDC561
accent
#E93EDA
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #2E22A9

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

Preview Lab → · Contrast checker → · Palette generator →

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