#2E2EA9#2E2EA9

#2E2EA9 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.5% C 0.189 H 273.5°. Best body text is #FFFFFF at 10.10:1 contrast (WCAG AA passes).

Color values

HEX#2E2EA9
RGBrgb(46, 46, 169)
HSLhsl(240, 57%, 42%)
HSVhsv(240, 73%, 66%)
CMYKcmyk(72.8%, 72.8%, 0%, 33.7%)
CIE-LABlab(27.84, 41.12, -65.32)
CIE-LCHlch(27.84, 77.19, 302.19°)
OKLaboklab(39.53% 0.0116 -0.1889)
OKLCHoklch(39.53% 0.189 273.5)
XYZxyz(9.2627, 5.3985, 38.0823)
Luminance0.0540 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2EA9 #A9A92E
analogous
#2E6CA9 #2E2EA9 #6C2EA9
triadic
#2E2EA9 #A92E2E #2EA92E
tetradic
#2E2EA9 #A92E6C #A9A92E #2EA96C
square
#2E2EA9 #A92E6C #A9A92E #2EA96C
split-complementary
#2E2EA9 #A96C2E #6CA92E
monochromatic
#141449 #212179 #2E2EA9 #4747CD #7777DA

Accessibility & contrast

On white

10.10
#2E2EA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#2E2EA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2EA9
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2EA9#FFFFFF#000000##FFFFFF
##2E2EA91.0010.102.0810.10
#FFFFFF10.101.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AD
Deuteranopia (green-blind)
#003CA7
Tritanopia (blue-blind)
#005168
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2e2ea9;
/* rgb */ color: rgb(46, 46, 169);
/* oklch */ color: oklch(39.5% 0.189 273.5);
Tailwind
colors: {
  custom: {
    50: '#7a68c4',
    500: '#2e2ea9',
    950: '#000000',
  },
}
SCSS
$custom: #2e2ea9;
$custom-light: #7a68c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2ea9",
  "rgb": {
    "r": 46,
    "g": 46,
    "b": 169
  },
  "hsl": {
    "h": 240,
    "s": 57.209,
    "l": 42.157
  },
  "oklch": {
    "l": 0.39531,
    "c": 0.18931,
    "h": 273.5
  },
  "luminance": 0.05399
}

Semantic roles & 50–950 ramp

primary
#2E2EA9
secondary
#C2C271
accent
#E047E0
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2E2EA9

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

Preview Lab → · Contrast checker → · Palette generator →

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