#2E34E3#2E34E3

#2E34E3 is a mid, highly saturated blue. Relative luminance 0.086; OKLCH L 46.5% C 0.253 H 269.8°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#2E34E3
RGBrgb(46, 52, 227)
HSLhsl(238, 76%, 54%)
HSVhsv(238, 80%, 89%)
CMYKcmyk(79.7%, 77.1%, 0%, 11%)
CIE-LABlab(35.16, 56.77, -87.20)
CIE-LCHlch(35.16, 104.05, 303.07°)
OKLaboklab(46.53% -0.0007 -0.2526)
OKLCHoklch(46.53% 0.253 269.8)
XYZxyz(16.2151, 8.5810, 73.4598)
Luminance0.0858 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E34E3 #E3DD2E
analogous
#2E8EE3 #2E34E3 #822EE3
triadic
#2E34E3 #E32E34 #34E32E
tetradic
#2E34E3 #E32E8E #E3DD2E #2EE382
square
#2E34E3 #E32E8E #E3DD2E #2EE382
split-complementary
#2E34E3 #E3822E #8EE32E
monochromatic
#121685 #191EBB #2E34E3 #6468EA #9A9DF1

Accessibility & contrast

On white

7.73
#2E34E3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#2E34E3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E34E3
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E34E3#FFFFFF#000000##FFFFFF
##2E34E31.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CE8
Deuteranopia (green-blind)
#0049E0
Tritanopia (blue-blind)
#006A8B
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2e34e3;
/* rgb */ color: rgb(46, 52, 227);
/* oklch */ color: oklch(46.5% 0.253 269.8);
Tailwind
colors: {
  custom: {
    50: '#876eed',
    500: '#2e34e3',
    950: '#000000',
  },
}
SCSS
$custom: #2e34e3;
$custom-light: #876eed;
$custom-dark: #000000;
JSON
{
  "hex": "#2e34e3",
  "rgb": {
    "r": 46,
    "g": 52,
    "b": 227
  },
  "hsl": {
    "h": 238.011,
    "s": 76.371,
    "l": 53.529
  },
  "oklch": {
    "l": 0.46534,
    "c": 0.25256,
    "h": 269.8
  },
  "luminance": 0.08583
}

Semantic roles & 50–950 ramp

primary
#2E34E3
secondary
#DDDB90
accent
#ED35F3
background
#F9F6FE
surface
#F2ECFD
border
#CCC7D5
text
#0E0717
muted
#7E7A85

Preview Lab

Preview with #2E34E3

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

Preview Lab → · Contrast checker → · Palette generator →

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