#2E30BB#2E30BB

#2E30BB is a dark, highly saturated blue. Relative luminance 0.063; OKLCH L 41.7% C 0.209 H 272.1°. Best body text is #FFFFFF at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#2E30BB
RGBrgb(46, 48, 187)
HSLhsl(239, 61%, 46%)
HSVhsv(239, 75%, 73%)
CMYKcmyk(75.4%, 74.3%, 0%, 26.7%)
CIE-LABlab(30.11, 46.01, -72.32)
CIE-LCHlch(30.11, 85.71, 302.46°)
OKLaboklab(41.7% 0.0076 -0.2093)
OKLCHoklch(41.7% 0.209 272.1)
XYZxyz(11.1503, 6.2814, 47.6289)
Luminance0.0628 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E30BB #BBB92E
analogous
#2E76BB #2E30BB #722EBB
triadic
#2E30BB #BB2E30 #30BB2E
tetradic
#2E30BB #BB2E76 #BBB92E #2EBB72
square
#2E30BB #BB2E76 #BBB92E #2EBB72
split-complementary
#2E30BB #BB722E #76BB2E
monochromatic
#161759 #22238A #2E30BB #5254D4 #8384E0

Accessibility & contrast

On white

9.31
#2E30BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#2E30BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E30BB
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E30BB#FFFFFF#000000##FFFFFF
##2E30BB1.009.312.269.31
#FFFFFF9.311.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EBF
Deuteranopia (green-blind)
#0040B9
Tritanopia (blue-blind)
#005873
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2e30bb;
/* rgb */ color: rgb(46, 48, 187);
/* oklch */ color: oklch(41.7% 0.209 272.1);
Tailwind
colors: {
  custom: {
    50: '#7e6ad1',
    500: '#2e30bb',
    950: '#000000',
  },
}
SCSS
$custom: #2e30bb;
$custom-light: #7e6ad1;
$custom-dark: #000000;
JSON
{
  "hex": "#2e30bb",
  "rgb": {
    "r": 46,
    "g": 48,
    "b": 187
  },
  "hsl": {
    "h": 239.149,
    "s": 60.515,
    "l": 45.686
  },
  "oklch": {
    "l": 0.41702,
    "c": 0.20947,
    "h": 272.1
  },
  "luminance": 0.06283
}

Semantic roles & 50–950 ramp

primary
#2E30BB
secondary
#CAC97B
accent
#E144E4
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83

Preview Lab

Preview with #2E30BB

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

Preview Lab → · Contrast checker → · Palette generator →

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