#2E34BD#2E34BD

#2E34BD is a dark, highly saturated blue. Relative luminance 0.067; OKLCH L 42.5% C 0.208 H 271.5°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#2E34BD
RGBrgb(46, 52, 189)
HSLhsl(237, 61%, 46%)
HSVhsv(237, 76%, 74%)
CMYKcmyk(75.7%, 72.5%, 0%, 25.9%)
CIE-LABlab(31.14, 44.39, -71.81)
CIE-LCHlch(31.14, 84.42, 301.72°)
OKLaboklab(42.49% 0.0055 -0.2079)
OKLCHoklch(42.49% 0.208 271.5)
XYZxyz(11.5369, 6.7097, 48.8213)
Luminance0.0671 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E34BD #BDB72E
analogous
#2E7BBD #2E34BD #702EBD
triadic
#2E34BD #BD2E34 #34BD2E
tetradic
#2E34BD #BD2E7B #BDB72E #2EBD70
square
#2E34BD #BD2E7B #BDB72E #2EBD70
split-complementary
#2E34BD #BD702E #7BBD2E
monochromatic
#16195B #22268C #2E34BD #5359D5 #8488E1

Accessibility & contrast

On white

8.97
#2E34BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#2E34BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E34BD
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E34BD#FFFFFF#000000##FFFFFF
##2E34BD1.008.972.348.97
#FFFFFF8.971.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.971.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e34bd;
/* rgb */ color: rgb(46, 52, 189);
/* oklch */ color: oklch(42.5% 0.208 271.5);
Tailwind
colors: {
  custom: {
    50: '#7e6dd2',
    500: '#2e34bd',
    950: '#000000',
  },
}
SCSS
$custom: #2e34bd;
$custom-light: #7e6dd2;
$custom-dark: #000000;
JSON
{
  "hex": "#2e34bd",
  "rgb": {
    "r": 46,
    "g": 52,
    "b": 189
  },
  "hsl": {
    "h": 237.483,
    "s": 60.851,
    "l": 46.078
  },
  "oklch": {
    "l": 0.42494,
    "c": 0.20793,
    "h": 271.5
  },
  "luminance": 0.06711
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E34BD

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

Preview Lab → · Contrast checker → · Palette generator →

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