#2E33C7#2E33C7

#2E33C7 is a dark, highly saturated blue. Relative luminance 0.071; OKLCH L 43.4% C 0.221 H 271.1°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#2E33C7
RGBrgb(46, 51, 199)
HSLhsl(238, 62%, 48%)
HSVhsv(238, 77%, 78%)
CMYKcmyk(76.9%, 74.4%, 0%, 22%)
CIE-LABlab(31.97, 48.30, -76.31)
CIE-LCHlch(31.97, 90.31, 302.33°)
OKLaboklab(43.39% 0.0044 -0.2209)
OKLCHoklch(43.39% 0.221 271.1)
XYZxyz(12.6158, 7.0706, 54.7216)
Luminance0.0707 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E33C7 #C7C22E
analogous
#2E7FC7 #2E33C7 #752EC7
triadic
#2E33C7 #C72E33 #33C72E
tetradic
#2E33C7 #C72E7F #C7C22E #2EC775
square
#2E33C7 #C72E7F #C7C22E #2EC775
split-complementary
#2E33C7 #C7752E #7FC72E
monochromatic
#171A64 #232695 #2E33C7 #595ED9 #8B8EE4

Accessibility & contrast

On white

8.70
#2E33C7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#2E33C7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E33C7
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E33C7#FFFFFF#000000##FFFFFF
##2E33C71.008.702.418.70
#FFFFFF8.701.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053CB
Deuteranopia (green-blind)
#0044C4
Tritanopia (blue-blind)
#005E7B
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2e33c7;
/* rgb */ color: rgb(46, 51, 199);
/* oklch */ color: oklch(43.4% 0.221 271.1);
Tailwind
colors: {
  custom: {
    50: '#816cd9',
    500: '#2e33c7',
    950: '#000000',
  },
}
SCSS
$custom: #2e33c7;
$custom-light: #816cd9;
$custom-dark: #000000;
JSON
{
  "hex": "#2e33c7",
  "rgb": {
    "r": 46,
    "g": 51,
    "b": 199
  },
  "hsl": {
    "h": 238.039,
    "s": 62.449,
    "l": 48.039
  },
  "oklch": {
    "l": 0.43393,
    "c": 0.22099,
    "h": 271.1
  },
  "luminance": 0.07072
}

Semantic roles & 50–950 ramp

primary
#2E33C7
secondary
#CECC83
accent
#E042E6
background
#F8F6FD
surface
#F0EBFB
border
#CBC6D4
text
#0C0715
muted
#7D7A83

Preview Lab

Preview with #2E33C7

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

Preview Lab → · Contrast checker → · Palette generator →

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