#2E30D7#2E30D7

#2E30D7 is a dark, highly saturated blue. Relative luminance 0.076; OKLCH L 44.7% C 0.242 H 270.6°. Best body text is #FFFFFF at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#2E30D7
RGBrgb(46, 48, 215)
HSLhsl(239, 68%, 51%)
HSVhsv(239, 79%, 84%)
CMYKcmyk(78.6%, 77.7%, 0%, 15.7%)
CIE-LABlab(33.13, 55.04, -83.67)
CIE-LCHlch(33.13, 100.15, 303.34°)
OKLaboklab(44.72% 0.0025 -0.2423)
OKLCHoklch(44.72% 0.242 270.6)
XYZxyz(14.4452, 7.5994, 64.9823)
Luminance0.0760 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E30D7 #D7D52E
analogous
#2E84D7 #2E30D7 #802ED7
triadic
#2E30D7 #D72E30 #30D72E
tetradic
#2E30D7 #D72E84 #D7D52E #2ED780
square
#2E30D7 #D72E84 #D7D52E #2ED780
split-complementary
#2E30D7 #D7802E #84D72E
monochromatic
#161774 #2022A8 #2E30D7 #6163E1 #9596EB

Accessibility & contrast

On white

8.33
#2E30D7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#2E30D7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E30D7
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E30D7#FFFFFF#000000##FFFFFF
##2E30D71.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056DC
Deuteranopia (green-blind)
#0045D4
Tritanopia (blue-blind)
#006383
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2e30d7;
/* rgb */ color: rgb(46, 48, 215);
/* oklch */ color: oklch(44.7% 0.242 270.6);
Tailwind
colors: {
  custom: {
    50: '#856be5',
    500: '#2e30d7',
    950: '#000000',
  },
}
SCSS
$custom: #2e30d7;
$custom-light: #856be5;
$custom-dark: #000000;
JSON
{
  "hex": "#2e30d7",
  "rgb": {
    "r": 46,
    "g": 48,
    "b": 215
  },
  "hsl": {
    "h": 239.29,
    "s": 67.871,
    "l": 51.176
  },
  "oklch": {
    "l": 0.44723,
    "c": 0.2423,
    "h": 270.6
  },
  "luminance": 0.07601
}

Semantic roles & 50–950 ramp

primary
#2E30D7
secondary
#D6D58B
accent
#E93DEB
background
#F9F6FE
surface
#F1EBFC
border
#CBC6D5
text
#0D0716
muted
#7E7A84

Preview Lab

Preview with #2E30D7

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

Preview Lab → · Contrast checker → · Palette generator →

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