#2E34AE#2E34AE

#2E34AE is a dark, vivid blue. Relative luminance 0.061; OKLCH L 41.0% C 0.189 H 272.3°. Best body text is #FFFFFF at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#2E34AE
RGBrgb(46, 52, 174)
HSLhsl(237, 58%, 43%)
HSVhsv(237, 74%, 68%)
CMYKcmyk(73.6%, 70.1%, 0%, 31.8%)
CIE-LABlab(29.64, 39.24, -65.36)
CIE-LCHlch(29.64, 76.24, 300.98°)
OKLaboklab(40.97% 0.0076 -0.1891)
OKLCHoklch(40.97% 0.189 272.3)
XYZxyz(9.9921, 6.0918, 40.6854)
Luminance0.0609 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E34AE #AEA82E
analogous
#2E74AE #2E34AE #682EAE
triadic
#2E34AE #AE2E34 #34AE2E
tetradic
#2E34AE #AE2E74 #AEA82E #2EAE68
square
#2E34AE #AE2E74 #AEA82E #2EAE68
split-complementary
#2E34AE #AE682E #74AE2E
monochromatic
#14174D #21267E #2E34AE #4A50CF #7A7FDC

Accessibility & contrast

On white

9.47
#2E34AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#2E34AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E34AE
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E34AE#FFFFFF#000000##FFFFFF
##2E34AE1.009.472.229.47
#FFFFFF9.471.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB2
Deuteranopia (green-blind)
#0040AC
Tritanopia (blue-blind)
#00566D
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2e34ae;
/* rgb */ color: rgb(46, 52, 174);
/* oklch */ color: oklch(41.0% 0.189 272.3);
Tailwind
colors: {
  custom: {
    50: '#7a6cc7',
    500: '#2e34ae',
    950: '#000000',
  },
}
SCSS
$custom: #2e34ae;
$custom-light: #7a6cc7;
$custom-dark: #000000;
JSON
{
  "hex": "#2e34ae",
  "rgb": {
    "r": 46,
    "g": 52,
    "b": 174
  },
  "hsl": {
    "h": 237.188,
    "s": 58.182,
    "l": 43.137
  },
  "oklch": {
    "l": 0.40974,
    "c": 0.18921,
    "h": 272.3
  },
  "luminance": 0.06093
}

Semantic roles & 50–950 ramp

primary
#2E34AE
secondary
#C4C074
accent
#DA46E1
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #2E34AE

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

Preview Lab → · Contrast checker → · Palette generator →

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