#2E30B8#2E30B8

#2E30B8 is a dark, highly saturated blue. Relative luminance 0.062; OKLCH L 41.4% C 0.206 H 272.3°. Best body text is #FFFFFF at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#2E30B8
RGBrgb(46, 48, 184)
HSLhsl(239, 60%, 45%)
HSVhsv(239, 75%, 72%)
CMYKcmyk(75%, 73.9%, 0%, 27.8%)
CIE-LABlab(29.80, 45.01, -71.06)
CIE-LCHlch(29.80, 84.12, 302.35°)
OKLaboklab(41.39% 0.0081 -0.2057)
OKLCHoklch(41.39% 0.206 272.3)
XYZxyz(10.8325, 6.1543, 45.9551)
Luminance0.0616 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E30B8 #B8B62E
analogous
#2E75B8 #2E30B8 #712EB8
triadic
#2E30B8 #B82E30 #30B82E
tetradic
#2E30B8 #B82E75 #B8B62E #2EB871
square
#2E30B8 #B82E75 #B8B62E #2EB871
split-complementary
#2E30B8 #B8712E #75B82E
monochromatic
#161656 #222387 #2E30B8 #5052D3 #8182DF

Accessibility & contrast

On white

9.41
#2E30B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#2E30B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E30B8
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E30B8#FFFFFF#000000##FFFFFF
##2E30B81.009.412.239.41
#FFFFFF9.411.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.411.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e30b8;
/* rgb */ color: rgb(46, 48, 184);
/* oklch */ color: oklch(41.4% 0.206 272.3);
Tailwind
colors: {
  custom: {
    50: '#7d6acf',
    500: '#2e30b8',
    950: '#000000',
  },
}
SCSS
$custom: #2e30b8;
$custom-light: #7d6acf;
$custom-dark: #000000;
JSON
{
  "hex": "#2e30b8",
  "rgb": {
    "r": 46,
    "g": 48,
    "b": 184
  },
  "hsl": {
    "h": 239.13,
    "s": 60,
    "l": 45.098
  },
  "oklch": {
    "l": 0.41387,
    "c": 0.20582,
    "h": 272.3
  },
  "luminance": 0.06155
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E30B8

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

Preview Lab → · Contrast checker → · Palette generator →

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