#2E36A1#2E36A1

#2E36A1 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 40.0% C 0.170 H 272.6°. Best body text is #FFFFFF at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#2E36A1
RGBrgb(46, 54, 161)
HSLhsl(236, 56%, 41%)
HSVhsv(236, 71%, 63%)
CMYKcmyk(71.4%, 66.5%, 0%, 36.9%)
CIE-LABlab(28.88, 33.40, -58.79)
CIE-LCHlch(28.88, 67.61, 299.61°)
OKLaboklab(40.05% 0.0077 -0.1698)
OKLCHoklch(40.05% 0.17 272.6)
XYZxyz(8.8767, 5.7915, 34.3614)
Luminance0.0579 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E36A1 #A1992E
analogous
#2E6FA1 #2E36A1 #5F2EA1
triadic
#2E36A1 #A12E36 #36A12E
tetradic
#2E36A1 #A12E6F #A1992E #2EA15F
square
#2E36A1 #A12E6F #A1992E #2EA15F
split-complementary
#2E36A1 #A15F2E #6FA12E
monochromatic
#131642 #202671 #2E36A1 #434CC9 #737AD7

Accessibility & contrast

On white

9.73
#2E36A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#2E36A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E36A1
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E36A1#FFFFFF#000000##FFFFFF
##2E36A11.009.732.169.73
#FFFFFF9.731.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A4
Deuteranopia (green-blind)
#003F9F
Tritanopia (blue-blind)
#005266
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2e36a1;
/* rgb */ color: rgb(46, 54, 161);
/* oklch */ color: oklch(40.0% 0.170 272.6);
Tailwind
colors: {
  custom: {
    50: '#776dbe',
    500: '#2e36a1',
    950: '#000000',
  },
}
SCSS
$custom: #2e36a1;
$custom-light: #776dbe;
$custom-dark: #000000;
JSON
{
  "hex": "#2e36a1",
  "rgb": {
    "r": 46,
    "g": 54,
    "b": 161
  },
  "hsl": {
    "h": 235.826,
    "s": 55.556,
    "l": 40.588
  },
  "oklch": {
    "l": 0.40048,
    "c": 0.17002,
    "h": 272.6
  },
  "luminance": 0.05792
}

Semantic roles & 50–950 ramp

primary
#2E36A1
secondary
#BEB96C
accent
#D449DF
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #2E36A1

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

Preview Lab → · Contrast checker → · Palette generator →

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