#2E22A3#2E22A3

#2E22A3 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 37.2% C 0.194 H 275.6°. Best body text is #FFFFFF at 11.21:1 contrast (WCAG AA passes).

Color values

HEX#2E22A3
RGBrgb(46, 34, 163)
HSLhsl(246, 65%, 39%)
HSVhsv(246, 79%, 64%)
CMYKcmyk(71.8%, 79.1%, 0%, 36.1%)
CIE-LABlab(24.85, 45.80, -66.63)
CIE-LCHlch(24.85, 80.85, 304.50°)
OKLaboklab(37.23% 0.0189 -0.1926)
OKLCHoklch(37.23% 0.194 275.6)
XYZxyz(8.3074, 4.3684, 35.0486)
Luminance0.0437 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E22A3 #97A322
analogous
#2256A3 #2E22A3 #6E22A3
triadic
#2E22A3 #A32E22 #22A32E
tetradic
#2E22A3 #A32256 #97A322 #22A36E
square
#2E22A3 #A32256 #97A322 #22A36E
split-complementary
#2E22A3 #A36E22 #56A322
monochromatic
#110D3E #201770 #2E22A3 #3E2FD4 #6D61DE

Accessibility & contrast

On white

11.21
#2E22A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#2E22A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E22A3
11.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E22A3#FFFFFF#000000##FFFFFF
##2E22A31.0011.211.8711.21
#FFFFFF11.211.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040A7
Deuteranopia (green-blind)
#0035A1
Tritanopia (blue-blind)
#004962
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2e22a3;
/* rgb */ color: rgb(46, 34, 163);
/* oklch */ color: oklch(37.2% 0.194 275.6);
Tailwind
colors: {
  custom: {
    50: '#7a60c0',
    500: '#2e22a3',
    950: '#000000',
  },
}
SCSS
$custom: #2e22a3;
$custom-light: #7a60c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2e22a3",
  "rgb": {
    "r": 46,
    "g": 34,
    "b": 163
  },
  "hsl": {
    "h": 245.581,
    "s": 65.482,
    "l": 38.627
  },
  "oklch": {
    "l": 0.3723,
    "c": 0.19356,
    "h": 275.6
  },
  "luminance": 0.04369
}

Semantic roles & 50–950 ramp

primary
#2E22A3
secondary
#BAC35E
accent
#E83FD9
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #2E22A3

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

Preview Lab → · Contrast checker → · Palette generator →

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