#2E30B6#2E30B6

#2E30B6 is a dark, highly saturated blue. Relative luminance 0.061; OKLCH L 41.2% C 0.203 H 272.4°. Best body text is #FFFFFF at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#2E30B6
RGBrgb(46, 48, 182)
HSLhsl(239, 60%, 45%)
HSVhsv(239, 75%, 71%)
CMYKcmyk(74.7%, 73.6%, 0%, 28.6%)
CIE-LABlab(29.59, 44.34, -70.21)
CIE-LCHlch(29.59, 83.04, 302.27°)
OKLaboklab(41.18% 0.0085 -0.2032)
OKLCHoklch(41.18% 0.203 272.4)
XYZxyz(10.6243, 6.0710, 44.8588)
Luminance0.0607 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E30B6 #B6B42E
analogous
#2E74B6 #2E30B6 #702EB6
triadic
#2E30B6 #B62E30 #30B62E
tetradic
#2E30B6 #B62E74 #B6B42E #2EB670
square
#2E30B6 #B62E74 #B6B42E #2EB670
split-complementary
#2E30B6 #B6702E #74B62E
monochromatic
#151654 #222385 #2E30B6 #4F51D2 #8081DF

Accessibility & contrast

On white

9.48
#2E30B6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E30B6
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E30B6#FFFFFF#000000##FFFFFF
##2E30B61.009.482.219.48
#FFFFFF9.481.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CBA
Deuteranopia (green-blind)
#003FB4
Tritanopia (blue-blind)
#005770
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2e30b6;
/* rgb */ color: rgb(46, 48, 182);
/* oklch */ color: oklch(41.2% 0.203 272.4);
Tailwind
colors: {
  custom: {
    50: '#7d6acd',
    500: '#2e30b6',
    950: '#000000',
  },
}
SCSS
$custom: #2e30b6;
$custom-light: #7d6acd;
$custom-dark: #000000;
JSON
{
  "hex": "#2e30b6",
  "rgb": {
    "r": 46,
    "g": 48,
    "b": 182
  },
  "hsl": {
    "h": 239.118,
    "s": 59.649,
    "l": 44.706
  },
  "oklch": {
    "l": 0.41177,
    "c": 0.20338,
    "h": 272.4
  },
  "luminance": 0.06072
}

Semantic roles & 50–950 ramp

primary
#2E30B6
secondary
#C8C678
accent
#E045E3
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0B0614
muted
#7C7A82

Preview Lab

Preview with #2E30B6

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

Preview Lab → · Contrast checker → · Palette generator →

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