#2E36A7#2E36A7

#2E36A7 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.6% C 0.178 H 272.3°. Best body text is #FFFFFF at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#2E36A7
RGBrgb(46, 54, 167)
HSLhsl(236, 57%, 42%)
HSVhsv(236, 72%, 65%)
CMYKcmyk(72.5%, 67.7%, 0%, 34.5%)
CIE-LABlab(29.43, 35.54, -61.50)
CIE-LCHlch(29.43, 71.03, 300.02°)
OKLaboklab(40.62% 0.0072 -0.1778)
OKLCHoklch(40.62% 0.178 272.3)
XYZxyz(9.4186, 6.0083, 37.2151)
Luminance0.0601 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E36A7 #A79F2E
analogous
#2E73A7 #2E36A7 #632EA7
triadic
#2E36A7 #A72E36 #36A72E
tetradic
#2E36A7 #A72E73 #A79F2E #2EA763
square
#2E36A7 #A72E73 #A79F2E #2EA763
split-complementary
#2E36A7 #A7632E #73A72E
monochromatic
#141747 #212677 #2E36A7 #464FCC #767DD9

Accessibility & contrast

On white

9.54
#2E36A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#2E36A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E36A7
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E36A7#FFFFFF#000000##FFFFFF
##2E36A71.009.542.209.54
#FFFFFF9.541.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BAB
Deuteranopia (green-blind)
#0040A5
Tritanopia (blue-blind)
#00546A
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2e36a7;
/* rgb */ color: rgb(46, 54, 167);
/* oklch */ color: oklch(40.6% 0.178 272.3);
Tailwind
colors: {
  custom: {
    50: '#796dc2',
    500: '#2e36a7',
    950: '#000000',
  },
}
SCSS
$custom: #2e36a7;
$custom-light: #796dc2;
$custom-dark: #000000;
JSON
{
  "hex": "#2e36a7",
  "rgb": {
    "r": 46,
    "g": 54,
    "b": 167
  },
  "hsl": {
    "h": 236.033,
    "s": 56.808,
    "l": 41.765
  },
  "oklch": {
    "l": 0.40619,
    "c": 0.17793,
    "h": 272.3
  },
  "luminance": 0.06009
}

Semantic roles & 50–950 ramp

primary
#2E36A7
secondary
#C1BC70
accent
#D648E0
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0A0713
muted
#7C7A82

Preview Lab

Preview with #2E36A7

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

Preview Lab → · Contrast checker → · Palette generator →

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