#2E2AB7#2E2AB7

#2E2AB7 is a dark, highly saturated blue. Relative luminance 0.057; OKLCH L 40.5% C 0.210 H 273.0°. Best body text is #FFFFFF at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#2E2AB7
RGBrgb(46, 42, 183)
HSLhsl(242, 63%, 44%)
HSVhsv(242, 77%, 72%)
CMYKcmyk(74.9%, 77%, 0%, 28.2%)
CIE-LABlab(28.52, 47.99, -72.57)
CIE-LCHlch(28.52, 87.01, 303.48°)
OKLaboklab(40.45% 0.0109 -0.21)
OKLCHoklch(40.45% 0.21 273)
XYZxyz(10.4991, 5.6546, 45.3287)
Luminance0.0566 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2AB7 #B3B72A
analogous
#2A6DB7 #2E2AB7 #752AB7
triadic
#2E2AB7 #B72E2A #2AB72E
tetradic
#2E2AB7 #B72A6D #B3B72A #2AB775
square
#2E2AB7 #B72A6D #B3B72A #2AB775
split-complementary
#2E2AB7 #B7752A #6DB72A
monochromatic
#151353 #211F85 #2E2AB7 #4D49D5 #7E7BE1

Accessibility & contrast

On white

9.85
#2E2AB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#2E2AB7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2AB7
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2AB7#FFFFFF#000000##FFFFFF
##2E2AB71.009.852.139.85
#FFFFFF9.851.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004ABB
Deuteranopia (green-blind)
#003CB5
Tritanopia (blue-blind)
#00546F
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2e2ab7;
/* rgb */ color: rgb(46, 42, 183);
/* oklch */ color: oklch(40.5% 0.210 273.0);
Tailwind
colors: {
  custom: {
    50: '#7e66ce',
    500: '#2e2ab7',
    950: '#000000',
  },
}
SCSS
$custom: #2e2ab7;
$custom-light: #7e66ce;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2ab7",
  "rgb": {
    "r": 46,
    "g": 42,
    "b": 183
  },
  "hsl": {
    "h": 241.702,
    "s": 62.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.40454,
    "c": 0.21029,
    "h": 273
  },
  "luminance": 0.05656
}

Semantic roles & 50–950 ramp

primary
#2E2AB7
secondary
#C6C974
accent
#E642E1
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82

Preview Lab

Preview with #2E2AB7

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

Preview Lab → · Contrast checker → · Palette generator →

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