#2E22BB#2E22BB

#2E22BB is a dark, highly saturated blue. Relative luminance 0.053; OKLCH L 39.9% C 0.222 H 273.3°. Best body text is #FFFFFF at 10.18:1 contrast (WCAG AA passes).

Color values

HEX#2E22BB
RGBrgb(46, 34, 187)
HSLhsl(245, 69%, 43%)
HSVhsv(245, 82%, 73%)
CMYKcmyk(75.4%, 81.8%, 0%, 26.7%)
CIE-LABlab(27.60, 53.21, -76.47)
CIE-LCHlch(27.60, 93.16, 304.83°)
OKLaboklab(39.94% 0.0127 -0.2212)
OKLCHoklch(39.94% 0.222 273.3)
XYZxyz(10.6654, 5.3116, 47.4672)
Luminance0.0531 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E22BB #AFBB22
analogous
#2262BB #2E22BB #7A22BB
triadic
#2E22BB #BB2E22 #22BB2E
tetradic
#2E22BB #BB2262 #AFBB22 #22BB7A
square
#2E22BB #BB2262 #AFBB22 #22BB7A
split-complementary
#2E22BB #BB7A22 #62BB22
monochromatic
#150F53 #211987 #2E22BB #4B3EDC #7B72E5

Accessibility & contrast

On white

10.18
#2E22BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#2E22BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E22BB
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E22BB#FFFFFF#000000##FFFFFF
##2E22BB1.0010.182.0610.18
#FFFFFF10.181.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048BF
Deuteranopia (green-blind)
#003AB8
Tritanopia (blue-blind)
#005370
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2e22bb;
/* rgb */ color: rgb(46, 34, 187);
/* oklch */ color: oklch(39.9% 0.222 273.3);
Tailwind
colors: {
  custom: {
    50: '#7f62d1',
    500: '#2e22bb',
    950: '#000000',
  },
}
SCSS
$custom: #2e22bb;
$custom-light: #7f62d1;
$custom-dark: #000000;
JSON
{
  "hex": "#2e22bb",
  "rgb": {
    "r": 46,
    "g": 34,
    "b": 187
  },
  "hsl": {
    "h": 244.706,
    "s": 69.231,
    "l": 43.333
  },
  "oklch": {
    "l": 0.39944,
    "c": 0.22157,
    "h": 273.3
  },
  "luminance": 0.05313
}

Semantic roles & 50–950 ramp

primary
#2E22BB
secondary
#C5CC6D
accent
#EC3CDE
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0514
muted
#7D7A83

Preview Lab

Preview with #2E22BB

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

Preview Lab → · Contrast checker → · Palette generator →

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