#2E3AC7#2E3AC7

#2E3AC7 is a dark, highly saturated blue. Relative luminance 0.077; OKLCH L 44.4% C 0.214 H 270.4°. Best body text is #FFFFFF at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#2E3AC7
RGBrgb(46, 58, 199)
HSLhsl(235, 62%, 48%)
HSVhsv(235, 77%, 78%)
CMYKcmyk(76.9%, 70.9%, 0%, 22%)
CIE-LABlab(33.41, 44.27, -73.93)
CIE-LCHlch(33.41, 86.17, 300.91°)
OKLaboklab(44.43% 0.0014 -0.214)
OKLCHoklch(44.43% 0.214 270.4)
XYZxyz(12.9451, 7.7290, 54.8314)
Luminance0.0773 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3AC7 #C7BB2E
analogous
#2E86C7 #2E3AC7 #6E2EC7
triadic
#2E3AC7 #C72E3A #3AC72E
tetradic
#2E3AC7 #C72E86 #C7BB2E #2EC76E
square
#2E3AC7 #C72E86 #C7BB2E #2EC76E
split-complementary
#2E3AC7 #C76E2E #86C72E
monochromatic
#171D64 #232C95 #2E3AC7 #5963D9 #8B92E4

Accessibility & contrast

On white

8.25
#2E3AC7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#2E3AC7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E3AC7
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3AC7#FFFFFF#000000##FFFFFF
##2E3AC71.008.252.558.25
#FFFFFF8.251.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056CB
Deuteranopia (green-blind)
#0047C4
Tritanopia (blue-blind)
#00627C
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2e3ac7;
/* rgb */ color: rgb(46, 58, 199);
/* oklch */ color: oklch(44.4% 0.214 270.4);
Tailwind
colors: {
  custom: {
    50: '#8071d9',
    500: '#2e3ac7',
    950: '#000000',
  },
}
SCSS
$custom: #2e3ac7;
$custom-light: #8071d9;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3ac7",
  "rgb": {
    "r": 46,
    "g": 58,
    "b": 199
  },
  "hsl": {
    "h": 235.294,
    "s": 62.449,
    "l": 48.039
  },
  "oklch": {
    "l": 0.44425,
    "c": 0.21405,
    "h": 270.4
  },
  "luminance": 0.0773
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E3AC7

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

Preview Lab → · Contrast checker → · Palette generator →

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