#2E30AC#2E30AC

#2E30AC is a dark, vivid blue. Relative luminance 0.057; OKLCH L 40.1% C 0.191 H 273.0°. Best body text is #FFFFFF at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#2E30AC
RGBrgb(46, 48, 172)
HSLhsl(239, 58%, 43%)
HSVhsv(239, 73%, 67%)
CMYKcmyk(73.3%, 72.1%, 0%, 32.5%)
CIE-LABlab(28.57, 40.96, -65.93)
CIE-LCHlch(28.57, 77.62, 301.85°)
OKLaboklab(40.14% 0.0101 -0.1907)
OKLCHoklch(40.14% 0.191 273)
XYZxyz(9.6276, 5.6723, 39.6092)
Luminance0.0567 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E30AC #ACAA2E
analogous
#2E6FAC #2E30AC #6B2EAC
triadic
#2E30AC #AC2E30 #30AC2E
tetradic
#2E30AC #AC2E6F #ACAA2E #2EAC6B
square
#2E30AC #AC2E6F #ACAA2E #2EAC6B
split-complementary
#2E30AC #AC6B2E #6FAC2E
monochromatic
#14154B #21237C #2E30AC #494BCE #797BDB

Accessibility & contrast

On white

9.84
#2E30AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#2E30AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E30AC
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E30AC#FFFFFF#000000##FFFFFF
##2E30AC1.009.842.139.84
#FFFFFF9.841.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B0
Deuteranopia (green-blind)
#003DAA
Tritanopia (blue-blind)
#00536B
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2e30ac;
/* rgb */ color: rgb(46, 48, 172);
/* oklch */ color: oklch(40.1% 0.191 273.0);
Tailwind
colors: {
  custom: {
    50: '#7a69c6',
    500: '#2e30ac',
    950: '#000000',
  },
}
SCSS
$custom: #2e30ac;
$custom-light: #7a69c6;
$custom-dark: #000000;
JSON
{
  "hex": "#2e30ac",
  "rgb": {
    "r": 46,
    "g": 48,
    "b": 172
  },
  "hsl": {
    "h": 239.048,
    "s": 57.798,
    "l": 42.745
  },
  "oklch": {
    "l": 0.40144,
    "c": 0.19098,
    "h": 273
  },
  "luminance": 0.05673
}

Semantic roles & 50–950 ramp

primary
#2E30AC
secondary
#C3C272
accent
#DF47E1
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2E30AC

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

Preview Lab → · Contrast checker → · Palette generator →

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