#2E22AF#2E22AF

#2E22AF is a dark, highly saturated blue. Relative luminance 0.048; OKLCH L 38.6% C 0.208 H 274.4°. Best body text is #FFFFFF at 10.69:1 contrast (WCAG AA passes).

Color values

HEX#2E22AF
RGBrgb(46, 34, 175)
HSLhsl(245, 67%, 41%)
HSVhsv(245, 81%, 69%)
CMYKcmyk(73.7%, 80.6%, 0%, 31.4%)
CIE-LABlab(26.21, 49.55, -71.62)
CIE-LCHlch(26.21, 87.09, 304.68°)
OKLaboklab(38.57% 0.0158 -0.2071)
OKLCHoklch(38.57% 0.208 274.4)
XYZxyz(9.4340, 4.8191, 40.9821)
Luminance0.0482 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E22AF #A3AF22
analogous
#225DAF #2E22AF #7422AF
triadic
#2E22AF #AF2E22 #22AF2E
tetradic
#2E22AF #AF225D #A3AF22 #22AF74
square
#2E22AF #AF225D #A3AF22 #22AF74
split-complementary
#2E22AF #AF7422 #5DAF22
monochromatic
#130E49 #21187C #2E22AF #4436D8 #7469E2

Accessibility & contrast

On white

10.69
#2E22AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#2E22AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E22AF
10.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E22AF#FFFFFF#000000##FFFFFF
##2E22AF1.0010.691.9610.69
#FFFFFF10.691.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044B3
Deuteranopia (green-blind)
#0037AD
Tritanopia (blue-blind)
#004E69
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2e22af;
/* rgb */ color: rgb(46, 34, 175);
/* oklch */ color: oklch(38.6% 0.208 274.4);
Tailwind
colors: {
  custom: {
    50: '#7c61c8',
    500: '#2e22af',
    950: '#000000',
  },
}
SCSS
$custom: #2e22af;
$custom-light: #7c61c8;
$custom-dark: #000000;
JSON
{
  "hex": "#2e22af",
  "rgb": {
    "r": 46,
    "g": 34,
    "b": 175
  },
  "hsl": {
    "h": 245.106,
    "s": 67.464,
    "l": 40.98
  },
  "oklch": {
    "l": 0.38575,
    "c": 0.20774,
    "h": 274.4
  },
  "luminance": 0.0482
}

Semantic roles & 50–950 ramp

primary
#2E22AF
secondary
#BFC865
accent
#EA3DDC
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #2E22AF

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

Preview Lab → · Contrast checker → · Palette generator →

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