#2E22AC#2E22AC

#2E22AC is a dark, highly saturated blue. Relative luminance 0.047; OKLCH L 38.2% C 0.204 H 274.7°. Best body text is #FFFFFF at 10.82:1 contrast (WCAG AA passes).

Color values

HEX#2E22AC
RGBrgb(46, 34, 172)
HSLhsl(245, 67%, 40%)
HSVhsv(245, 80%, 67%)
CMYKcmyk(73.3%, 80.2%, 0%, 32.5%)
CIE-LABlab(25.87, 48.62, -70.39)
CIE-LCHlch(25.87, 85.55, 304.64°)
OKLaboklab(38.24% 0.0166 -0.2036)
OKLCHoklch(38.24% 0.204 274.7)
XYZxyz(9.1427, 4.7025, 39.4476)
Luminance0.0470 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E22AC #A0AC22
analogous
#225BAC #2E22AC #7322AC
triadic
#2E22AC #AC2E22 #22AC2E
tetradic
#2E22AC #AC225B #A0AC22 #22AC73
square
#2E22AC #AC225B #A0AC22 #22AC73
split-complementary
#2E22AC #AC7322 #5BAC22
monochromatic
#130E46 #201879 #2E22AC #4234D7 #7267E1

Accessibility & contrast

On white

10.82
#2E22AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#2E22AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E22AC
10.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E22AC#FFFFFF#000000##FFFFFF
##2E22AC1.0010.821.9410.82
#FFFFFF10.821.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043B0
Deuteranopia (green-blind)
#0037AA
Tritanopia (blue-blind)
#004D67
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2e22ac;
/* rgb */ color: rgb(46, 34, 172);
/* oklch */ color: oklch(38.2% 0.204 274.7);
Tailwind
colors: {
  custom: {
    50: '#7c61c6',
    500: '#2e22ac',
    950: '#000000',
  },
}
SCSS
$custom: #2e22ac;
$custom-light: #7c61c6;
$custom-dark: #000000;
JSON
{
  "hex": "#2e22ac",
  "rgb": {
    "r": 46,
    "g": 34,
    "b": 172
  },
  "hsl": {
    "h": 245.217,
    "s": 66.99,
    "l": 40.392
  },
  "oklch": {
    "l": 0.38237,
    "c": 0.20423,
    "h": 274.7
  },
  "luminance": 0.04703
}

Semantic roles & 50–950 ramp

primary
#2E22AC
secondary
#BEC763
accent
#EA3EDB
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #2E22AC

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

Preview Lab → · Contrast checker → · Palette generator →

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