#2E30B7#2E30B7

#2E30B7 is a dark, highly saturated blue. Relative luminance 0.061; OKLCH L 41.3% C 0.205 H 272.3°. Best body text is #FFFFFF at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#2E30B7
RGBrgb(46, 48, 183)
HSLhsl(239, 60%, 45%)
HSVhsv(239, 75%, 72%)
CMYKcmyk(74.9%, 73.8%, 0%, 28.2%)
CIE-LABlab(29.69, 44.68, -70.64)
CIE-LCHlch(29.69, 83.58, 302.31°)
OKLaboklab(41.28% 0.0083 -0.2044)
OKLCHoklch(41.28% 0.205 272.3)
XYZxyz(10.7280, 6.1125, 45.4050)
Luminance0.0611 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E30B7 #B7B52E
analogous
#2E75B7 #2E30B7 #702EB7
triadic
#2E30B7 #B72E30 #30B72E
tetradic
#2E30B7 #B72E75 #B7B52E #2EB770
square
#2E30B7 #B72E75 #B7B52E #2EB770
split-complementary
#2E30B7 #B7702E #75B72E
monochromatic
#151655 #222386 #2E30B7 #4F51D3 #8082DF

Accessibility & contrast

On white

9.45
#2E30B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#2E30B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E30B7
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E30B7#FFFFFF#000000##FFFFFF
##2E30B71.009.452.229.45
#FFFFFF9.451.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DBB
Deuteranopia (green-blind)
#003FB5
Tritanopia (blue-blind)
#005771
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2e30b7;
/* rgb */ color: rgb(46, 48, 183);
/* oklch */ color: oklch(41.3% 0.205 272.3);
Tailwind
colors: {
  custom: {
    50: '#7d6ace',
    500: '#2e30b7',
    950: '#000000',
  },
}
SCSS
$custom: #2e30b7;
$custom-light: #7d6ace;
$custom-dark: #000000;
JSON
{
  "hex": "#2e30b7",
  "rgb": {
    "r": 46,
    "g": 48,
    "b": 183
  },
  "hsl": {
    "h": 239.124,
    "s": 59.825,
    "l": 44.902
  },
  "oklch": {
    "l": 0.41282,
    "c": 0.2046,
    "h": 272.3
  },
  "luminance": 0.06114
}

Semantic roles & 50–950 ramp

primary
#2E30B7
secondary
#C8C779
accent
#E145E3
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0B0614
muted
#7C7A82

Preview Lab

Preview with #2E30B7

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

Preview Lab → · Contrast checker → · Palette generator →

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