#2E30B2#2E30B2

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

Color values

HEX#2E30B2
RGBrgb(46, 48, 178)
HSLhsl(239, 59%, 44%)
HSVhsv(239, 74%, 70%)
CMYKcmyk(74.2%, 73%, 0%, 30.2%)
CIE-LABlab(29.18, 43.00, -68.51)
CIE-LCHlch(29.18, 80.89, 302.11°)
OKLaboklab(40.76% 0.0091 -0.1982)
OKLCHoklch(40.76% 0.198 272.6)
XYZxyz(10.2168, 5.9080, 42.7128)
Luminance0.0591 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E30B2 #B2B02E
analogous
#2E72B2 #2E30B2 #6E2EB2
triadic
#2E30B2 #B22E30 #30B22E
tetradic
#2E30B2 #B22E72 #B2B02E #2EB26E
square
#2E30B2 #B22E72 #B2B02E #2EB26E
split-complementary
#2E30B2 #B26E2E #72B22E
monochromatic
#151651 #212381 #2E30B2 #4C4ED1 #7D7EDD

Accessibility & contrast

On white

9.63
#2E30B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#2E30B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E30B2
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E30B2#FFFFFF#000000##FFFFFF
##2E30B21.009.632.189.63
#FFFFFF9.631.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB6
Deuteranopia (green-blind)
#003EB0
Tritanopia (blue-blind)
#00556E
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2e30b2;
/* rgb */ color: rgb(46, 48, 178);
/* oklch */ color: oklch(40.8% 0.198 272.6);
Tailwind
colors: {
  custom: {
    50: '#7c6aca',
    500: '#2e30b2',
    950: '#000000',
  },
}
SCSS
$custom: #2e30b2;
$custom-light: #7c6aca;
$custom-dark: #000000;
JSON
{
  "hex": "#2e30b2",
  "rgb": {
    "r": 46,
    "g": 48,
    "b": 178
  },
  "hsl": {
    "h": 239.091,
    "s": 58.929,
    "l": 43.922
  },
  "oklch": {
    "l": 0.40761,
    "c": 0.19846,
    "h": 272.6
  },
  "luminance": 0.05909
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E30B2

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

Preview Lab → · Contrast checker → · Palette generator →

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