#2E34AC#2E34AC

#2E34AC is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.8% C 0.187 H 272.4°. Best body text is #FFFFFF at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#2E34AC
RGBrgb(46, 52, 172)
HSLhsl(237, 58%, 43%)
HSVhsv(237, 73%, 67%)
CMYKcmyk(73.3%, 69.8%, 0%, 32.5%)
CIE-LABlab(29.45, 38.55, -64.48)
CIE-LCHlch(29.45, 75.12, 300.87°)
OKLaboklab(40.78% 0.0078 -0.1865)
OKLCHoklch(40.78% 0.187 272.4)
XYZxyz(9.7986, 6.0144, 39.6662)
Luminance0.0602 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E34AC #ACA62E
analogous
#2E73AC #2E34AC #672EAC
triadic
#2E34AC #AC2E34 #34AC2E
tetradic
#2E34AC #AC2E73 #ACA62E #2EAC67
square
#2E34AC #AC2E73 #ACA62E #2EAC67
split-complementary
#2E34AC #AC672E #73AC2E
monochromatic
#14174B #21257C #2E34AC #494FCE #797EDB

Accessibility & contrast

On white

9.53
#2E34AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#2E34AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E34AC
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E34AC#FFFFFF#000000##FFFFFF
##2E34AC1.009.532.209.53
#FFFFFF9.531.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB0
Deuteranopia (green-blind)
#003FAA
Tritanopia (blue-blind)
#00556C
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2e34ac;
/* rgb */ color: rgb(46, 52, 172);
/* oklch */ color: oklch(40.8% 0.187 272.4);
Tailwind
colors: {
  custom: {
    50: '#7a6cc6',
    500: '#2e34ac',
    950: '#000000',
  },
}
SCSS
$custom: #2e34ac;
$custom-light: #7a6cc6;
$custom-dark: #000000;
JSON
{
  "hex": "#2e34ac",
  "rgb": {
    "r": 46,
    "g": 52,
    "b": 172
  },
  "hsl": {
    "h": 237.143,
    "s": 57.798,
    "l": 42.745
  },
  "oklch": {
    "l": 0.40775,
    "c": 0.18666,
    "h": 272.4
  },
  "luminance": 0.06015
}

Semantic roles & 50–950 ramp

primary
#2E34AC
secondary
#C3C072
accent
#DA47E1
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #2E34AC

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

Preview Lab → · Contrast checker → · Palette generator →

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