#2E30B4#2E30B4

#2E30B4 is a dark, highly saturated blue. Relative luminance 0.060; OKLCH L 41.0% C 0.201 H 272.5°. Best body text is #FFFFFF at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#2E30B4
RGBrgb(46, 48, 180)
HSLhsl(239, 59%, 44%)
HSVhsv(239, 74%, 71%)
CMYKcmyk(74.4%, 73.3%, 0%, 29.4%)
CIE-LABlab(29.38, 43.67, -69.36)
CIE-LCHlch(29.38, 81.97, 302.19°)
OKLaboklab(40.97% 0.0088 -0.2007)
OKLCHoklch(40.97% 0.201 272.5)
XYZxyz(10.4191, 5.9890, 43.7780)
Luminance0.0599 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E30B4 #B4B22E
analogous
#2E73B4 #2E30B4 #6F2EB4
triadic
#2E30B4 #B42E30 #30B42E
tetradic
#2E30B4 #B42E73 #B4B22E #2EB46F
square
#2E30B4 #B42E73 #B4B22E #2EB46F
split-complementary
#2E30B4 #B46F2E #73B42E
monochromatic
#151653 #222383 #2E30B4 #4E50D2 #7E80DE

Accessibility & contrast

On white

9.55
#2E30B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#2E30B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E30B4
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E30B4#FFFFFF#000000##FFFFFF
##2E30B41.009.552.209.55
#FFFFFF9.551.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB8
Deuteranopia (green-blind)
#003FB2
Tritanopia (blue-blind)
#00566F
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2e30b4;
/* rgb */ color: rgb(46, 48, 180);
/* oklch */ color: oklch(41.0% 0.201 272.5);
Tailwind
colors: {
  custom: {
    50: '#7c6acc',
    500: '#2e30b4',
    950: '#000000',
  },
}
SCSS
$custom: #2e30b4;
$custom-light: #7c6acc;
$custom-dark: #000000;
JSON
{
  "hex": "#2e30b4",
  "rgb": {
    "r": 46,
    "g": 48,
    "b": 180
  },
  "hsl": {
    "h": 239.104,
    "s": 59.292,
    "l": 44.314
  },
  "oklch": {
    "l": 0.40969,
    "c": 0.20092,
    "h": 272.5
  },
  "luminance": 0.0599
}

Semantic roles & 50–950 ramp

primary
#2E30B4
secondary
#C7C677
accent
#E045E2
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0614
muted
#7C7A82

Preview Lab

Preview with #2E30B4

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

Preview Lab → · Contrast checker → · Palette generator →

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