#2E2EB5#2E2EB5

#2E2EB5 is a dark, highly saturated blue. Relative luminance 0.059; OKLCH L 40.8% C 0.204 H 272.7°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#2E2EB5
RGBrgb(46, 46, 181)
HSLhsl(240, 59%, 45%)
HSVhsv(240, 75%, 71%)
CMYKcmyk(74.6%, 74.6%, 0%, 29%)
CIE-LABlab(29.08, 45.15, -70.46)
CIE-LCHlch(29.08, 83.68, 302.65°)
OKLaboklab(40.78% 0.0096 -0.2039)
OKLCHoklch(40.78% 0.204 272.7)
XYZxyz(10.4414, 5.8699, 44.2898)
Luminance0.0587 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2EB5 #B5B52E
analogous
#2E72B5 #2E2EB5 #722EB5
triadic
#2E2EB5 #B52E2E #2EB52E
tetradic
#2E2EB5 #B52E72 #B5B52E #2EB572
square
#2E2EB5 #B52E72 #B5B52E #2EB572
split-complementary
#2E2EB5 #B5722E #72B52E
monochromatic
#151553 #222284 #2E2EB5 #4E4ED2 #7F7FDE

Accessibility & contrast

On white

9.66
#2E2EB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#2E2EB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2EB5
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2EB5#FFFFFF#000000##FFFFFF
##2E2EB51.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB9
Deuteranopia (green-blind)
#003EB3
Tritanopia (blue-blind)
#00556F
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2e2eb5;
/* rgb */ color: rgb(46, 46, 181);
/* oklch */ color: oklch(40.8% 0.204 272.7);
Tailwind
colors: {
  custom: {
    50: '#7d68cc',
    500: '#2e2eb5',
    950: '#000000',
  },
}
SCSS
$custom: #2e2eb5;
$custom-light: #7d68cc;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2eb5",
  "rgb": {
    "r": 46,
    "g": 46,
    "b": 181
  },
  "hsl": {
    "h": 240,
    "s": 59.471,
    "l": 44.51
  },
  "oklch": {
    "l": 0.40785,
    "c": 0.20412,
    "h": 272.7
  },
  "luminance": 0.05871
}

Semantic roles & 50–950 ramp

primary
#2E2EB5
secondary
#C7C778
accent
#E345E3
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0614
muted
#7C7A82

Preview Lab

Preview with #2E2EB5

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

Preview Lab → · Contrast checker → · Palette generator →

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