#2E3DB6#2E3DB6

#2E3DB6 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 43.3% C 0.189 H 270.5°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#2E3DB6
RGBrgb(46, 61, 182)
HSLhsl(233, 60%, 45%)
HSVhsv(233, 75%, 71%)
CMYKcmyk(74.7%, 66.5%, 0%, 28.6%)
CIE-LABlab(32.47, 36.48, -65.48)
CIE-LCHlch(32.47, 74.95, 299.12°)
OKLaboklab(43.25% 0.0016 -0.1894)
OKLCHoklch(43.25% 0.189 270.5)
XYZxyz(11.2361, 7.2945, 45.0627)
Luminance0.0730 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3DB6 #B6A72E
analogous
#2E81B6 #2E3DB6 #632EB6
triadic
#2E3DB6 #B62E3D #3DB62E
tetradic
#2E3DB6 #B62E81 #B6A72E #2EB663
square
#2E3DB6 #B62E81 #B6A72E #2EB663
split-complementary
#2E3DB6 #B6632E #81B62E
monochromatic
#151C54 #222D85 #2E3DB6 #4F5DD2 #808ADF

Accessibility & contrast

On white

8.54
#2E3DB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#2E3DB6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E3DB6
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3DB6#FFFFFF#000000##FFFFFF
##2E3DB61.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BA
Deuteranopia (green-blind)
#0046B4
Tritanopia (blue-blind)
#005D74
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2e3db6;
/* rgb */ color: rgb(46, 61, 182);
/* oklch */ color: oklch(43.3% 0.189 270.5);
Tailwind
colors: {
  custom: {
    50: '#7c72cd',
    500: '#2e3db6',
    950: '#000000',
  },
}
SCSS
$custom: #2e3db6;
$custom-light: #7c72cd;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3db6",
  "rgb": {
    "r": 46,
    "g": 61,
    "b": 182
  },
  "hsl": {
    "h": 233.382,
    "s": 59.649,
    "l": 44.706
  },
  "oklch": {
    "l": 0.43252,
    "c": 0.1894,
    "h": 270.5
  },
  "luminance": 0.07296
}

Semantic roles & 50–950 ramp

primary
#2E3DB6
secondary
#C8BF78
accent
#D145E3
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0814
muted
#7C7B82

Preview Lab

Preview with #2E3DB6

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

Preview Lab → · Contrast checker → · Palette generator →

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