#2E34A9#2E34A9

#2E34A9 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.5% C 0.183 H 272.6°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#2E34A9
RGBrgb(46, 52, 169)
HSLhsl(237, 57%, 42%)
HSVhsv(237, 73%, 66%)
CMYKcmyk(72.8%, 69.2%, 0%, 33.7%)
CIE-LABlab(29.16, 37.50, -63.15)
CIE-LCHlch(29.16, 73.45, 300.70°)
OKLaboklab(40.48% 0.0082 -0.1826)
OKLCHoklch(40.48% 0.183 272.6)
XYZxyz(9.5137, 5.9004, 38.1659)
Luminance0.0590 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E34A9 #A9A32E
analogous
#2E72A9 #2E34A9 #662EA9
triadic
#2E34A9 #A92E34 #34A92E
tetradic
#2E34A9 #A92E72 #A9A32E #2EA966
square
#2E34A9 #A92E72 #A9A32E #2EA966
split-complementary
#2E34A9 #A9662E #72A92E
monochromatic
#141649 #212579 #2E34A9 #474ECD #777CDA

Accessibility & contrast

On white

9.63
#2E34A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#2E34A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E34A9
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E34A9#FFFFFF#000000##FFFFFF
##2E34A91.009.632.189.63
#FFFFFF9.631.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BAD
Deuteranopia (green-blind)
#003FA7
Tritanopia (blue-blind)
#00546A
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2e34a9;
/* rgb */ color: rgb(46, 52, 169);
/* oklch */ color: oklch(40.5% 0.183 272.6);
Tailwind
colors: {
  custom: {
    50: '#796cc4',
    500: '#2e34a9',
    950: '#000000',
  },
}
SCSS
$custom: #2e34a9;
$custom-light: #796cc4;
$custom-dark: #000000;
JSON
{
  "hex": "#2e34a9",
  "rgb": {
    "r": 46,
    "g": 52,
    "b": 169
  },
  "hsl": {
    "h": 237.073,
    "s": 57.209,
    "l": 42.157
  },
  "oklch": {
    "l": 0.40479,
    "c": 0.1828,
    "h": 272.6
  },
  "luminance": 0.05901
}

Semantic roles & 50–950 ramp

primary
#2E34A9
secondary
#C2BE71
accent
#D947E0
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #2E34A9

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

Preview Lab → · Contrast checker → · Palette generator →

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