#2E2EB6#2E2EB6

#2E2EB6 is a dark, highly saturated blue. Relative luminance 0.059; OKLCH L 40.9% C 0.205 H 272.6°. Best body text is #FFFFFF at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#2E2EB6
RGBrgb(46, 46, 182)
HSLhsl(240, 60%, 45%)
HSVhsv(240, 75%, 71%)
CMYKcmyk(74.7%, 74.7%, 0%, 28.6%)
CIE-LABlab(29.19, 45.48, -70.88)
CIE-LCHlch(29.19, 84.22, 302.69°)
OKLaboklab(40.89% 0.0094 -0.2051)
OKLCHoklch(40.89% 0.205 272.6)
XYZxyz(10.5444, 5.9111, 44.8322)
Luminance0.0591 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2EB6 #B6B62E
analogous
#2E72B6 #2E2EB6 #722EB6
triadic
#2E2EB6 #B62E2E #2EB62E
tetradic
#2E2EB6 #B62E72 #B6B62E #2EB672
square
#2E2EB6 #B62E72 #B6B62E #2EB672
split-complementary
#2E2EB6 #B6722E #72B62E
monochromatic
#151554 #222285 #2E2EB6 #4F4FD2 #8080DF

Accessibility & contrast

On white

9.62
#2E2EB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#2E2EB6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2EB6
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2EB6#FFFFFF#000000##FFFFFF
##2E2EB61.009.622.189.62
#FFFFFF9.621.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BBA
Deuteranopia (green-blind)
#003EB4
Tritanopia (blue-blind)
#005670
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2e2eb6;
/* rgb */ color: rgb(46, 46, 182);
/* oklch */ color: oklch(40.9% 0.205 272.6);
Tailwind
colors: {
  custom: {
    50: '#7d69cd',
    500: '#2e2eb6',
    950: '#000000',
  },
}
SCSS
$custom: #2e2eb6;
$custom-light: #7d69cd;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2eb6",
  "rgb": {
    "r": 46,
    "g": 46,
    "b": 182
  },
  "hsl": {
    "h": 240,
    "s": 59.649,
    "l": 44.706
  },
  "oklch": {
    "l": 0.4089,
    "c": 0.20534,
    "h": 272.6
  },
  "luminance": 0.05912
}

Semantic roles & 50–950 ramp

primary
#2E2EB6
secondary
#C8C878
accent
#E345E3
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0B0614
muted
#7C7A82

Preview Lab

Preview with #2E2EB6

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

Preview Lab → · Contrast checker → · Palette generator →

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