#2E3EA9#2E3EA9

#2E3EA9 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 42.2% C 0.171 H 270.5°. Best body text is #FFFFFF at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#2E3EA9
RGBrgb(46, 62, 169)
HSLhsl(232, 57%, 42%)
HSVhsv(232, 73%, 66%)
CMYKcmyk(72.8%, 63.3%, 0%, 33.7%)
CIE-LABlab(31.55, 31.13, -59.23)
CIE-LCHlch(31.55, 66.91, 297.73°)
OKLaboklab(42.23% 0.0016 -0.1711)
OKLCHoklch(42.23% 0.171 270.5)
XYZxyz(10.0083, 6.8896, 38.3308)
Luminance0.0689 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3EA9 #A9992E
analogous
#2E7CA9 #2E3EA9 #5C2EA9
triadic
#2E3EA9 #A92E3E #3EA92E
tetradic
#2E3EA9 #A92E7C #A9992E #2EA95C
square
#2E3EA9 #A92E7C #A9992E #2EA95C
split-complementary
#2E3EA9 #A95C2E #7CA92E
monochromatic
#141B49 #212C79 #2E3EA9 #4759CD #7784DA

Accessibility & contrast

On white

8.83
#2E3EA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#2E3EA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E3EA9
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3EA9#FFFFFF#000000##FFFFFF
##2E3EA91.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050AC
Deuteranopia (green-blind)
#0045A7
Tritanopia (blue-blind)
#005A6D
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2e3ea9;
/* rgb */ color: rgb(46, 62, 169);
/* oklch */ color: oklch(42.2% 0.171 270.5);
Tailwind
colors: {
  custom: {
    50: '#7873c3',
    500: '#2e3ea9',
    950: '#000000',
  },
}
SCSS
$custom: #2e3ea9;
$custom-light: #7873c3;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3ea9",
  "rgb": {
    "r": 46,
    "g": 62,
    "b": 169
  },
  "hsl": {
    "h": 232.195,
    "s": 57.209,
    "l": 42.157
  },
  "oklch": {
    "l": 0.42226,
    "c": 0.17109,
    "h": 270.5
  },
  "luminance": 0.06891
}

Semantic roles & 50–950 ramp

primary
#2E3EA9
secondary
#C2B871
accent
#CD47E0
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #2E3EA9

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

Preview Lab → · Contrast checker → · Palette generator →

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