#2E36AC#2E36AC

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

Color values

HEX#2E36AC
RGBrgb(46, 54, 172)
HSLhsl(236, 58%, 43%)
HSVhsv(236, 73%, 67%)
CMYKcmyk(73.3%, 68.6%, 0%, 32.5%)
CIE-LABlab(29.90, 37.31, -63.73)
CIE-LCHlch(29.90, 73.85, 300.35°)
OKLaboklab(41.1% 0.0067 -0.1843)
OKLCHoklch(41.1% 0.184 272.1)
XYZxyz(9.8898, 6.1967, 39.6966)
Luminance0.0620 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E36AC #ACA42E
analogous
#2E75AC #2E36AC #652EAC
triadic
#2E36AC #AC2E36 #36AC2E
tetradic
#2E36AC #AC2E75 #ACA42E #2EAC65
square
#2E36AC #AC2E75 #ACA42E #2EAC65
split-complementary
#2E36AC #AC652E #75AC2E
monochromatic
#14184B #21277C #2E36AC #4951CE #797FDB

Accessibility & contrast

On white

9.38
#2E36AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#2E36AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E36AC
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E36AC#FFFFFF#000000##FFFFFF
##2E36AC1.009.382.249.38
#FFFFFF9.381.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.381.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e36ac;
/* rgb */ color: rgb(46, 54, 172);
/* oklch */ color: oklch(41.1% 0.184 272.1);
Tailwind
colors: {
  custom: {
    50: '#7a6dc6',
    500: '#2e36ac',
    950: '#000000',
  },
}
SCSS
$custom: #2e36ac;
$custom-light: #7a6dc6;
$custom-dark: #000000;
JSON
{
  "hex": "#2e36ac",
  "rgb": {
    "r": 46,
    "g": 54,
    "b": 172
  },
  "hsl": {
    "h": 236.19,
    "s": 57.798,
    "l": 42.745
  },
  "oklch": {
    "l": 0.41104,
    "c": 0.18443,
    "h": 272.1
  },
  "luminance": 0.06198
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E36AC

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

Preview Lab → · Contrast checker → · Palette generator →

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