#2E2AB2#2E2AB2

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

Color values

HEX#2E2AB2
RGBrgb(46, 42, 178)
HSLhsl(242, 62%, 43%)
HSVhsv(242, 76%, 70%)
CMYKcmyk(74.2%, 76.4%, 0%, 30.2%)
CIE-LABlab(27.98, 46.38, -70.49)
CIE-LCHlch(27.98, 84.38, 303.34°)
OKLaboklab(39.91% 0.0119 -0.204)
OKLCHoklch(39.91% 0.204 273.3)
XYZxyz(9.9879, 5.4501, 42.6364)
Luminance0.0545 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2AB2 #AEB22A
analogous
#2A6AB2 #2E2AB2 #722AB2
triadic
#2E2AB2 #B22E2A #2AB22E
tetradic
#2E2AB2 #B22A6A #AEB22A #2AB272
square
#2E2AB2 #B22A6A #AEB22A #2AB272
split-complementary
#2E2AB2 #B2722A #6AB22A
monochromatic
#14134F #211E80 #2E2AB2 #4A46D3 #7A77DF

Accessibility & contrast

On white

10.05
#2E2AB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#2E2AB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2AB2
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2AB2#FFFFFF#000000##FFFFFF
##2E2AB21.0010.052.0910.05
#FFFFFF10.051.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B6
Deuteranopia (green-blind)
#003BB0
Tritanopia (blue-blind)
#00526C
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2e2ab2;
/* rgb */ color: rgb(46, 42, 178);
/* oklch */ color: oklch(39.9% 0.204 273.3);
Tailwind
colors: {
  custom: {
    50: '#7c66ca',
    500: '#2e2ab2',
    950: '#000000',
  },
}
SCSS
$custom: #2e2ab2;
$custom-light: #7c66ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2ab2",
  "rgb": {
    "r": 46,
    "g": 42,
    "b": 178
  },
  "hsl": {
    "h": 241.765,
    "s": 61.818,
    "l": 43.137
  },
  "oklch": {
    "l": 0.39911,
    "c": 0.20431,
    "h": 273.3
  },
  "luminance": 0.05451
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E2AB2

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

Preview Lab → · Contrast checker → · Palette generator →

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