#2E3EB8#2E3EB8

#2E3EB8 is a dark, vivid blue. Relative luminance 0.075; OKLCH L 43.6% C 0.191 H 270.2°. Best body text is #FFFFFF at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#2E3EB8
RGBrgb(46, 62, 184)
HSLhsl(233, 60%, 45%)
HSVhsv(233, 75%, 72%)
CMYKcmyk(75%, 66.3%, 0%, 27.8%)
CIE-LABlab(32.89, 36.56, -65.97)
CIE-LCHlch(32.89, 75.43, 299.00°)
OKLaboklab(43.61% 0.0008 -0.1908)
OKLCHoklch(43.61% 0.191 270.2)
XYZxyz(11.4981, 7.4856, 46.1770)
Luminance0.0749 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3EB8 #B8A82E
analogous
#2E83B8 #2E3EB8 #632EB8
triadic
#2E3EB8 #B82E3E #3EB82E
tetradic
#2E3EB8 #B82E83 #B8A82E #2EB863
square
#2E3EB8 #B82E83 #B8A82E #2EB863
split-complementary
#2E3EB8 #B8632E #83B82E
monochromatic
#161D56 #222E87 #2E3EB8 #505FD3 #818CDF

Accessibility & contrast

On white

8.41
#2E3EB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#2E3EB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E3EB8
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3EB8#FFFFFF#000000##FFFFFF
##2E3EB81.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BC
Deuteranopia (green-blind)
#0047B6
Tritanopia (blue-blind)
#005F75
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2e3eb8;
/* rgb */ color: rgb(46, 62, 184);
/* oklch */ color: oklch(43.6% 0.191 270.2);
Tailwind
colors: {
  custom: {
    50: '#7c73ce',
    500: '#2e3eb8',
    950: '#000000',
  },
}
SCSS
$custom: #2e3eb8;
$custom-light: #7c73ce;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3eb8",
  "rgb": {
    "r": 46,
    "g": 62,
    "b": 184
  },
  "hsl": {
    "h": 233.043,
    "s": 60,
    "l": 45.098
  },
  "oklch": {
    "l": 0.43614,
    "c": 0.19083,
    "h": 270.2
  },
  "luminance": 0.07487
}

Semantic roles & 50–950 ramp

primary
#2E3EB8
secondary
#C8BF79
accent
#D145E3
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0814
muted
#7C7B82

Preview Lab

Preview with #2E3EB8

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

Preview Lab → · Contrast checker → · Palette generator →

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