#2E3EA3#2E3EA3

#2E3EA3 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.7% C 0.163 H 270.6°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#2E3EA3
RGBrgb(46, 62, 163)
HSLhsl(232, 56%, 41%)
HSVhsv(232, 72%, 64%)
CMYKcmyk(71.8%, 62%, 0%, 36.1%)
CIE-LABlab(31.04, 28.93, -56.46)
CIE-LCHlch(31.04, 63.44, 297.13°)
OKLaboklab(41.69% 0.0018 -0.163)
OKLCHoklch(41.69% 0.163 270.6)
XYZxyz(9.4579, 6.6695, 35.4321)
Luminance0.0667 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3EA3 #A3932E
analogous
#2E78A3 #2E3EA3 #582EA3
triadic
#2E3EA3 #A32E3E #3EA32E
tetradic
#2E3EA3 #A32E78 #A3932E #2EA358
square
#2E3EA3 #A32E78 #A3932E #2EA358
split-complementary
#2E3EA3 #A3582E #78A32E
monochromatic
#131A44 #212C73 #2E3EA3 #4456CA #7481D8

Accessibility & contrast

On white

9.00
#2E3EA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#2E3EA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E3EA3
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3EA3#FFFFFF#000000##FFFFFF
##2E3EA31.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA6
Deuteranopia (green-blind)
#0044A1
Tritanopia (blue-blind)
#00586A
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2e3ea3;
/* rgb */ color: rgb(46, 62, 163);
/* oklch */ color: oklch(41.7% 0.163 270.6);
Tailwind
colors: {
  custom: {
    50: '#7773bf',
    500: '#2e3ea3',
    950: '#000000',
  },
}
SCSS
$custom: #2e3ea3;
$custom-light: #7773bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3ea3",
  "rgb": {
    "r": 46,
    "g": 62,
    "b": 163
  },
  "hsl": {
    "h": 231.795,
    "s": 55.981,
    "l": 40.98
  },
  "oklch": {
    "l": 0.4169,
    "c": 0.16297,
    "h": 270.6
  },
  "luminance": 0.0667
}

Semantic roles & 50–950 ramp

primary
#2E3EA3
secondary
#BFB46D
accent
#CB49DF
background
#F7F6FB
surface
#EEECF7
border
#C9C7D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #2E3EA3

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

Preview Lab → · Contrast checker → · Palette generator →

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