#2E34BE#2E34BE

#2E34BE is a dark, highly saturated blue. Relative luminance 0.068; OKLCH L 42.6% C 0.209 H 271.5°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#2E34BE
RGBrgb(46, 52, 190)
HSLhsl(238, 61%, 46%)
HSVhsv(238, 76%, 75%)
CMYKcmyk(75.8%, 72.6%, 0%, 25.5%)
CIE-LABlab(31.24, 44.73, -72.23)
CIE-LCHlch(31.24, 84.96, 301.77°)
OKLaboklab(42.6% 0.0054 -0.2091)
OKLCHoklch(42.6% 0.209 271.5)
XYZxyz(11.6458, 6.7533, 49.3950)
Luminance0.0675 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E34BE #BEB82E
analogous
#2E7CBE #2E34BE #702EBE
triadic
#2E34BE #BE2E34 #34BE2E
tetradic
#2E34BE #BE2E7C #BEB82E #2EBE70
square
#2E34BE #BE2E7C #BEB82E #2EBE70
split-complementary
#2E34BE #BE702E #7CBE2E
monochromatic
#16195B #22278D #2E34BE #5459D6 #8589E1

Accessibility & contrast

On white

8.93
#2E34BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#2E34BE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E34BE
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E34BE#FFFFFF#000000##FFFFFF
##2E34BE1.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050C2
Deuteranopia (green-blind)
#0042BC
Tritanopia (blue-blind)
#005C76
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2e34be;
/* rgb */ color: rgb(46, 52, 190);
/* oklch */ color: oklch(42.6% 0.209 271.5);
Tailwind
colors: {
  custom: {
    50: '#7e6dd3',
    500: '#2e34be',
    950: '#000000',
  },
}
SCSS
$custom: #2e34be;
$custom-light: #7e6dd3;
$custom-dark: #000000;
JSON
{
  "hex": "#2e34be",
  "rgb": {
    "r": 46,
    "g": 52,
    "b": 190
  },
  "hsl": {
    "h": 237.5,
    "s": 61.017,
    "l": 46.275
  },
  "oklch": {
    "l": 0.42597,
    "c": 0.20916,
    "h": 271.5
  },
  "luminance": 0.06755
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E34BE

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

Preview Lab → · Contrast checker → · Palette generator →

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