#2E3DB4#2E3DB4

#2E3DB4 is a dark, vivid blue. Relative luminance 0.072; OKLCH L 43.1% C 0.187 H 270.5°. Best body text is #FFFFFF at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#2E3DB4
RGBrgb(46, 61, 180)
HSLhsl(233, 59%, 44%)
HSVhsv(233, 74%, 71%)
CMYKcmyk(74.4%, 66.1%, 0%, 29.4%)
CIE-LABlab(32.29, 35.76, -64.59)
CIE-LCHlch(32.29, 73.83, 298.97°)
OKLaboklab(43.06% 0.0017 -0.1868)
OKLCHoklch(43.06% 0.187 270.5)
XYZxyz(11.0309, 7.2125, 43.9820)
Luminance0.0721 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3DB4 #B4A52E
analogous
#2E80B4 #2E3DB4 #622EB4
triadic
#2E3DB4 #B42E3D #3DB42E
tetradic
#2E3DB4 #B42E80 #B4A52E #2EB462
square
#2E3DB4 #B42E80 #B4A52E #2EB462
split-complementary
#2E3DB4 #B4622E #80B42E
monochromatic
#151C53 #222C83 #2E3DB4 #4E5CD2 #7E89DE

Accessibility & contrast

On white

8.60
#2E3DB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#2E3DB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E3DB4
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3DB4#FFFFFF#000000##FFFFFF
##2E3DB41.008.602.448.60
#FFFFFF8.601.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B8
Deuteranopia (green-blind)
#0046B2
Tritanopia (blue-blind)
#005D73
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2e3db4;
/* rgb */ color: rgb(46, 61, 180);
/* oklch */ color: oklch(43.1% 0.187 270.5);
Tailwind
colors: {
  custom: {
    50: '#7b72cc',
    500: '#2e3db4',
    950: '#000000',
  },
}
SCSS
$custom: #2e3db4;
$custom-light: #7b72cc;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3db4",
  "rgb": {
    "r": 46,
    "g": 61,
    "b": 180
  },
  "hsl": {
    "h": 233.284,
    "s": 59.292,
    "l": 44.314
  },
  "oklch": {
    "l": 0.43063,
    "c": 0.18681,
    "h": 270.5
  },
  "luminance": 0.07214
}

Semantic roles & 50–950 ramp

primary
#2E3DB4
secondary
#C7BE77
accent
#D145E2
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #2E3DB4

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

Preview Lab → · Contrast checker → · Palette generator →

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