#2E3FB6#2E3FB6

#2E3FB6 is a dark, vivid blue. Relative luminance 0.075; OKLCH L 43.6% C 0.187 H 270.1°. Best body text is #FFFFFF at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#2E3FB6
RGBrgb(46, 63, 182)
HSLhsl(233, 60%, 45%)
HSVhsv(233, 75%, 71%)
CMYKcmyk(74.7%, 65.4%, 0%, 28.6%)
CIE-LABlab(32.95, 35.21, -64.70)
CIE-LCHlch(32.95, 73.66, 298.56°)
OKLaboklab(43.6% 0.0003 -0.1871)
OKLCHoklch(43.6% 0.187 270.1)
XYZxyz(11.3448, 7.5120, 45.0990)
Luminance0.0751 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3FB6 #B6A52E
analogous
#2E83B6 #2E3FB6 #612EB6
triadic
#2E3FB6 #B62E3F #3FB62E
tetradic
#2E3FB6 #B62E83 #B6A52E #2EB661
square
#2E3FB6 #B62E83 #B6A52E #2EB661
split-complementary
#2E3FB6 #B6612E #83B62E
monochromatic
#151D54 #222E85 #2E3FB6 #4F5FD2 #808CDF

Accessibility & contrast

On white

8.39
#2E3FB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#2E3FB6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E3FB6
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3FB6#FFFFFF#000000##FFFFFF
##2E3FB61.008.392.508.39
#FFFFFF8.391.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BA
Deuteranopia (green-blind)
#0047B4
Tritanopia (blue-blind)
#005E75
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2e3fb6;
/* rgb */ color: rgb(46, 63, 182);
/* oklch */ color: oklch(43.6% 0.187 270.1);
Tailwind
colors: {
  custom: {
    50: '#7b74cd',
    500: '#2e3fb6',
    950: '#000000',
  },
}
SCSS
$custom: #2e3fb6;
$custom-light: #7b74cd;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3fb6",
  "rgb": {
    "r": 46,
    "g": 63,
    "b": 182
  },
  "hsl": {
    "h": 232.5,
    "s": 59.649,
    "l": 44.706
  },
  "oklch": {
    "l": 0.436,
    "c": 0.18709,
    "h": 270.1
  },
  "luminance": 0.07513
}

Semantic roles & 50–950 ramp

primary
#2E3FB6
secondary
#C8BE78
accent
#CF45E3
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0814
muted
#7C7B82

Preview Lab

Preview with #2E3FB6

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

Preview Lab → · Contrast checker → · Palette generator →

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