#2E22B0#2E22B0

#2E22B0 is a dark, highly saturated blue. Relative luminance 0.049; OKLCH L 38.7% C 0.209 H 274.3°. Best body text is #FFFFFF at 10.65:1 contrast (WCAG AA passes).

Color values

HEX#2E22B0
RGBrgb(46, 34, 176)
HSLhsl(245, 68%, 41%)
HSVhsv(245, 81%, 69%)
CMYKcmyk(73.9%, 80.7%, 0%, 31%)
CIE-LABlab(26.33, 49.86, -72.03)
CIE-LCHlch(26.33, 87.60, 304.69°)
OKLaboklab(38.69% 0.0156 -0.2083)
OKLCHoklch(38.69% 0.209 274.3)
XYZxyz(9.5326, 4.8585, 41.5013)
Luminance0.0486 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E22B0 #A4B022
analogous
#225DB0 #2E22B0 #7522B0
triadic
#2E22B0 #B02E22 #22B02E
tetradic
#2E22B0 #B0225D #A4B022 #22B075
square
#2E22B0 #B0225D #A4B022 #22B075
split-complementary
#2E22B0 #B07522 #5DB022
monochromatic
#130E49 #21187D #2E22B0 #4537D8 #746AE2

Accessibility & contrast

On white

10.65
#2E22B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#2E22B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E22B0
10.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E22B0#FFFFFF#000000##FFFFFF
##2E22B01.0010.651.9710.65
#FFFFFF10.651.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045B4
Deuteranopia (green-blind)
#0038AE
Tritanopia (blue-blind)
#004E6A
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2e22b0;
/* rgb */ color: rgb(46, 34, 176);
/* oklch */ color: oklch(38.7% 0.209 274.3);
Tailwind
colors: {
  custom: {
    50: '#7d61c9',
    500: '#2e22b0',
    950: '#000000',
  },
}
SCSS
$custom: #2e22b0;
$custom-light: #7d61c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2e22b0",
  "rgb": {
    "r": 46,
    "g": 34,
    "b": 176
  },
  "hsl": {
    "h": 245.07,
    "s": 67.619,
    "l": 41.176
  },
  "oklch": {
    "l": 0.38689,
    "c": 0.20891,
    "h": 274.3
  },
  "luminance": 0.04859
}

Semantic roles & 50–950 ramp

primary
#2E22B0
secondary
#C0C866
accent
#EA3DDC
background
#F8F5FC
surface
#F0EAF8
border
#CBC6D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #2E22B0

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

Preview Lab → · Contrast checker → · Palette generator →

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