#2E36B3#2E36B3

#2E36B3 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.8% C 0.193 H 271.7°. Best body text is #FFFFFF at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#2E36B3
RGBrgb(46, 54, 179)
HSLhsl(236, 59%, 44%)
HSVhsv(236, 74%, 70%)
CMYKcmyk(74.3%, 69.8%, 0%, 29.8%)
CIE-LABlab(30.57, 39.76, -66.81)
CIE-LCHlch(30.57, 77.75, 300.76°)
OKLaboklab(41.79% 0.0059 -0.1933)
OKLCHoklch(41.79% 0.193 271.7)
XYZxyz(10.5798, 6.4727, 43.3309)
Luminance0.0647 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E36B3 #B3AB2E
analogous
#2E79B3 #2E36B3 #692EB3
triadic
#2E36B3 #B32E36 #36B32E
tetradic
#2E36B3 #B32E79 #B3AB2E #2EB369
square
#2E36B3 #B32E79 #B3AB2E #2EB369
split-complementary
#2E36B3 #B3692E #79B32E
monochromatic
#151952 #212782 #2E36B3 #4D55D1 #7E83DE

Accessibility & contrast

On white

9.15
#2E36B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#2E36B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E36B3
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E36B3#FFFFFF#000000##FFFFFF
##2E36B31.009.152.299.15
#FFFFFF9.151.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB7
Deuteranopia (green-blind)
#0042B1
Tritanopia (blue-blind)
#005870
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2e36b3;
/* rgb */ color: rgb(46, 54, 179);
/* oklch */ color: oklch(41.8% 0.193 271.7);
Tailwind
colors: {
  custom: {
    50: '#7b6ecb',
    500: '#2e36b3',
    950: '#000000',
  },
}
SCSS
$custom: #2e36b3;
$custom-light: #7b6ecb;
$custom-dark: #000000;
JSON
{
  "hex": "#2e36b3",
  "rgb": {
    "r": 46,
    "g": 54,
    "b": 179
  },
  "hsl": {
    "h": 236.391,
    "s": 59.111,
    "l": 44.118
  },
  "oklch": {
    "l": 0.41793,
    "c": 0.19338,
    "h": 271.7
  },
  "luminance": 0.06474
}

Semantic roles & 50–950 ramp

primary
#2E36B3
secondary
#C6C276
accent
#D946E2
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #2E36B3

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

Preview Lab → · Contrast checker → · Palette generator →

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