#2E3AA9#2E3AA9

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

Color values

HEX#2E3AA9
RGBrgb(46, 58, 169)
HSLhsl(234, 57%, 42%)
HSVhsv(234, 73%, 66%)
CMYKcmyk(72.8%, 65.7%, 0%, 33.7%)
CIE-LABlab(30.57, 33.72, -60.84)
CIE-LCHlch(30.57, 69.56, 298.99°)
OKLaboklab(41.5% 0.0044 -0.1758)
OKLCHoklch(41.5% 0.176 271.4)
XYZxyz(9.7988, 6.4705, 38.2610)
Luminance0.0647 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3AA9 #A99D2E
analogous
#2E78A9 #2E3AA9 #5F2EA9
triadic
#2E3AA9 #A92E3A #3AA92E
tetradic
#2E3AA9 #A92E78 #A99D2E #2EA95F
square
#2E3AA9 #A92E78 #A99D2E #2EA95F
split-complementary
#2E3AA9 #A95F2E #78A92E
monochromatic
#141949 #212979 #2E3AA9 #4754CD #7781DA

Accessibility & contrast

On white

9.15
#2E3AA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#2E3AA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E3AA9
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3AA9#FFFFFF#000000##FFFFFF
##2E3AA91.009.152.299.15
#FFFFFF9.151.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EAD
Deuteranopia (green-blind)
#0042A7
Tritanopia (blue-blind)
#00576C
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2e3aa9;
/* rgb */ color: rgb(46, 58, 169);
/* oklch */ color: oklch(41.5% 0.176 271.4);
Tailwind
colors: {
  custom: {
    50: '#7970c4',
    500: '#2e3aa9',
    950: '#000000',
  },
}
SCSS
$custom: #2e3aa9;
$custom-light: #7970c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3aa9",
  "rgb": {
    "r": 46,
    "g": 58,
    "b": 169
  },
  "hsl": {
    "h": 234.146,
    "s": 57.209,
    "l": 42.157
  },
  "oklch": {
    "l": 0.41504,
    "c": 0.17589,
    "h": 271.4
  },
  "luminance": 0.06472
}

Semantic roles & 50–950 ramp

primary
#2E3AA9
secondary
#C2BA71
accent
#D247E0
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0A0713
muted
#7C7A82

Preview Lab

Preview with #2E3AA9

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

Preview Lab → · Contrast checker → · Palette generator →

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