#2E34BB#2E34BB

#2E34BB is a dark, highly saturated blue. Relative luminance 0.066; OKLCH L 42.3% C 0.205 H 271.6°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#2E34BB
RGBrgb(46, 52, 187)
HSLhsl(237, 61%, 46%)
HSVhsv(237, 75%, 73%)
CMYKcmyk(75.4%, 72.2%, 0%, 26.7%)
CIE-LABlab(30.93, 43.71, -70.96)
CIE-LCHlch(30.93, 83.34, 301.63°)
OKLaboklab(42.29% 0.0058 -0.2054)
OKLCHoklch(42.29% 0.205 271.6)
XYZxyz(11.3213, 6.6235, 47.6859)
Luminance0.0663 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E34BB #BBB52E
analogous
#2E7ABB #2E34BB #6E2EBB
triadic
#2E34BB #BB2E34 #34BB2E
tetradic
#2E34BB #BB2E7A #BBB52E #2EBB6E
square
#2E34BB #BB2E7A #BBB52E #2EBB6E
split-complementary
#2E34BB #BB6E2E #7ABB2E
monochromatic
#161959 #22268A #2E34BB #5257D4 #8387E0

Accessibility & contrast

On white

9.03
#2E34BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#2E34BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E34BB
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E34BB#FFFFFF#000000##FFFFFF
##2E34BB1.009.032.339.03
#FFFFFF9.031.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050BF
Deuteranopia (green-blind)
#0042B9
Tritanopia (blue-blind)
#005A74
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2e34bb;
/* rgb */ color: rgb(46, 52, 187);
/* oklch */ color: oklch(42.3% 0.205 271.6);
Tailwind
colors: {
  custom: {
    50: '#7e6dd1',
    500: '#2e34bb',
    950: '#000000',
  },
}
SCSS
$custom: #2e34bb;
$custom-light: #7e6dd1;
$custom-dark: #000000;
JSON
{
  "hex": "#2e34bb",
  "rgb": {
    "r": 46,
    "g": 52,
    "b": 187
  },
  "hsl": {
    "h": 237.447,
    "s": 60.515,
    "l": 45.686
  },
  "oklch": {
    "l": 0.42289,
    "c": 0.20548,
    "h": 271.6
  },
  "luminance": 0.06625
}

Semantic roles & 50–950 ramp

primary
#2E34BB
secondary
#CAC67B
accent
#DD44E4
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0714
muted
#7D7A83

Preview Lab

Preview with #2E34BB

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

Preview Lab → · Contrast checker → · Palette generator →

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