#2E34B3#2E34B3

#2E34B3 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 41.5% C 0.196 H 272.0°. Best body text is #FFFFFF at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#2E34B3
RGBrgb(46, 52, 179)
HSLhsl(237, 59%, 44%)
HSVhsv(237, 74%, 70%)
CMYKcmyk(74.3%, 70.9%, 0%, 29.8%)
CIE-LABlab(30.13, 40.97, -67.53)
CIE-LCHlch(30.13, 78.99, 301.25°)
OKLaboklab(41.48% 0.0069 -0.1954)
OKLCHoklch(41.48% 0.196 272)
XYZxyz(10.4886, 6.2904, 43.3005)
Luminance0.0629 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E34B3 #B3AD2E
analogous
#2E77B3 #2E34B3 #6B2EB3
triadic
#2E34B3 #B32E34 #34B32E
tetradic
#2E34B3 #B32E77 #B3AD2E #2EB36B
square
#2E34B3 #B32E77 #B3AD2E #2EB36B
split-complementary
#2E34B3 #B36B2E #77B32E
monochromatic
#151852 #212682 #2E34B3 #4D53D1 #7E82DE

Accessibility & contrast

On white

9.30
#2E34B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#2E34B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E34B3
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E34B3#FFFFFF#000000##FFFFFF
##2E34B31.009.302.269.30
#FFFFFF9.301.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB7
Deuteranopia (green-blind)
#0041B1
Tritanopia (blue-blind)
#005770
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2e34b3;
/* rgb */ color: rgb(46, 52, 179);
/* oklch */ color: oklch(41.5% 0.196 272.0);
Tailwind
colors: {
  custom: {
    50: '#7c6ccb',
    500: '#2e34b3',
    950: '#000000',
  },
}
SCSS
$custom: #2e34b3;
$custom-light: #7c6ccb;
$custom-dark: #000000;
JSON
{
  "hex": "#2e34b3",
  "rgb": {
    "r": 46,
    "g": 52,
    "b": 179
  },
  "hsl": {
    "h": 237.293,
    "s": 59.111,
    "l": 44.118
  },
  "oklch": {
    "l": 0.41475,
    "c": 0.19553,
    "h": 272
  },
  "luminance": 0.06291
}

Semantic roles & 50–950 ramp

primary
#2E34B3
secondary
#C6C376
accent
#DB46E2
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #2E34B3

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

Preview Lab → · Contrast checker → · Palette generator →

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