#2E33D7#2E33D7

#2E33D7 is a mid, highly saturated blue. Relative luminance 0.079; OKLCH L 45.1% C 0.240 H 270.4°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#2E33D7
RGBrgb(46, 51, 215)
HSLhsl(238, 68%, 51%)
HSVhsv(238, 79%, 84%)
CMYKcmyk(78.6%, 76.3%, 0%, 15.7%)
CIE-LABlab(33.68, 53.49, -82.78)
CIE-LCHlch(33.68, 98.56, 302.87°)
OKLaboklab(45.1% 0.0017 -0.2397)
OKLCHoklch(45.1% 0.24 270.4)
XYZxyz(14.5721, 7.8531, 65.0246)
Luminance0.0785 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E33D7 #D7D22E
analogous
#2E87D7 #2E33D7 #7D2ED7
triadic
#2E33D7 #D72E33 #33D72E
tetradic
#2E33D7 #D72E87 #D7D22E #2ED77D
square
#2E33D7 #D72E87 #D7D22E #2ED77D
split-complementary
#2E33D7 #D77D2E #87D72E
monochromatic
#161974 #2024A8 #2E33D7 #6165E1 #9597EB

Accessibility & contrast

On white

8.17
#2E33D7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E33D7
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E33D7#FFFFFF#000000##FFFFFF
##2E33D71.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058DC
Deuteranopia (green-blind)
#0047D4
Tritanopia (blue-blind)
#006584
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2e33d7;
/* rgb */ color: rgb(46, 51, 215);
/* oklch */ color: oklch(45.1% 0.240 270.4);
Tailwind
colors: {
  custom: {
    50: '#846de5',
    500: '#2e33d7',
    950: '#000000',
  },
}
SCSS
$custom: #2e33d7;
$custom-light: #846de5;
$custom-dark: #000000;
JSON
{
  "hex": "#2e33d7",
  "rgb": {
    "r": 46,
    "g": 51,
    "b": 215
  },
  "hsl": {
    "h": 238.225,
    "s": 67.871,
    "l": 51.176
  },
  "oklch": {
    "l": 0.45103,
    "c": 0.23974,
    "h": 270.4
  },
  "luminance": 0.07855
}

Semantic roles & 50–950 ramp

primary
#2E33D7
secondary
#D6D48B
accent
#E63DEB
background
#F9F6FE
surface
#F1ECFC
border
#CBC7D5
text
#0D0716
muted
#7E7A84

Preview Lab

Preview with #2E33D7

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

Preview Lab → · Contrast checker → · Palette generator →

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