#2E3EA1#2E3EA1

#2E3EA1 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.5% C 0.160 H 270.7°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#2E3EA1
RGBrgb(46, 62, 161)
HSLhsl(232, 56%, 41%)
HSVhsv(232, 71%, 63%)
CMYKcmyk(71.4%, 61.5%, 0%, 36.9%)
CIE-LABlab(30.87, 28.19, -55.52)
CIE-LCHlch(30.87, 62.27, 296.92°)
OKLaboklab(41.51% 0.0019 -0.1602)
OKLCHoklch(41.51% 0.16 270.7)
XYZxyz(9.2802, 6.5984, 34.4958)
Luminance0.0660 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3EA1 #A1912E
analogous
#2E77A1 #2E3EA1 #572EA1
triadic
#2E3EA1 #A12E3E #3EA12E
tetradic
#2E3EA1 #A12E77 #A1912E #2EA157
square
#2E3EA1 #A12E77 #A1912E #2EA157
split-complementary
#2E3EA1 #A1572E #77A12E
monochromatic
#131942 #202C71 #2E3EA1 #4356C9 #7380D7

Accessibility & contrast

On white

9.05
#2E3EA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E3EA1
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3EA1#FFFFFF#000000##FFFFFF
##2E3EA11.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA4
Deuteranopia (green-blind)
#00439F
Tritanopia (blue-blind)
#005769
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2e3ea1;
/* rgb */ color: rgb(46, 62, 161);
/* oklch */ color: oklch(41.5% 0.160 270.7);
Tailwind
colors: {
  custom: {
    50: '#7773be',
    500: '#2e3ea1',
    950: '#000000',
  },
}
SCSS
$custom: #2e3ea1;
$custom-light: #7773be;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3ea1",
  "rgb": {
    "r": 46,
    "g": 62,
    "b": 161
  },
  "hsl": {
    "h": 231.652,
    "s": 55.556,
    "l": 40.588
  },
  "oklch": {
    "l": 0.41513,
    "c": 0.16023,
    "h": 270.7
  },
  "luminance": 0.06599
}

Semantic roles & 50–950 ramp

primary
#2E3EA1
secondary
#BEB36C
accent
#CA49DF
background
#F7F6FB
surface
#EEECF7
border
#C9C7D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #2E3EA1

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

Preview Lab → · Contrast checker → · Palette generator →

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