#2E30B9#2E30B9

#2E30B9 is a dark, highly saturated blue. Relative luminance 0.062; OKLCH L 41.5% C 0.207 H 272.2°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#2E30B9
RGBrgb(46, 48, 185)
HSLhsl(239, 60%, 45%)
HSVhsv(239, 75%, 73%)
CMYKcmyk(75.1%, 74.1%, 0%, 27.5%)
CIE-LABlab(29.90, 45.34, -71.48)
CIE-LCHlch(29.90, 84.65, 302.39°)
OKLaboklab(41.49% 0.008 -0.2069)
OKLCHoklch(41.49% 0.207 272.2)
XYZxyz(10.9377, 6.1964, 46.5091)
Luminance0.0620 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E30B9 #B9B72E
analogous
#2E75B9 #2E30B9 #722EB9
triadic
#2E30B9 #B92E30 #30B92E
tetradic
#2E30B9 #B92E75 #B9B72E #2EB972
square
#2E30B9 #B92E75 #B9B72E #2EB972
split-complementary
#2E30B9 #B9722E #75B92E
monochromatic
#161757 #222388 #2E30B9 #5152D4 #8283E0

Accessibility & contrast

On white

9.38
#2E30B9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#2E30B9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E30B9
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E30B9#FFFFFF#000000##FFFFFF
##2E30B91.009.382.249.38
#FFFFFF9.381.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DBD
Deuteranopia (green-blind)
#0040B7
Tritanopia (blue-blind)
#005872
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2e30b9;
/* rgb */ color: rgb(46, 48, 185);
/* oklch */ color: oklch(41.5% 0.207 272.2);
Tailwind
colors: {
  custom: {
    50: '#7d6acf',
    500: '#2e30b9',
    950: '#000000',
  },
}
SCSS
$custom: #2e30b9;
$custom-light: #7d6acf;
$custom-dark: #000000;
JSON
{
  "hex": "#2e30b9",
  "rgb": {
    "r": 46,
    "g": 48,
    "b": 185
  },
  "hsl": {
    "h": 239.137,
    "s": 60.173,
    "l": 45.294
  },
  "oklch": {
    "l": 0.41492,
    "c": 0.20704,
    "h": 272.2
  },
  "luminance": 0.06198
}

Semantic roles & 50–950 ramp

primary
#2E30B9
secondary
#C9C87A
accent
#E144E3
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82

Preview Lab

Preview with #2E30B9

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

Preview Lab → · Contrast checker → · Palette generator →

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