#2E34AA#2E34AA

#2E34AA is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.6% C 0.184 H 272.5°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#2E34AA
RGBrgb(46, 52, 170)
HSLhsl(237, 57%, 42%)
HSVhsv(237, 73%, 67%)
CMYKcmyk(72.9%, 69.4%, 0%, 33.3%)
CIE-LABlab(29.26, 37.85, -63.60)
CIE-LCHlch(29.26, 74.01, 300.76°)
OKLaboklab(40.58% 0.0081 -0.1839)
OKLCHoklch(40.58% 0.184 272.5)
XYZxyz(9.6080, 5.9381, 38.6622)
Luminance0.0594 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E34AA #AAA42E
analogous
#2E72AA #2E34AA #662EAA
triadic
#2E34AA #AA2E34 #34AA2E
tetradic
#2E34AA #AA2E72 #AAA42E #2EAA66
square
#2E34AA #AA2E72 #AAA42E #2EAA66
split-complementary
#2E34AA #AA662E #72AA2E
monochromatic
#14174A #21257A #2E34AA #484ECD #787DDA

Accessibility & contrast

On white

9.60
#2E34AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#2E34AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E34AA
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E34AA#FFFFFF#000000##FFFFFF
##2E34AA1.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BAE
Deuteranopia (green-blind)
#003FA8
Tritanopia (blue-blind)
#00546B
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2e34aa;
/* rgb */ color: rgb(46, 52, 170);
/* oklch */ color: oklch(40.6% 0.184 272.5);
Tailwind
colors: {
  custom: {
    50: '#7a6cc4',
    500: '#2e34aa',
    950: '#000000',
  },
}
SCSS
$custom: #2e34aa;
$custom-light: #7a6cc4;
$custom-dark: #000000;
JSON
{
  "hex": "#2e34aa",
  "rgb": {
    "r": 46,
    "g": 52,
    "b": 170
  },
  "hsl": {
    "h": 237.097,
    "s": 57.407,
    "l": 42.353
  },
  "oklch": {
    "l": 0.40577,
    "c": 0.1841,
    "h": 272.5
  },
  "luminance": 0.05939
}

Semantic roles & 50–950 ramp

primary
#2E34AA
secondary
#C3BF71
accent
#D947E1
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #2E34AA

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

Preview Lab → · Contrast checker → · Palette generator →

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