#2E3BB0#2E3BB0

#2E3BB0 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 42.3% C 0.184 H 271.0°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#2E3BB0
RGBrgb(46, 59, 176)
HSLhsl(234, 59%, 44%)
HSVhsv(234, 74%, 69%)
CMYKcmyk(73.9%, 66.5%, 0%, 31%)
CIE-LABlab(31.45, 35.59, -63.59)
CIE-LCHlch(31.45, 72.88, 299.24°)
OKLaboklab(42.34% 0.0032 -0.1839)
OKLCHoklch(42.34% 0.184 271)
XYZxyz(10.5245, 6.8423, 41.8319)
Luminance0.0684 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3BB0 #B0A32E
analogous
#2E7CB0 #2E3BB0 #622EB0
triadic
#2E3BB0 #B02E3B #3BB02E
tetradic
#2E3BB0 #B02E7C #B0A32E #2EB062
square
#2E3BB0 #B02E7C #B0A32E #2EB062
split-complementary
#2E3BB0 #B0622E #7CB02E
monochromatic
#151A4F #212B7F #2E3BB0 #4B58D0 #7C85DD

Accessibility & contrast

On white

8.87
#2E3BB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#2E3BB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E3BB0
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3BB0#FFFFFF#000000##FFFFFF
##2E3BB01.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B4
Deuteranopia (green-blind)
#0044AE
Tritanopia (blue-blind)
#005A70
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2e3bb0;
/* rgb */ color: rgb(46, 59, 176);
/* oklch */ color: oklch(42.3% 0.184 271.0);
Tailwind
colors: {
  custom: {
    50: '#7a71c9',
    500: '#2e3bb0',
    950: '#000000',
  },
}
SCSS
$custom: #2e3bb0;
$custom-light: #7a71c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3bb0",
  "rgb": {
    "r": 46,
    "g": 59,
    "b": 176
  },
  "hsl": {
    "h": 234,
    "s": 58.559,
    "l": 43.529
  },
  "oklch": {
    "l": 0.42338,
    "c": 0.18391,
    "h": 271
  },
  "luminance": 0.06843
}

Semantic roles & 50–950 ramp

primary
#2E3BB0
secondary
#C5BD75
accent
#D246E2
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #2E3BB0

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

Preview Lab → · Contrast checker → · Palette generator →

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