#2E30AE#2E30AE

#2E30AE is a dark, vivid blue. Relative luminance 0.058; OKLCH L 40.3% C 0.193 H 272.9°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#2E30AE
RGBrgb(46, 48, 174)
HSLhsl(239, 58%, 43%)
HSVhsv(239, 74%, 68%)
CMYKcmyk(73.6%, 72.4%, 0%, 31.8%)
CIE-LABlab(28.77, 41.64, -66.79)
CIE-LCHlch(28.77, 78.71, 301.94°)
OKLaboklab(40.35% 0.0098 -0.1932)
OKLCHoklch(40.35% 0.193 272.9)
XYZxyz(9.8211, 5.7497, 40.6284)
Luminance0.0575 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E30AE #AEAC2E
analogous
#2E70AE #2E30AE #6C2EAE
triadic
#2E30AE #AE2E30 #30AE2E
tetradic
#2E30AE #AE2E70 #AEAC2E #2EAE6C
square
#2E30AE #AE2E70 #AEAC2E #2EAE6C
split-complementary
#2E30AE #AE6C2E #70AE2E
monochromatic
#14154D #21237E #2E30AE #4A4CCF #7A7CDC

Accessibility & contrast

On white

9.77
#2E30AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#2E30AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E30AE
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E30AE#FFFFFF#000000##FFFFFF
##2E30AE1.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB2
Deuteranopia (green-blind)
#003EAC
Tritanopia (blue-blind)
#00546C
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2e30ae;
/* rgb */ color: rgb(46, 48, 174);
/* oklch */ color: oklch(40.3% 0.193 272.9);
Tailwind
colors: {
  custom: {
    50: '#7b69c7',
    500: '#2e30ae',
    950: '#000000',
  },
}
SCSS
$custom: #2e30ae;
$custom-light: #7b69c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2e30ae",
  "rgb": {
    "r": 46,
    "g": 48,
    "b": 174
  },
  "hsl": {
    "h": 239.063,
    "s": 58.182,
    "l": 43.137
  },
  "oklch": {
    "l": 0.40349,
    "c": 0.19349,
    "h": 272.9
  },
  "luminance": 0.05751
}

Semantic roles & 50–950 ramp

primary
#2E30AE
secondary
#C4C374
accent
#DF46E1
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2E30AE

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

Preview Lab → · Contrast checker → · Palette generator →

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