#2E30B1#2E30B1

#2E30B1 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.7% C 0.197 H 272.7°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#2E30B1
RGBrgb(46, 48, 177)
HSLhsl(239, 59%, 44%)
HSVhsv(239, 74%, 69%)
CMYKcmyk(74%, 72.9%, 0%, 30.6%)
CIE-LABlab(29.08, 42.66, -68.08)
CIE-LCHlch(29.08, 80.35, 302.07°)
OKLaboklab(40.66% 0.0093 -0.197)
OKLCHoklch(40.66% 0.197 272.7)
XYZxyz(10.1168, 5.8680, 42.1859)
Luminance0.0587 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E30B1 #B1AF2E
analogous
#2E71B1 #2E30B1 #6D2EB1
triadic
#2E30B1 #B12E30 #30B12E
tetradic
#2E30B1 #B12E71 #B1AF2E #2EB16D
square
#2E30B1 #B12E71 #B1AF2E #2EB16D
split-complementary
#2E30B1 #B16D2E #71B12E
monochromatic
#151650 #212380 #2E30B1 #4C4ED0 #7C7EDD

Accessibility & contrast

On white

9.66
#2E30B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#2E30B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E30B1
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E30B1#FFFFFF#000000##FFFFFF
##2E30B11.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB5
Deuteranopia (green-blind)
#003EAF
Tritanopia (blue-blind)
#00556D
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2e30b1;
/* rgb */ color: rgb(46, 48, 177);
/* oklch */ color: oklch(40.7% 0.197 272.7);
Tailwind
colors: {
  custom: {
    50: '#7c6aca',
    500: '#2e30b1',
    950: '#000000',
  },
}
SCSS
$custom: #2e30b1;
$custom-light: #7c6aca;
$custom-dark: #000000;
JSON
{
  "hex": "#2e30b1",
  "rgb": {
    "r": 46,
    "g": 48,
    "b": 177
  },
  "hsl": {
    "h": 239.084,
    "s": 58.744,
    "l": 43.725
  },
  "oklch": {
    "l": 0.40658,
    "c": 0.19722,
    "h": 272.7
  },
  "luminance": 0.05869
}

Semantic roles & 50–950 ramp

primary
#2E30B1
secondary
#C6C475
accent
#E046E2
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2E30B1

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

Preview Lab → · Contrast checker → · Palette generator →

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