#2E358E#2E358E

#2E358E is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.1% C 0.145 H 273.8°. Best body text is #FFFFFF at 10.42:1 contrast (WCAG AA passes).

Color values

HEX#2E358E
RGBrgb(46, 53, 142)
HSLhsl(236, 51%, 37%)
HSVhsv(236, 68%, 56%)
CMYKcmyk(67.6%, 62.7%, 0%, 44.3%)
CIE-LABlab(26.96, 27.18, -50.30)
CIE-LCHlch(26.96, 57.17, 298.38°)
OKLaboklab(38.12% 0.0097 -0.145)
OKLCHoklch(38.12% 0.145 273.8)
XYZxyz(7.2807, 5.0794, 26.1827)
Luminance0.0508 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E358E #8E872E
analogous
#2E658E #2E358E #572E8E
triadic
#2E358E #8E2E35 #358E2E
tetradic
#2E358E #8E2E65 #8E872E #2E8E57
square
#2E358E #8E2E65 #8E872E #2E8E57
split-complementary
#2E358E #8E572E #658E2E
monochromatic
#101232 #1F2460 #2E358E #3D46BC #6870CE

Accessibility & contrast

On white

10.42
#2E358E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#2E358E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E358E
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E358E#FFFFFF#000000##FFFFFF
##2E358E1.0010.422.0210.42
#FFFFFF10.421.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.421.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e358e;
/* rgb */ color: rgb(46, 53, 142);
/* oklch */ color: oklch(38.1% 0.145 273.8);
Tailwind
colors: {
  custom: {
    50: '#736cb0',
    500: '#2e358e',
    950: '#000000',
  },
}
SCSS
$custom: #2e358e;
$custom-light: #736cb0;
$custom-dark: #000000;
JSON
{
  "hex": "#2e358e",
  "rgb": {
    "r": 46,
    "g": 53,
    "b": 142
  },
  "hsl": {
    "h": 235.625,
    "s": 51.064,
    "l": 36.863
  },
  "oklch": {
    "l": 0.38122,
    "c": 0.14529,
    "h": 273.8
  },
  "luminance": 0.0508
}

Semantic roles & 50–950 ramp

primary
#2E358E
secondary
#B5AF63
accent
#D04DDB
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#090711
muted
#7B7A80

Preview Lab

Preview with #2E358E

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

Preview Lab → · Contrast checker → · Palette generator →

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