#2E2AB3#2E2AB3

#2E2AB3 is a dark, highly saturated blue. Relative luminance 0.055; OKLCH L 40.0% C 0.206 H 273.3°. Best body text is #FFFFFF at 10.01:1 contrast (WCAG AA passes).

Color values

HEX#2E2AB3
RGBrgb(46, 42, 179)
HSLhsl(242, 62%, 43%)
HSVhsv(242, 77%, 70%)
CMYKcmyk(74.3%, 76.5%, 0%, 29.8%)
CIE-LABlab(28.09, 46.70, -70.91)
CIE-LCHlch(28.09, 84.91, 303.37°)
OKLaboklab(40.02% 0.0117 -0.2052)
OKLCHoklch(40.02% 0.206 273.3)
XYZxyz(10.0886, 5.4904, 43.1671)
Luminance0.0549 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2AB3 #AFB32A
analogous
#2A6AB3 #2E2AB3 #722AB3
triadic
#2E2AB3 #B32E2A #2AB32E
tetradic
#2E2AB3 #B32A6A #AFB32A #2AB372
square
#2E2AB3 #B32A6A #AFB32A #2AB372
split-complementary
#2E2AB3 #B3722A #6AB32A
monochromatic
#151350 #211E81 #2E2AB3 #4B46D4 #7B78DF

Accessibility & contrast

On white

10.01
#2E2AB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#2E2AB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2AB3
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2AB3#FFFFFF#000000##FFFFFF
##2E2AB31.0010.012.1010.01
#FFFFFF10.011.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B7
Deuteranopia (green-blind)
#003CB1
Tritanopia (blue-blind)
#00536D
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2e2ab3;
/* rgb */ color: rgb(46, 42, 179);
/* oklch */ color: oklch(40.0% 0.206 273.3);
Tailwind
colors: {
  custom: {
    50: '#7d66cb',
    500: '#2e2ab3',
    950: '#000000',
  },
}
SCSS
$custom: #2e2ab3;
$custom-light: #7d66cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2ab3",
  "rgb": {
    "r": 46,
    "g": 42,
    "b": 179
  },
  "hsl": {
    "h": 241.752,
    "s": 61.991,
    "l": 43.333
  },
  "oklch": {
    "l": 0.40019,
    "c": 0.20551,
    "h": 273.3
  },
  "luminance": 0.05491
}

Semantic roles & 50–950 ramp

primary
#2E2AB3
secondary
#C5C772
accent
#E543E0
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2E2AB3

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

Preview Lab → · Contrast checker → · Palette generator →

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