#2E3BAA#2E3BAA

#2E3BAA is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.8% C 0.176 H 271.2°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#2E3BAA
RGBrgb(46, 59, 170)
HSLhsl(234, 57%, 42%)
HSVhsv(234, 73%, 67%)
CMYKcmyk(72.9%, 65.3%, 0%, 33.3%)
CIE-LABlab(30.90, 33.44, -60.90)
CIE-LCHlch(30.90, 69.47, 298.77°)
OKLaboklab(41.77% 0.0037 -0.176)
OKLCHoklch(41.77% 0.176 271.2)
XYZxyz(9.9439, 6.6100, 38.7742)
Luminance0.0661 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3BAA #AA9D2E
analogous
#2E79AA #2E3BAA #5F2EAA
triadic
#2E3BAA #AA2E3B #3BAA2E
tetradic
#2E3BAA #AA2E79 #AA9D2E #2EAA5F
square
#2E3BAA #AA2E79 #AA9D2E #2EAA5F
split-complementary
#2E3BAA #AA5F2E #79AA2E
monochromatic
#141A4A #212A7A #2E3BAA #4856CD #7882DA

Accessibility & contrast

On white

9.04
#2E3BAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#2E3BAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E3BAA
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3BAA#FFFFFF#000000##FFFFFF
##2E3BAA1.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAE
Deuteranopia (green-blind)
#0043A8
Tritanopia (blue-blind)
#00586D
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2e3baa;
/* rgb */ color: rgb(46, 59, 170);
/* oklch */ color: oklch(41.8% 0.176 271.2);
Tailwind
colors: {
  custom: {
    50: '#7971c4',
    500: '#2e3baa',
    950: '#000000',
  },
}
SCSS
$custom: #2e3baa;
$custom-light: #7971c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3baa",
  "rgb": {
    "r": 46,
    "g": 59,
    "b": 170
  },
  "hsl": {
    "h": 233.71,
    "s": 57.407,
    "l": 42.353
  },
  "oklch": {
    "l": 0.41774,
    "c": 0.17603,
    "h": 271.2
  },
  "luminance": 0.06611
}

Semantic roles & 50–950 ramp

primary
#2E3BAA
secondary
#C3BA71
accent
#D147E1
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0A0713
muted
#7C7A82

Preview Lab

Preview with #2E3BAA

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

Preview Lab → · Contrast checker → · Palette generator →

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