#2E348E#2E348E

#2E348E is a dark, vivid blue. Relative luminance 0.050; OKLCH L 37.9% C 0.147 H 274.1°. Best body text is #FFFFFF at 10.51:1 contrast (WCAG AA passes).

Color values

HEX#2E348E
RGBrgb(46, 52, 142)
HSLhsl(236, 51%, 37%)
HSVhsv(236, 68%, 56%)
CMYKcmyk(67.6%, 63.4%, 0%, 44.3%)
CIE-LABlab(26.70, 27.84, -50.72)
CIE-LCHlch(26.70, 57.86, 298.76°)
OKLaboklab(37.93% 0.0105 -0.1462)
OKLCHoklch(37.93% 0.147 274.1)
XYZxyz(7.2356, 4.9892, 26.1676)
Luminance0.0499 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E348E #8E882E
analogous
#2E648E #2E348E #582E8E
triadic
#2E348E #8E2E34 #348E2E
tetradic
#2E348E #8E2E64 #8E882E #2E8E58
square
#2E348E #8E2E64 #8E882E #2E8E58
split-complementary
#2E348E #8E582E #648E2E
monochromatic
#101232 #1F2360 #2E348E #3D45BC #686FCE

Accessibility & contrast

On white

10.51
#2E348E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#2E348E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E348E
10.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E348E#FFFFFF#000000##FFFFFF
##2E348E1.0010.512.0010.51
#FFFFFF10.511.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004491
Deuteranopia (green-blind)
#003B8C
Tritanopia (blue-blind)
#004B5C
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2e348e;
/* rgb */ color: rgb(46, 52, 142);
/* oklch */ color: oklch(37.9% 0.147 274.1);
Tailwind
colors: {
  custom: {
    50: '#736bb0',
    500: '#2e348e',
    950: '#000000',
  },
}
SCSS
$custom: #2e348e;
$custom-light: #736bb0;
$custom-dark: #000000;
JSON
{
  "hex": "#2e348e",
  "rgb": {
    "r": 46,
    "g": 52,
    "b": 142
  },
  "hsl": {
    "h": 236.25,
    "s": 51.064,
    "l": 36.863
  },
  "oklch": {
    "l": 0.37934,
    "c": 0.14658,
    "h": 274.1
  },
  "luminance": 0.0499
}

Semantic roles & 50–950 ramp

primary
#2E348E
secondary
#B5B063
accent
#D24DDB
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#090611
muted
#7B7A80

Preview Lab

Preview with #2E348E

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

Preview Lab → · Contrast checker → · Palette generator →

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