#2E3DB7#2E3DB7

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

Color values

HEX#2E3DB7
RGBrgb(46, 61, 183)
HSLhsl(233, 60%, 45%)
HSVhsv(233, 75%, 72%)
CMYKcmyk(74.9%, 66.7%, 0%, 28.2%)
CIE-LABlab(32.56, 36.84, -65.92)
CIE-LCHlch(32.56, 75.51, 299.20°)
OKLaboklab(43.35% 0.0015 -0.1907)
OKLCHoklch(43.35% 0.191 270.4)
XYZxyz(11.3398, 7.3360, 45.6089)
Luminance0.0734 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3DB7 #B7A82E
analogous
#2E81B7 #2E3DB7 #642EB7
triadic
#2E3DB7 #B72E3D #3DB72E
tetradic
#2E3DB7 #B72E81 #B7A82E #2EB764
square
#2E3DB7 #B72E81 #B7A82E #2EB764
split-complementary
#2E3DB7 #B7642E #81B72E
monochromatic
#151C55 #222D86 #2E3DB7 #4F5ED3 #808BDF

Accessibility & contrast

On white

8.51
#2E3DB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#2E3DB7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E3DB7
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3DB7#FFFFFF#000000##FFFFFF
##2E3DB71.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BB
Deuteranopia (green-blind)
#0046B5
Tritanopia (blue-blind)
#005E75
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2e3db7;
/* rgb */ color: rgb(46, 61, 183);
/* oklch */ color: oklch(43.3% 0.191 270.4);
Tailwind
colors: {
  custom: {
    50: '#7c72ce',
    500: '#2e3db7',
    950: '#000000',
  },
}
SCSS
$custom: #2e3db7;
$custom-light: #7c72ce;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3db7",
  "rgb": {
    "r": 46,
    "g": 61,
    "b": 183
  },
  "hsl": {
    "h": 233.431,
    "s": 59.825,
    "l": 44.902
  },
  "oklch": {
    "l": 0.43347,
    "c": 0.19069,
    "h": 270.4
  },
  "luminance": 0.07337
}

Semantic roles & 50–950 ramp

primary
#2E3DB7
secondary
#C8BF79
accent
#D245E3
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0814
muted
#7C7B82

Preview Lab

Preview with #2E3DB7

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

Preview Lab → · Contrast checker → · Palette generator →

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