#2E34BC#2E34BC

#2E34BC is a dark, highly saturated blue. Relative luminance 0.067; OKLCH L 42.4% C 0.207 H 271.6°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#2E34BC
RGBrgb(46, 52, 188)
HSLhsl(237, 61%, 46%)
HSVhsv(237, 76%, 74%)
CMYKcmyk(75.5%, 72.3%, 0%, 26.3%)
CIE-LABlab(31.04, 44.05, -71.39)
CIE-LCHlch(31.04, 83.88, 301.68°)
OKLaboklab(42.39% 0.0057 -0.2066)
OKLCHoklch(42.39% 0.207 271.6)
XYZxyz(11.4287, 6.6664, 48.2516)
Luminance0.0667 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E34BC #BCB62E
analogous
#2E7BBC #2E34BC #6F2EBC
triadic
#2E34BC #BC2E34 #34BC2E
tetradic
#2E34BC #BC2E7B #BCB62E #2EBC6F
square
#2E34BC #BC2E7B #BCB62E #2EBC6F
split-complementary
#2E34BC #BC6F2E #7BBC2E
monochromatic
#16195A #22268B #2E34BC #5258D5 #8488E1

Accessibility & contrast

On white

9.00
#2E34BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E34BC
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E34BC#FFFFFF#000000##FFFFFF
##2E34BC1.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050C0
Deuteranopia (green-blind)
#0042BA
Tritanopia (blue-blind)
#005B75
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2e34bc;
/* rgb */ color: rgb(46, 52, 188);
/* oklch */ color: oklch(42.4% 0.207 271.6);
Tailwind
colors: {
  custom: {
    50: '#7e6dd1',
    500: '#2e34bc',
    950: '#000000',
  },
}
SCSS
$custom: #2e34bc;
$custom-light: #7e6dd1;
$custom-dark: #000000;
JSON
{
  "hex": "#2e34bc",
  "rgb": {
    "r": 46,
    "g": 52,
    "b": 188
  },
  "hsl": {
    "h": 237.465,
    "s": 60.684,
    "l": 45.882
  },
  "oklch": {
    "l": 0.42391,
    "c": 0.20671,
    "h": 271.6
  },
  "luminance": 0.06668
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E34BC

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

Preview Lab → · Contrast checker → · Palette generator →

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