#2E30B3#2E30B3

#2E30B3 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.9% C 0.200 H 272.6°. Best body text is #FFFFFF at 9.59:1 contrast (WCAG AA passes).

Color values

HEX#2E30B3
RGBrgb(46, 48, 179)
HSLhsl(239, 59%, 44%)
HSVhsv(239, 74%, 70%)
CMYKcmyk(74.3%, 73.2%, 0%, 29.8%)
CIE-LABlab(29.28, 43.34, -68.94)
CIE-LCHlch(29.28, 81.43, 302.15°)
OKLaboklab(40.87% 0.009 -0.1995)
OKLCHoklch(40.87% 0.2 272.6)
XYZxyz(10.3176, 5.9484, 43.2435)
Luminance0.0595 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E30B3 #B3B12E
analogous
#2E73B3 #2E30B3 #6F2EB3
triadic
#2E30B3 #B32E30 #30B32E
tetradic
#2E30B3 #B32E73 #B3B12E #2EB36F
square
#2E30B3 #B32E73 #B3B12E #2EB36F
split-complementary
#2E30B3 #B36F2E #73B32E
monochromatic
#151652 #212382 #2E30B3 #4D4FD1 #7E7FDE

Accessibility & contrast

On white

9.59
#2E30B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#2E30B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E30B3
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E30B3#FFFFFF#000000##FFFFFF
##2E30B31.009.592.199.59
#FFFFFF9.591.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB7
Deuteranopia (green-blind)
#003EB1
Tritanopia (blue-blind)
#00556F
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2e30b3;
/* rgb */ color: rgb(46, 48, 179);
/* oklch */ color: oklch(40.9% 0.200 272.6);
Tailwind
colors: {
  custom: {
    50: '#7c6acb',
    500: '#2e30b3',
    950: '#000000',
  },
}
SCSS
$custom: #2e30b3;
$custom-light: #7c6acb;
$custom-dark: #000000;
JSON
{
  "hex": "#2e30b3",
  "rgb": {
    "r": 46,
    "g": 48,
    "b": 179
  },
  "hsl": {
    "h": 239.098,
    "s": 59.111,
    "l": 44.118
  },
  "oklch": {
    "l": 0.40865,
    "c": 0.19969,
    "h": 272.6
  },
  "luminance": 0.05949
}

Semantic roles & 50–950 ramp

primary
#2E30B3
secondary
#C6C576
accent
#E046E2
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2E30B3

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

Preview Lab → · Contrast checker → · Palette generator →

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