#2E2EA6#2E2EA6

#2E2EA6 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.2% C 0.186 H 273.7°. Best body text is #FFFFFF at 10.21:1 contrast (WCAG AA passes).

Color values

HEX#2E2EA6
RGBrgb(46, 46, 166)
HSLhsl(240, 57%, 42%)
HSVhsv(240, 72%, 65%)
CMYKcmyk(72.3%, 72.3%, 0%, 34.9%)
CIE-LABlab(27.54, 40.10, -64.02)
CIE-LCHlch(27.54, 75.54, 302.06°)
OKLaboklab(39.22% 0.0121 -0.1851)
OKLCHoklch(39.22% 0.186 273.7)
XYZxyz(8.9843, 5.2871, 36.6160)
Luminance0.0529 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2EA6 #A6A62E
analogous
#2E6AA6 #2E2EA6 #6A2EA6
triadic
#2E2EA6 #A62E2E #2EA62E
tetradic
#2E2EA6 #A62E6A #A6A62E #2EA66A
square
#2E2EA6 #A62E6A #A6A62E #2EA66A
split-complementary
#2E2EA6 #A66A2E #6AA62E
monochromatic
#131346 #212176 #2E2EA6 #4646CC #7676D9

Accessibility & contrast

On white

10.21
#2E2EA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#2E2EA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2EA6
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2EA6#FFFFFF#000000##FFFFFF
##2E2EA61.0010.212.0610.21
#FFFFFF10.211.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047AA
Deuteranopia (green-blind)
#003BA4
Tritanopia (blue-blind)
#005067
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2e2ea6;
/* rgb */ color: rgb(46, 46, 166);
/* oklch */ color: oklch(39.2% 0.186 273.7);
Tailwind
colors: {
  custom: {
    50: '#7968c2',
    500: '#2e2ea6',
    950: '#000000',
  },
}
SCSS
$custom: #2e2ea6;
$custom-light: #7968c2;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2ea6",
  "rgb": {
    "r": 46,
    "g": 46,
    "b": 166
  },
  "hsl": {
    "h": 240,
    "s": 56.604,
    "l": 41.569
  },
  "oklch": {
    "l": 0.39223,
    "c": 0.18553,
    "h": 273.7
  },
  "luminance": 0.05288
}

Semantic roles & 50–950 ramp

primary
#2E2EA6
secondary
#C1C16F
accent
#E048E0
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #2E2EA6

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

Preview Lab → · Contrast checker → · Palette generator →

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