#2E3EA6#2E3EA6

#2E3EA6 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 42.0% C 0.167 H 270.6°. Best body text is #FFFFFF at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#2E3EA6
RGBrgb(46, 62, 166)
HSLhsl(232, 57%, 42%)
HSVhsv(232, 72%, 65%)
CMYKcmyk(72.3%, 62.7%, 0%, 34.9%)
CIE-LABlab(31.30, 30.03, -57.85)
CIE-LCHlch(31.30, 65.18, 297.44°)
OKLaboklab(41.96% 0.0018 -0.167)
OKLCHoklch(41.96% 0.167 270.6)
XYZxyz(9.7299, 6.7783, 36.8646)
Luminance0.0678 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3EA6 #A6962E
analogous
#2E7AA6 #2E3EA6 #5A2EA6
triadic
#2E3EA6 #A62E3E #3EA62E
tetradic
#2E3EA6 #A62E7A #A6962E #2EA65A
square
#2E3EA6 #A62E7A #A6962E #2EA65A
split-complementary
#2E3EA6 #A65A2E #7AA62E
monochromatic
#131A46 #212C76 #2E3EA6 #4657CC #7683D9

Accessibility & contrast

On white

8.91
#2E3EA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#2E3EA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E3EA6
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3EA6#FFFFFF#000000##FFFFFF
##2E3EA61.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA9
Deuteranopia (green-blind)
#0044A4
Tritanopia (blue-blind)
#00596C
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2e3ea6;
/* rgb */ color: rgb(46, 62, 166);
/* oklch */ color: oklch(42.0% 0.167 270.6);
Tailwind
colors: {
  custom: {
    50: '#7873c1',
    500: '#2e3ea6',
    950: '#000000',
  },
}
SCSS
$custom: #2e3ea6;
$custom-light: #7873c1;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3ea6",
  "rgb": {
    "r": 46,
    "g": 62,
    "b": 166
  },
  "hsl": {
    "h": 232,
    "s": 56.604,
    "l": 41.569
  },
  "oklch": {
    "l": 0.41957,
    "c": 0.16705,
    "h": 270.6
  },
  "luminance": 0.06779
}

Semantic roles & 50–950 ramp

primary
#2E3EA6
secondary
#C1B66F
accent
#CC48E0
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #2E3EA6

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

Preview Lab → · Contrast checker → · Palette generator →

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