#2E34BF#2E34BF

#2E34BF is a dark, highly saturated blue. Relative luminance 0.068; OKLCH L 42.7% C 0.210 H 271.4°. Best body text is #FFFFFF at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#2E34BF
RGBrgb(46, 52, 191)
HSLhsl(238, 61%, 46%)
HSVhsv(238, 76%, 75%)
CMYKcmyk(75.9%, 72.8%, 0%, 25.1%)
CIE-LABlab(31.34, 45.06, -72.65)
CIE-LCHlch(31.34, 85.49, 301.81°)
OKLaboklab(42.7% 0.0052 -0.2103)
OKLCHoklch(42.7% 0.21 271.4)
XYZxyz(11.7555, 6.7971, 49.9725)
Luminance0.0680 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E34BF #BFB92E
analogous
#2E7DBF #2E34BF #712EBF
triadic
#2E34BF #BF2E34 #34BF2E
tetradic
#2E34BF #BF2E7D #BFB92E #2EBF71
square
#2E34BF #BF2E7D #BFB92E #2EBF71
split-complementary
#2E34BF #BF712E #7DBF2E
monochromatic
#16195C #22278E #2E34BF #545AD6 #8689E2

Accessibility & contrast

On white

8.90
#2E34BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#2E34BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E34BF
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E34BF#FFFFFF#000000##FFFFFF
##2E34BF1.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051C3
Deuteranopia (green-blind)
#0043BD
Tritanopia (blue-blind)
#005C76
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2e34bf;
/* rgb */ color: rgb(46, 52, 191);
/* oklch */ color: oklch(42.7% 0.210 271.4);
Tailwind
colors: {
  custom: {
    50: '#7f6dd4',
    500: '#2e34bf',
    950: '#000000',
  },
}
SCSS
$custom: #2e34bf;
$custom-light: #7f6dd4;
$custom-dark: #000000;
JSON
{
  "hex": "#2e34bf",
  "rgb": {
    "r": 46,
    "g": 52,
    "b": 191
  },
  "hsl": {
    "h": 237.517,
    "s": 61.181,
    "l": 46.471
  },
  "oklch": {
    "l": 0.42701,
    "c": 0.21038,
    "h": 271.4
  },
  "luminance": 0.06798
}

Semantic roles & 50–950 ramp

primary
#2E34BF
secondary
#CBC87E
accent
#DE44E4
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0714
muted
#7D7A83

Preview Lab

Preview with #2E34BF

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

Preview Lab → · Contrast checker → · Palette generator →

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