#2E359E#2E359E

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

Color values

HEX#2E359E
RGBrgb(46, 53, 158)
HSLhsl(236, 55%, 40%)
HSVhsv(236, 71%, 62%)
CMYKcmyk(70.9%, 66.5%, 0%, 38%)
CIE-LABlab(28.37, 32.97, -57.81)
CIE-LCHlch(28.37, 66.55, 299.70°)
OKLaboklab(39.59% 0.0087 -0.167)
OKLCHoklch(39.59% 0.167 273)
XYZxyz(8.5693, 5.5948, 32.9694)
Luminance0.0560 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E359E #9E972E
analogous
#2E6D9E #2E359E #5F2E9E
triadic
#2E359E #9E2E35 #359E2E
tetradic
#2E359E #9E2E6D #9E972E #2E9E5F
square
#2E359E #9E2E6D #9E972E #2E9E5F
split-complementary
#2E359E #9E5F2E #6D9E2E
monochromatic
#12153F #20256F #2E359E #414AC8 #7177D6

Accessibility & contrast

On white

9.91
#2E359E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#2E359E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E359E
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E359E#FFFFFF#000000##FFFFFF
##2E359E1.009.912.129.91
#FFFFFF9.911.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A1
Deuteranopia (green-blind)
#003E9C
Tritanopia (blue-blind)
#005164
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2e359e;
/* rgb */ color: rgb(46, 53, 158);
/* oklch */ color: oklch(39.6% 0.167 273.0);
Tailwind
colors: {
  custom: {
    50: '#776cbc',
    500: '#2e359e',
    950: '#000000',
  },
}
SCSS
$custom: #2e359e;
$custom-light: #776cbc;
$custom-dark: #000000;
JSON
{
  "hex": "#2e359e",
  "rgb": {
    "r": 46,
    "g": 53,
    "b": 158
  },
  "hsl": {
    "h": 236.25,
    "s": 54.902,
    "l": 40
  },
  "oklch": {
    "l": 0.39589,
    "c": 0.1672,
    "h": 273
  },
  "luminance": 0.05596
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E359E

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

Preview Lab → · Contrast checker → · Palette generator →

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