#2E38E2#2E38E2

#2E38E2 is a mid, highly saturated blue. Relative luminance 0.089; OKLCH L 46.9% C 0.248 H 269.6°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#2E38E2
RGBrgb(46, 56, 226)
HSLhsl(237, 76%, 53%)
HSVhsv(237, 80%, 89%)
CMYKcmyk(79.6%, 75.2%, 0%, 11.4%)
CIE-LABlab(35.79, 54.36, -85.59)
CIE-LCHlch(35.79, 101.40, 302.42°)
OKLaboklab(46.94% -0.0017 -0.248)
OKLCHoklch(46.94% 0.248 269.6)
XYZxyz(16.2637, 8.8983, 72.7971)
Luminance0.0890 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E38E2 #E2D82E
analogous
#2E92E2 #2E38E2 #7E2EE2
triadic
#2E38E2 #E22E38 #38E22E
tetradic
#2E38E2 #E22E92 #E2D82E #2EE27E
square
#2E38E2 #E22E92 #E2D82E #2EE27E
split-complementary
#2E38E2 #E27E2E #92E22E
monochromatic
#121983 #1A23B9 #2E38E2 #646BE9 #999EF1

Accessibility & contrast

On white

7.55
#2E38E2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#2E38E2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E38E2
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E38E2#FFFFFF#000000##FFFFFF
##2E38E21.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DE7
Deuteranopia (green-blind)
#004BDF
Tritanopia (blue-blind)
#006B8B
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2e38e2;
/* rgb */ color: rgb(46, 56, 226);
/* oklch */ color: oklch(46.9% 0.248 269.6);
Tailwind
colors: {
  custom: {
    50: '#8771ed',
    500: '#2e38e2',
    950: '#000000',
  },
}
SCSS
$custom: #2e38e2;
$custom-light: #8771ed;
$custom-dark: #000000;
JSON
{
  "hex": "#2e38e2",
  "rgb": {
    "r": 46,
    "g": 56,
    "b": 226
  },
  "hsl": {
    "h": 236.667,
    "s": 75.63,
    "l": 53.333
  },
  "oklch": {
    "l": 0.46942,
    "c": 0.24797,
    "h": 269.6
  },
  "luminance": 0.089
}

Semantic roles & 50–950 ramp

primary
#2E38E2
secondary
#DDD88F
accent
#E836F2
background
#F9F6FE
surface
#F2ECFD
border
#CCC7D5
text
#0E0816
muted
#7E7B84

Preview Lab

Preview with #2E38E2

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

Preview Lab → · Contrast checker → · Palette generator →

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