#2E34AF#2E34AF

#2E34AF is a dark, vivid blue. Relative luminance 0.061; OKLCH L 41.1% C 0.190 H 272.2°. Best body text is #FFFFFF at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#2E34AF
RGBrgb(46, 52, 175)
HSLhsl(237, 58%, 43%)
HSVhsv(237, 74%, 69%)
CMYKcmyk(73.7%, 70.3%, 0%, 31.4%)
CIE-LABlab(29.74, 39.59, -65.80)
CIE-LCHlch(29.74, 76.79, 301.04°)
OKLaboklab(41.07% 0.0075 -0.1903)
OKLCHoklch(41.07% 0.19 272.2)
XYZxyz(10.0900, 6.1309, 41.2008)
Luminance0.0613 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E34AF #AFA92E
analogous
#2E74AF #2E34AF #682EAF
triadic
#2E34AF #AF2E34 #34AF2E
tetradic
#2E34AF #AF2E74 #AFA92E #2EAF68
square
#2E34AF #AF2E74 #AFA92E #2EAF68
split-complementary
#2E34AF #AF682E #74AF2E
monochromatic
#15174E #21267F #2E34AF #4B51D0 #7B80DC

Accessibility & contrast

On white

9.43
#2E34AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#2E34AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E34AF
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E34AF#FFFFFF#000000##FFFFFF
##2E34AF1.009.432.239.43
#FFFFFF9.431.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.431.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e34af;
/* rgb */ color: rgb(46, 52, 175);
/* oklch */ color: oklch(41.1% 0.190 272.2);
Tailwind
colors: {
  custom: {
    50: '#7b6cc8',
    500: '#2e34af',
    950: '#000000',
  },
}
SCSS
$custom: #2e34af;
$custom-light: #7b6cc8;
$custom-dark: #000000;
JSON
{
  "hex": "#2e34af",
  "rgb": {
    "r": 46,
    "g": 52,
    "b": 175
  },
  "hsl": {
    "h": 237.209,
    "s": 58.371,
    "l": 43.333
  },
  "oklch": {
    "l": 0.41073,
    "c": 0.19049,
    "h": 272.2
  },
  "luminance": 0.06132
}

Semantic roles & 50–950 ramp

primary
#2E34AF
secondary
#C5C174
accent
#DA46E2
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #2E34AF

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

Preview Lab → · Contrast checker → · Palette generator →

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