#2E359D#2E359D

#2E359D is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.5% C 0.166 H 273.0°. Best body text is #FFFFFF at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#2E359D
RGBrgb(46, 53, 157)
HSLhsl(236, 55%, 40%)
HSVhsv(236, 71%, 62%)
CMYKcmyk(70.7%, 66.2%, 0%, 38.4%)
CIE-LABlab(28.28, 32.61, -57.35)
CIE-LCHlch(28.28, 65.97, 299.62°)
OKLaboklab(39.5% 0.0088 -0.1656)
OKLCHoklch(39.5% 0.166 273)
XYZxyz(8.4836, 5.5606, 32.5180)
Luminance0.0556 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E359D #9D962E
analogous
#2E6D9D #2E359D #5E2E9D
triadic
#2E359D #9D2E35 #359D2E
tetradic
#2E359D #9D2E6D #9D962E #2E9D5E
square
#2E359D #9D2E6D #9D962E #2E9D5E
split-complementary
#2E359D #9D5E2E #6D9D2E
monochromatic
#12153E #20256E #2E359D #4149C7 #7077D5

Accessibility & contrast

On white

9.94
#2E359D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#2E359D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E359D
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E359D#FFFFFF#000000##FFFFFF
##2E359D1.009.942.119.94
#FFFFFF9.941.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A0
Deuteranopia (green-blind)
#003E9B
Tritanopia (blue-blind)
#005064
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2e359d;
/* rgb */ color: rgb(46, 53, 157);
/* oklch */ color: oklch(39.5% 0.166 273.0);
Tailwind
colors: {
  custom: {
    50: '#766cbb',
    500: '#2e359d',
    950: '#000000',
  },
}
SCSS
$custom: #2e359d;
$custom-light: #766cbb;
$custom-dark: #000000;
JSON
{
  "hex": "#2e359d",
  "rgb": {
    "r": 46,
    "g": 53,
    "b": 157
  },
  "hsl": {
    "h": 236.216,
    "s": 54.68,
    "l": 39.804
  },
  "oklch": {
    "l": 0.39495,
    "c": 0.16587,
    "h": 273
  },
  "luminance": 0.05561
}

Semantic roles & 50–950 ramp

primary
#2E359D
secondary
#BDB76A
accent
#D54ADE
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #2E359D

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

Preview Lab → · Contrast checker → · Palette generator →

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