#2E3CD7#2E3CD7

#2E3CD7 is a mid, highly saturated blue. Relative luminance 0.087; OKLCH L 46.4% C 0.231 H 269.6°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#2E3CD7
RGBrgb(46, 60, 215)
HSLhsl(235, 68%, 51%)
HSVhsv(235, 79%, 84%)
CMYKcmyk(78.6%, 72.1%, 0%, 15.7%)
CIE-LABlab(35.43, 48.53, -79.87)
CIE-LCHlch(35.43, 93.46, 301.28°)
OKLaboklab(46.35% -0.0015 -0.2314)
OKLCHoklch(46.35% 0.231 269.6)
XYZxyz(15.0041, 8.7171, 65.1686)
Luminance0.0872 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3CD7 #D7C92E
analogous
#2E90D7 #2E3CD7 #742ED7
triadic
#2E3CD7 #D72E3C #3CD72E
tetradic
#2E3CD7 #D72E90 #D7C92E #2ED774
square
#2E3CD7 #D72E90 #D7C92E #2ED774
split-complementary
#2E3CD7 #D7742E #90D72E
monochromatic
#161E74 #202BA8 #2E3CD7 #616CE1 #959CEB

Accessibility & contrast

On white

7.65
#2E3CD7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#2E3CD7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E3CD7
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3CD7#FFFFFF#000000##FFFFFF
##2E3CD71.007.652.747.65
#FFFFFF7.651.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CDC
Deuteranopia (green-blind)
#004BD4
Tritanopia (blue-blind)
#006986
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2e3cd7;
/* rgb */ color: rgb(46, 60, 215);
/* oklch */ color: oklch(46.4% 0.231 269.6);
Tailwind
colors: {
  custom: {
    50: '#8473e5',
    500: '#2e3cd7',
    950: '#000000',
  },
}
SCSS
$custom: #2e3cd7;
$custom-light: #8473e5;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3cd7",
  "rgb": {
    "r": 46,
    "g": 60,
    "b": 215
  },
  "hsl": {
    "h": 235.03,
    "s": 67.871,
    "l": 51.176
  },
  "oklch": {
    "l": 0.46353,
    "c": 0.23136,
    "h": 269.6
  },
  "luminance": 0.08719
}

Semantic roles & 50–950 ramp

primary
#2E3CD7
secondary
#D6D08B
accent
#DC3DEB
background
#F9F7FE
surface
#F1EDFC
border
#CBC8D5
text
#0D0816
muted
#7E7B84

Preview Lab

Preview with #2E3CD7

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

Preview Lab → · Contrast checker → · Palette generator →

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