#2E36A5#2E36A5

#2E36A5 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.4% C 0.175 H 272.4°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#2E36A5
RGBrgb(46, 54, 165)
HSLhsl(236, 56%, 41%)
HSVhsv(236, 72%, 65%)
CMYKcmyk(72.1%, 67.3%, 0%, 35.3%)
CIE-LABlab(29.25, 34.83, -60.60)
CIE-LCHlch(29.25, 69.90, 299.89°)
OKLaboklab(40.43% 0.0074 -0.1752)
OKLCHoklch(40.43% 0.175 272.4)
XYZxyz(9.2351, 5.9349, 36.2489)
Luminance0.0594 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E36A5 #A59D2E
analogous
#2E72A5 #2E36A5 #622EA5
triadic
#2E36A5 #A52E36 #36A52E
tetradic
#2E36A5 #A52E72 #A59D2E #2EA562
square
#2E36A5 #A52E72 #A59D2E #2EA562
split-complementary
#2E36A5 #A5622E #72A52E
monochromatic
#131745 #212675 #2E36A5 #454ECB #757CD8

Accessibility & contrast

On white

9.60
#2E36A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#2E36A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E36A5
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E36A5#FFFFFF#000000##FFFFFF
##2E36A51.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA8
Deuteranopia (green-blind)
#003FA3
Tritanopia (blue-blind)
#005469
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2e36a5;
/* rgb */ color: rgb(46, 54, 165);
/* oklch */ color: oklch(40.4% 0.175 272.4);
Tailwind
colors: {
  custom: {
    50: '#786dc1',
    500: '#2e36a5',
    950: '#000000',
  },
}
SCSS
$custom: #2e36a5;
$custom-light: #786dc1;
$custom-dark: #000000;
JSON
{
  "hex": "#2e36a5",
  "rgb": {
    "r": 46,
    "g": 54,
    "b": 165
  },
  "hsl": {
    "h": 235.966,
    "s": 56.398,
    "l": 41.373
  },
  "oklch": {
    "l": 0.40428,
    "c": 0.17531,
    "h": 272.4
  },
  "luminance": 0.05936
}

Semantic roles & 50–950 ramp

primary
#2E36A5
secondary
#C0BB6F
accent
#D548E0
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #2E36A5

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

Preview Lab → · Contrast checker → · Palette generator →

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