#2E3EFF#2E3EFF

#2E3EFF is a mid, highly saturated blue. Relative luminance 0.112; OKLCH L 50.8% C 0.275 H 268.4°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#2E3EFF
RGBrgb(46, 62, 255)
HSLhsl(235, 100%, 59%)
HSVhsv(235, 82%, 100%)
CMYKcmyk(82%, 75.7%, 0%, 0%)
CIE-LABlab(39.99, 60.43, -95.02)
CIE-LCHlch(39.99, 112.61, 302.46°)
OKLaboklab(50.82% -0.0076 -0.2753)
OKLCHoklch(50.82% 0.275 268.4)
XYZxyz(20.8931, 11.2436, 95.6574)
Luminance0.1125 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3EFF #FFEF2E
analogous
#2EA6FF #2E3EFF #872EFF
triadic
#2E3EFF #FF2E3E #3EFF2E
tetradic
#2E3EFF #FF2EA6 #FFEF2E #2EFF87
square
#2E3EFF #FF2EA6 #FFEF2E #2EFF87
split-complementary
#2E3EFF #FF872E #A6FF2E
monochromatic
#000EB3 #0012F0 #2E3EFF #6B77FF #A8AFFF

Accessibility & contrast

On white

6.46
#2E3EFF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#2E3EFF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E3EFF
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3EFF#FFFFFF#000000##FFFFFF
##2E3EFF1.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069FF
Deuteranopia (green-blind)
#0053FC
Tritanopia (blue-blind)
#00799D
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #2e3eff;
/* rgb */ color: rgb(46, 62, 255);
/* oklch */ color: oklch(50.8% 0.275 268.4);
Tailwind
colors: {
  custom: {
    50: '#8d76ff',
    500: '#2e3eff',
    950: '#000000',
  },
}
SCSS
$custom: #2e3eff;
$custom-light: #8d76ff;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3eff",
  "rgb": {
    "r": 46,
    "g": 62,
    "b": 255
  },
  "hsl": {
    "h": 235.407,
    "s": 100,
    "l": 59.02
  },
  "oklch": {
    "l": 0.50815,
    "c": 0.27546,
    "h": 268.4
  },
  "luminance": 0.11246
}

Semantic roles & 50–950 ramp

primary
#2E3EFF
secondary
#EDE79B
accent
#EF29FF
background
#FAF7FF
surface
#F3EDFF
border
#CDC8D7
text
#0F0918
muted
#7F7B86

Preview Lab

Preview with #2E3EFF

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

Preview Lab → · Contrast checker → · Palette generator →

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