#2E36A4#2E36A4

#2E36A4 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.3% C 0.174 H 272.5°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#2E36A4
RGBrgb(46, 54, 164)
HSLhsl(236, 56%, 41%)
HSVhsv(236, 72%, 64%)
CMYKcmyk(72%, 67.1%, 0%, 35.7%)
CIE-LABlab(29.16, 34.48, -60.15)
CIE-LCHlch(29.16, 69.33, 299.82°)
OKLaboklab(40.33% 0.0075 -0.1738)
OKLCHoklch(40.33% 0.174 272.5)
XYZxyz(9.1445, 5.8986, 35.7714)
Luminance0.0590 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E36A4 #A49C2E
analogous
#2E71A4 #2E36A4 #612EA4
triadic
#2E36A4 #A42E36 #36A42E
tetradic
#2E36A4 #A42E71 #A49C2E #2EA461
square
#2E36A4 #A42E71 #A49C2E #2EA461
split-complementary
#2E36A4 #A4612E #71A42E
monochromatic
#131744 #212674 #2E36A4 #454ECB #747BD8

Accessibility & contrast

On white

9.63
#2E36A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#2E36A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E36A4
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E36A4#FFFFFF#000000##FFFFFF
##2E36A41.009.632.189.63
#FFFFFF9.631.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA7
Deuteranopia (green-blind)
#003FA2
Tritanopia (blue-blind)
#005368
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2e36a4;
/* rgb */ color: rgb(46, 54, 164);
/* oklch */ color: oklch(40.3% 0.174 272.5);
Tailwind
colors: {
  custom: {
    50: '#786dc0',
    500: '#2e36a4',
    950: '#000000',
  },
}
SCSS
$custom: #2e36a4;
$custom-light: #786dc0;
$custom-dark: #000000;
JSON
{
  "hex": "#2e36a4",
  "rgb": {
    "r": 46,
    "g": 54,
    "b": 164
  },
  "hsl": {
    "h": 235.932,
    "s": 56.19,
    "l": 41.176
  },
  "oklch": {
    "l": 0.40332,
    "c": 0.17399,
    "h": 272.5
  },
  "luminance": 0.059
}

Semantic roles & 50–950 ramp

primary
#2E36A4
secondary
#C0BA6E
accent
#D548DF
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #2E36A4

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

Preview Lab → · Contrast checker → · Palette generator →

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