#2E30B5#2E30B5

#2E30B5 is a dark, highly saturated blue. Relative luminance 0.060; OKLCH L 41.1% C 0.202 H 272.4°. Best body text is #FFFFFF at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#2E30B5
RGBrgb(46, 48, 181)
HSLhsl(239, 59%, 45%)
HSVhsv(239, 75%, 71%)
CMYKcmyk(74.6%, 73.5%, 0%, 29%)
CIE-LABlab(29.49, 44.01, -69.79)
CIE-LCHlch(29.49, 82.51, 302.24°)
OKLaboklab(41.07% 0.0086 -0.202)
OKLCHoklch(41.07% 0.202 272.4)
XYZxyz(10.5214, 6.0298, 44.3165)
Luminance0.0603 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E30B5 #B5B32E
analogous
#2E74B5 #2E30B5 #702EB5
triadic
#2E30B5 #B52E30 #30B52E
tetradic
#2E30B5 #B52E74 #B5B32E #2EB570
square
#2E30B5 #B52E74 #B5B32E #2EB570
split-complementary
#2E30B5 #B5702E #74B52E
monochromatic
#151653 #222384 #2E30B5 #4E50D2 #7F80DE

Accessibility & contrast

On white

9.52
#2E30B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#2E30B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E30B5
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E30B5#FFFFFF#000000##FFFFFF
##2E30B51.009.522.219.52
#FFFFFF9.521.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB9
Deuteranopia (green-blind)
#003FB3
Tritanopia (blue-blind)
#005670
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2e30b5;
/* rgb */ color: rgb(46, 48, 181);
/* oklch */ color: oklch(41.1% 0.202 272.4);
Tailwind
colors: {
  custom: {
    50: '#7d6acc',
    500: '#2e30b5',
    950: '#000000',
  },
}
SCSS
$custom: #2e30b5;
$custom-light: #7d6acc;
$custom-dark: #000000;
JSON
{
  "hex": "#2e30b5",
  "rgb": {
    "r": 46,
    "g": 48,
    "b": 181
  },
  "hsl": {
    "h": 239.111,
    "s": 59.471,
    "l": 44.51
  },
  "oklch": {
    "l": 0.41073,
    "c": 0.20215,
    "h": 272.4
  },
  "luminance": 0.06031
}

Semantic roles & 50–950 ramp

primary
#2E30B5
secondary
#C7C678
accent
#E045E3
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0614
muted
#7C7A82

Preview Lab

Preview with #2E30B5

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

Preview Lab → · Contrast checker → · Palette generator →

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