#2E3DB8#2E3DB8

#2E3DB8 is a dark, vivid blue. Relative luminance 0.074; OKLCH L 43.4% C 0.192 H 270.4°. Best body text is #FFFFFF at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#2E3DB8
RGBrgb(46, 61, 184)
HSLhsl(233, 60%, 45%)
HSVhsv(233, 75%, 72%)
CMYKcmyk(75%, 66.8%, 0%, 27.8%)
CIE-LABlab(32.65, 37.19, -66.36)
CIE-LCHlch(32.65, 76.07, 299.27°)
OKLaboklab(43.44% 0.0014 -0.192)
OKLCHoklch(43.44% 0.192 270.4)
XYZxyz(11.4442, 7.3778, 46.1590)
Luminance0.0738 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3DB8 #B8A92E
analogous
#2E82B8 #2E3DB8 #642EB8
triadic
#2E3DB8 #B82E3D #3DB82E
tetradic
#2E3DB8 #B82E82 #B8A92E #2EB864
square
#2E3DB8 #B82E82 #B8A92E #2EB864
split-complementary
#2E3DB8 #B8642E #82B82E
monochromatic
#161D56 #222D87 #2E3DB8 #505ED3 #818BDF

Accessibility & contrast

On white

8.48
#2E3DB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#2E3DB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E3DB8
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3DB8#FFFFFF#000000##FFFFFF
##2E3DB81.008.482.488.48
#FFFFFF8.481.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.481.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e3db8;
/* rgb */ color: rgb(46, 61, 184);
/* oklch */ color: oklch(43.4% 0.192 270.4);
Tailwind
colors: {
  custom: {
    50: '#7c73ce',
    500: '#2e3db8',
    950: '#000000',
  },
}
SCSS
$custom: #2e3db8;
$custom-light: #7c73ce;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3db8",
  "rgb": {
    "r": 46,
    "g": 61,
    "b": 184
  },
  "hsl": {
    "h": 233.478,
    "s": 60,
    "l": 45.098
  },
  "oklch": {
    "l": 0.43442,
    "c": 0.19198,
    "h": 270.4
  },
  "luminance": 0.07379
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E3DB8

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

Preview Lab → · Contrast checker → · Palette generator →

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