#2E3DB5#2E3DB5

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

Color values

HEX#2E3DB5
RGBrgb(46, 61, 181)
HSLhsl(233, 59%, 45%)
HSVhsv(233, 75%, 71%)
CMYKcmyk(74.6%, 66.3%, 0%, 29%)
CIE-LABlab(32.38, 36.12, -65.04)
CIE-LCHlch(32.38, 74.39, 299.05°)
OKLaboklab(43.16% 0.0016 -0.1881)
OKLCHoklch(43.16% 0.188 270.5)
XYZxyz(11.1331, 7.2533, 44.5204)
Luminance0.0726 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3DB5 #B5A62E
analogous
#2E81B5 #2E3DB5 #622EB5
triadic
#2E3DB5 #B52E3D #3DB52E
tetradic
#2E3DB5 #B52E81 #B5A62E #2EB562
square
#2E3DB5 #B52E81 #B5A62E #2EB562
split-complementary
#2E3DB5 #B5622E #81B52E
monochromatic
#151C53 #222D84 #2E3DB5 #4E5DD2 #7F8ADE

Accessibility & contrast

On white

8.57
#2E3DB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#2E3DB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E3DB5
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3DB5#FFFFFF#000000##FFFFFF
##2E3DB51.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B9
Deuteranopia (green-blind)
#0046B3
Tritanopia (blue-blind)
#005D73
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2e3db5;
/* rgb */ color: rgb(46, 61, 181);
/* oklch */ color: oklch(43.2% 0.188 270.5);
Tailwind
colors: {
  custom: {
    50: '#7b72cc',
    500: '#2e3db5',
    950: '#000000',
  },
}
SCSS
$custom: #2e3db5;
$custom-light: #7b72cc;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3db5",
  "rgb": {
    "r": 46,
    "g": 61,
    "b": 181
  },
  "hsl": {
    "h": 233.333,
    "s": 59.471,
    "l": 44.51
  },
  "oklch": {
    "l": 0.43157,
    "c": 0.18811,
    "h": 270.5
  },
  "luminance": 0.07255
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E3DB5

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

Preview Lab → · Contrast checker → · Palette generator →

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