#2E30E3#2E30E3

#2E30E3 is a mid, highly saturated blue. Relative luminance 0.082; OKLCH L 46.1% C 0.256 H 270.1°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#2E30E3
RGBrgb(46, 48, 227)
HSLhsl(239, 76%, 54%)
HSVhsv(239, 80%, 89%)
CMYKcmyk(79.7%, 78.9%, 0%, 11%)
CIE-LABlab(34.48, 58.76, -88.34)
CIE-LCHlch(34.48, 106.10, 303.63°)
OKLaboklab(46.05% 0.0003 -0.2558)
OKLCHoklch(46.05% 0.256 270.1)
XYZxyz(16.0441, 8.2389, 73.4028)
Luminance0.0824 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E30E3 #E3E12E
analogous
#2E8AE3 #2E30E3 #862EE3
triadic
#2E30E3 #E32E30 #30E32E
tetradic
#2E30E3 #E32E8A #E3E12E #2EE386
square
#2E30E3 #E32E8A #E3E12E #2EE386
split-complementary
#2E30E3 #E3862E #8AE32E
monochromatic
#121385 #191BBB #2E30E3 #6465EA #9A9BF1

Accessibility & contrast

On white

7.93
#2E30E3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#2E30E3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E30E3
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E30E3#FFFFFF#000000##FFFFFF
##2E30E31.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AE8
Deuteranopia (green-blind)
#0048E0
Tritanopia (blue-blind)
#00688A
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2e30e3;
/* rgb */ color: rgb(46, 48, 227);
/* oklch */ color: oklch(46.1% 0.256 270.1);
Tailwind
colors: {
  custom: {
    50: '#876ced',
    500: '#2e30e3',
    950: '#000000',
  },
}
SCSS
$custom: #2e30e3;
$custom-light: #876ced;
$custom-dark: #000000;
JSON
{
  "hex": "#2e30e3",
  "rgb": {
    "r": 46,
    "g": 48,
    "b": 227
  },
  "hsl": {
    "h": 239.337,
    "s": 76.371,
    "l": 53.529
  },
  "oklch": {
    "l": 0.46051,
    "c": 0.25581,
    "h": 270.1
  },
  "luminance": 0.08241
}

Semantic roles & 50–950 ramp

primary
#2E30E3
secondary
#DDDC90
accent
#F135F3
background
#F9F6FE
surface
#F2ECFD
border
#CCC7D5
text
#0E0717
muted
#7E7A85

Preview Lab

Preview with #2E30E3

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

Preview Lab → · Contrast checker → · Palette generator →

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