#2E3BC7#2E3BC7

#2E3BC7 is a dark, highly saturated blue. Relative luminance 0.078; OKLCH L 44.6% C 0.213 H 270.3°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#2E3BC7
RGBrgb(46, 59, 199)
HSLhsl(235, 62%, 48%)
HSVhsv(235, 77%, 78%)
CMYKcmyk(76.9%, 70.4%, 0%, 22%)
CIE-LABlab(33.63, 43.67, -73.57)
CIE-LCHlch(33.63, 85.56, 300.70°)
OKLaboklab(44.58% 0.0009 -0.213)
OKLCHoklch(44.58% 0.213 270.3)
XYZxyz(12.9960, 7.8309, 54.8483)
Luminance0.0783 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3BC7 #C7BA2E
analogous
#2E87C7 #2E3BC7 #6D2EC7
triadic
#2E3BC7 #C72E3B #3BC72E
tetradic
#2E3BC7 #C72E87 #C7BA2E #2EC76D
square
#2E3BC7 #C72E87 #C7BA2E #2EC76D
split-complementary
#2E3BC7 #C76D2E #87C72E
monochromatic
#171E64 #232C95 #2E3BC7 #5964D9 #8B93E4

Accessibility & contrast

On white

8.18
#2E3BC7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#2E3BC7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E3BC7
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3BC7#FFFFFF#000000##FFFFFF
##2E3BC71.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057CB
Deuteranopia (green-blind)
#0048C4
Tritanopia (blue-blind)
#00627D
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2e3bc7;
/* rgb */ color: rgb(46, 59, 199);
/* oklch */ color: oklch(44.6% 0.213 270.3);
Tailwind
colors: {
  custom: {
    50: '#8072d9',
    500: '#2e3bc7',
    950: '#000000',
  },
}
SCSS
$custom: #2e3bc7;
$custom-light: #8072d9;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3bc7",
  "rgb": {
    "r": 46,
    "g": 59,
    "b": 199
  },
  "hsl": {
    "h": 234.902,
    "s": 62.449,
    "l": 48.039
  },
  "oklch": {
    "l": 0.44581,
    "c": 0.21301,
    "h": 270.3
  },
  "luminance": 0.07832
}

Semantic roles & 50–950 ramp

primary
#2E3BC7
secondary
#CEC883
accent
#D842E6
background
#F8F6FD
surface
#F0ECFB
border
#CBC7D4
text
#0C0815
muted
#7D7B83

Preview Lab

Preview with #2E3BC7

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

Preview Lab → · Contrast checker → · Palette generator →

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