#2E34B1#2E34B1

#2E34B1 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 41.3% C 0.193 H 272.1°. Best body text is #FFFFFF at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#2E34B1
RGBrgb(46, 52, 177)
HSLhsl(237, 59%, 44%)
HSVhsv(237, 74%, 69%)
CMYKcmyk(74%, 70.6%, 0%, 30.6%)
CIE-LABlab(29.94, 40.28, -66.67)
CIE-LCHlch(29.94, 77.89, 301.14°)
OKLaboklab(41.27% 0.0072 -0.1929)
OKLCHoklch(41.27% 0.193 272.1)
XYZxyz(10.2878, 6.2101, 42.2429)
Luminance0.0621 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E34B1 #B1AB2E
analogous
#2E75B1 #2E34B1 #692EB1
triadic
#2E34B1 #B12E34 #34B12E
tetradic
#2E34B1 #B12E75 #B1AB2E #2EB169
square
#2E34B1 #B12E75 #B1AB2E #2EB169
split-complementary
#2E34B1 #B1692E #75B12E
monochromatic
#151750 #212680 #2E34B1 #4C52D0 #7C81DD

Accessibility & contrast

On white

9.37
#2E34B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#2E34B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E34B1
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E34B1#FFFFFF#000000##FFFFFF
##2E34B11.009.372.249.37
#FFFFFF9.371.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB5
Deuteranopia (green-blind)
#0040AF
Tritanopia (blue-blind)
#00576F
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2e34b1;
/* rgb */ color: rgb(46, 52, 177);
/* oklch */ color: oklch(41.3% 0.193 272.1);
Tailwind
colors: {
  custom: {
    50: '#7b6cc9',
    500: '#2e34b1',
    950: '#000000',
  },
}
SCSS
$custom: #2e34b1;
$custom-light: #7b6cc9;
$custom-dark: #000000;
JSON
{
  "hex": "#2e34b1",
  "rgb": {
    "r": 46,
    "g": 52,
    "b": 177
  },
  "hsl": {
    "h": 237.252,
    "s": 58.744,
    "l": 43.725
  },
  "oklch": {
    "l": 0.41274,
    "c": 0.19301,
    "h": 272.1
  },
  "luminance": 0.06211
}

Semantic roles & 50–950 ramp

primary
#2E34B1
secondary
#C6C275
accent
#DB46E2
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #2E34B1

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

Preview Lab → · Contrast checker → · Palette generator →

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