#2E3DAD#2E3DAD

#2E3DAD is a dark, vivid blue. Relative luminance 0.069; OKLCH L 42.4% C 0.178 H 270.7°. Best body text is #FFFFFF at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#2E3DAD
RGBrgb(46, 61, 173)
HSLhsl(233, 58%, 43%)
HSVhsv(233, 73%, 68%)
CMYKcmyk(73.4%, 64.7%, 0%, 32.2%)
CIE-LABlab(31.66, 33.24, -61.45)
CIE-LCHlch(31.66, 69.87, 298.41°)
OKLaboklab(42.41% 0.0021 -0.1776)
OKLCHoklch(42.41% 0.178 270.7)
XYZxyz(10.3357, 6.9344, 40.3208)
Luminance0.0693 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3DAD #AD9E2E
analogous
#2E7DAD #2E3DAD #5E2EAD
triadic
#2E3DAD #AD2E3D #3DAD2E
tetradic
#2E3DAD #AD2E7D #AD9E2E #2EAD5E
square
#2E3DAD #AD2E7D #AD9E2E #2EAD5E
split-complementary
#2E3DAD #AD5E2E #7DAD2E
monochromatic
#141B4C #212C7D #2E3DAD #4959CF #7A85DC

Accessibility & contrast

On white

8.80
#2E3DAD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#2E3DAD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E3DAD
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3DAD#FFFFFF#000000##FFFFFF
##2E3DAD1.008.802.398.80
#FFFFFF8.801.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B1
Deuteranopia (green-blind)
#0045AB
Tritanopia (blue-blind)
#005A6F
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2e3dad;
/* rgb */ color: rgb(46, 61, 173);
/* oklch */ color: oklch(42.4% 0.178 270.7);
Tailwind
colors: {
  custom: {
    50: '#7972c6',
    500: '#2e3dad',
    950: '#000000',
  },
}
SCSS
$custom: #2e3dad;
$custom-light: #7972c6;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3dad",
  "rgb": {
    "r": 46,
    "g": 61,
    "b": 173
  },
  "hsl": {
    "h": 232.913,
    "s": 57.991,
    "l": 42.941
  },
  "oklch": {
    "l": 0.4241,
    "c": 0.17762,
    "h": 270.7
  },
  "luminance": 0.06935
}

Semantic roles & 50–950 ramp

primary
#2E3DAD
secondary
#C4BA73
accent
#CF47E1
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #2E3DAD

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

Preview Lab → · Contrast checker → · Palette generator →

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