#2E34B9#2E34B9

#2E34B9 is a dark, highly saturated blue. Relative luminance 0.065; OKLCH L 42.1% C 0.203 H 271.7°. Best body text is #FFFFFF at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#2E34B9
RGBrgb(46, 52, 185)
HSLhsl(237, 60%, 45%)
HSVhsv(237, 75%, 73%)
CMYKcmyk(75.1%, 71.9%, 0%, 27.5%)
CIE-LABlab(30.73, 43.03, -70.11)
CIE-LCHlch(30.73, 82.26, 301.54°)
OKLaboklab(42.08% 0.0061 -0.2029)
OKLCHoklch(42.08% 0.203 271.7)
XYZxyz(11.1087, 6.5384, 46.5661)
Luminance0.0654 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E34B9 #B9B32E
analogous
#2E79B9 #2E34B9 #6D2EB9
triadic
#2E34B9 #B92E34 #34B92E
tetradic
#2E34B9 #B92E79 #B9B32E #2EB96D
square
#2E34B9 #B92E79 #B9B32E #2EB96D
split-complementary
#2E34B9 #B96D2E #79B92E
monochromatic
#161857 #222688 #2E34B9 #5156D4 #8286E0

Accessibility & contrast

On white

9.10
#2E34B9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#2E34B9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E34B9
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E34B9#FFFFFF#000000##FFFFFF
##2E34B91.009.102.319.10
#FFFFFF9.101.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FBD
Deuteranopia (green-blind)
#0042B7
Tritanopia (blue-blind)
#005A73
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2e34b9;
/* rgb */ color: rgb(46, 52, 185);
/* oklch */ color: oklch(42.1% 0.203 271.7);
Tailwind
colors: {
  custom: {
    50: '#7d6ccf',
    500: '#2e34b9',
    950: '#000000',
  },
}
SCSS
$custom: #2e34b9;
$custom-light: #7d6ccf;
$custom-dark: #000000;
JSON
{
  "hex": "#2e34b9",
  "rgb": {
    "r": 46,
    "g": 52,
    "b": 185
  },
  "hsl": {
    "h": 237.41,
    "s": 60.173,
    "l": 45.294
  },
  "oklch": {
    "l": 0.42084,
    "c": 0.20301,
    "h": 271.7
  },
  "luminance": 0.0654
}

Semantic roles & 50–950 ramp

primary
#2E34B9
secondary
#C9C57A
accent
#DC44E3
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0B0714
muted
#7C7A82

Preview Lab

Preview with #2E34B9

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

Preview Lab → · Contrast checker → · Palette generator →

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