#2E36AB#2E36AB

#2E36AB is a dark, vivid blue. Relative luminance 0.062; OKLCH L 41.0% C 0.183 H 272.1°. Best body text is #FFFFFF at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#2E36AB
RGBrgb(46, 54, 171)
HSLhsl(236, 58%, 43%)
HSVhsv(236, 73%, 67%)
CMYKcmyk(73.1%, 68.4%, 0%, 32.9%)
CIE-LABlab(29.81, 36.96, -63.29)
CIE-LCHlch(29.81, 73.29, 300.28°)
OKLaboklab(41.01% 0.0068 -0.183)
OKLCHoklch(41.01% 0.183 272.1)
XYZxyz(9.7941, 6.1585, 39.1927)
Luminance0.0616 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E36AB #ABA32E
analogous
#2E74AB #2E36AB #642EAB
triadic
#2E36AB #AB2E36 #36AB2E
tetradic
#2E36AB #AB2E74 #ABA32E #2EAB64
square
#2E36AB #AB2E74 #ABA32E #2EAB64
split-complementary
#2E36AB #AB642E #74AB2E
monochromatic
#14184B #21277B #2E36AB #4851CE #797FDB

Accessibility & contrast

On white

9.41
#2E36AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#2E36AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E36AB
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E36AB#FFFFFF#000000##FFFFFF
##2E36AB1.009.412.239.41
#FFFFFF9.411.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CAF
Deuteranopia (green-blind)
#0040A9
Tritanopia (blue-blind)
#00566C
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2e36ab;
/* rgb */ color: rgb(46, 54, 171);
/* oklch */ color: oklch(41.0% 0.183 272.1);
Tailwind
colors: {
  custom: {
    50: '#7a6dc5',
    500: '#2e36ab',
    950: '#000000',
  },
}
SCSS
$custom: #2e36ab;
$custom-light: #7a6dc5;
$custom-dark: #000000;
JSON
{
  "hex": "#2e36ab",
  "rgb": {
    "r": 46,
    "g": 54,
    "b": 171
  },
  "hsl": {
    "h": 236.16,
    "s": 57.604,
    "l": 42.549
  },
  "oklch": {
    "l": 0.41006,
    "c": 0.18314,
    "h": 272.1
  },
  "luminance": 0.06159
}

Semantic roles & 50–950 ramp

primary
#2E36AB
secondary
#C3BE72
accent
#D747E1
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #2E36AB

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

Preview Lab → · Contrast checker → · Palette generator →

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