#2E22B3#2E22B3

#2E22B3 is a dark, highly saturated blue. Relative luminance 0.050; OKLCH L 39.0% C 0.212 H 274.0°. Best body text is #FFFFFF at 10.52:1 contrast (WCAG AA passes).

Color values

HEX#2E22B3
RGBrgb(46, 34, 179)
HSLhsl(245, 68%, 42%)
HSVhsv(245, 81%, 70%)
CMYKcmyk(74.3%, 81%, 0%, 29.8%)
CIE-LABlab(26.67, 50.78, -73.25)
CIE-LCHlch(26.67, 89.13, 304.73°)
OKLaboklab(39.03% 0.0148 -0.2119)
OKLCHoklch(39.03% 0.212 274)
XYZxyz(9.8327, 4.9786, 43.0818)
Luminance0.0498 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E22B3 #A7B322
analogous
#225EB3 #2E22B3 #7722B3
triadic
#2E22B3 #B32E22 #22B32E
tetradic
#2E22B3 #B3225E #A7B322 #22B377
square
#2E22B3 #B3225E #A7B322 #22B377
split-complementary
#2E22B3 #B37722 #5EB322
monochromatic
#140E4C #211880 #2E22B3 #4639D9 #766CE3

Accessibility & contrast

On white

10.52
#2E22B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#2E22B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E22B3
10.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E22B3#FFFFFF#000000##FFFFFF
##2E22B31.0010.522.0010.52
#FFFFFF10.521.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046B7
Deuteranopia (green-blind)
#0038B1
Tritanopia (blue-blind)
#00506B
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2e22b3;
/* rgb */ color: rgb(46, 34, 179);
/* oklch */ color: oklch(39.0% 0.212 274.0);
Tailwind
colors: {
  custom: {
    50: '#7d61cb',
    500: '#2e22b3',
    950: '#000000',
  },
}
SCSS
$custom: #2e22b3;
$custom-light: #7d61cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2e22b3",
  "rgb": {
    "r": 46,
    "g": 34,
    "b": 179
  },
  "hsl": {
    "h": 244.966,
    "s": 68.075,
    "l": 41.765
  },
  "oklch": {
    "l": 0.39029,
    "c": 0.21238,
    "h": 274
  },
  "luminance": 0.0498
}

Semantic roles & 50–950 ramp

primary
#2E22B3
secondary
#C1C968
accent
#EB3DDD
background
#F8F5FC
surface
#F0EAF9
border
#CBC6D2
text
#0C0513
muted
#7D7982

Preview Lab

Preview with #2E22B3

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

Preview Lab → · Contrast checker → · Palette generator →

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