#2E3AAA#2E3AAA

#2E3AAA is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.6% C 0.177 H 271.4°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#2E3AAA
RGBrgb(46, 58, 170)
HSLhsl(234, 57%, 42%)
HSVhsv(234, 73%, 67%)
CMYKcmyk(72.9%, 65.9%, 0%, 33.3%)
CIE-LABlab(30.66, 34.08, -61.29)
CIE-LCHlch(30.66, 70.13, 299.07°)
OKLaboklab(41.6% 0.0043 -0.1772)
OKLCHoklch(41.6% 0.177 271.4)
XYZxyz(9.8930, 6.5082, 38.7573)
Luminance0.0651 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3AAA #AA9E2E
analogous
#2E78AA #2E3AAA #602EAA
triadic
#2E3AAA #AA2E3A #3AAA2E
tetradic
#2E3AAA #AA2E78 #AA9E2E #2EAA60
square
#2E3AAA #AA2E78 #AA9E2E #2EAA60
split-complementary
#2E3AAA #AA602E #78AA2E
monochromatic
#14194A #212A7A #2E3AAA #4855CD #7881DA

Accessibility & contrast

On white

9.12
#2E3AAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#2E3AAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E3AAA
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3AAA#FFFFFF#000000##FFFFFF
##2E3AAA1.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EAE
Deuteranopia (green-blind)
#0042A8
Tritanopia (blue-blind)
#00586D
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2e3aaa;
/* rgb */ color: rgb(46, 58, 170);
/* oklch */ color: oklch(41.6% 0.177 271.4);
Tailwind
colors: {
  custom: {
    50: '#7970c4',
    500: '#2e3aaa',
    950: '#000000',
  },
}
SCSS
$custom: #2e3aaa;
$custom-light: #7970c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3aaa",
  "rgb": {
    "r": 46,
    "g": 58,
    "b": 170
  },
  "hsl": {
    "h": 234.194,
    "s": 57.407,
    "l": 42.353
  },
  "oklch": {
    "l": 0.41597,
    "c": 0.17721,
    "h": 271.4
  },
  "luminance": 0.06509
}

Semantic roles & 50–950 ramp

primary
#2E3AAA
secondary
#C3BB71
accent
#D247E1
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0A0713
muted
#7C7A82

Preview Lab

Preview with #2E3AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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