#2E36A9#2E36A9

#2E36A9 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.8% C 0.181 H 272.2°. Best body text is #FFFFFF at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#2E36A9
RGBrgb(46, 54, 169)
HSLhsl(236, 57%, 42%)
HSVhsv(236, 73%, 66%)
CMYKcmyk(72.8%, 68%, 0%, 33.7%)
CIE-LABlab(29.62, 36.25, -62.40)
CIE-LCHlch(29.62, 72.16, 300.16°)
OKLaboklab(40.81% 0.007 -0.1804)
OKLCHoklch(40.81% 0.181 272.2)
XYZxyz(9.6049, 6.0828, 38.1963)
Luminance0.0608 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E36A9 #A9A12E
analogous
#2E73A9 #2E36A9 #642EA9
triadic
#2E36A9 #A92E36 #36A92E
tetradic
#2E36A9 #A92E73 #A9A12E #2EA964
square
#2E36A9 #A92E73 #A9A12E #2EA964
split-complementary
#2E36A9 #A9642E #73A92E
monochromatic
#141749 #212779 #2E36A9 #4750CD #777EDA

Accessibility & contrast

On white

9.47
#2E36A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#2E36A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E36A9
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E36A9#FFFFFF#000000##FFFFFF
##2E36A91.009.472.229.47
#FFFFFF9.471.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CAD
Deuteranopia (green-blind)
#0040A7
Tritanopia (blue-blind)
#00556B
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2e36a9;
/* rgb */ color: rgb(46, 54, 169);
/* oklch */ color: oklch(40.8% 0.181 272.2);
Tailwind
colors: {
  custom: {
    50: '#796dc4',
    500: '#2e36a9',
    950: '#000000',
  },
}
SCSS
$custom: #2e36a9;
$custom-light: #796dc4;
$custom-dark: #000000;
JSON
{
  "hex": "#2e36a9",
  "rgb": {
    "r": 46,
    "g": 54,
    "b": 169
  },
  "hsl": {
    "h": 236.098,
    "s": 57.209,
    "l": 42.157
  },
  "oklch": {
    "l": 0.40812,
    "c": 0.18054,
    "h": 272.2
  },
  "luminance": 0.06084
}

Semantic roles & 50–950 ramp

primary
#2E36A9
secondary
#C2BD71
accent
#D747E0
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0A0713
muted
#7C7A82

Preview Lab

Preview with #2E36A9

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

Preview Lab → · Contrast checker → · Palette generator →

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