#2E36B7#2E36B7

#2E36B7 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 42.2% C 0.198 H 271.5°. Best body text is #FFFFFF at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#2E36B7
RGBrgb(46, 54, 183)
HSLhsl(236, 60%, 45%)
HSVhsv(236, 75%, 72%)
CMYKcmyk(74.9%, 70.5%, 0%, 28.2%)
CIE-LABlab(30.97, 41.15, -68.54)
CIE-LCHlch(30.97, 79.95, 300.98°)
OKLaboklab(42.19% 0.0054 -0.1983)
OKLCHoklch(42.19% 0.198 271.5)
XYZxyz(10.9902, 6.6369, 45.4924)
Luminance0.0664 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E36B7 #B7AF2E
analogous
#2E7BB7 #2E36B7 #6A2EB7
triadic
#2E36B7 #B72E36 #36B72E
tetradic
#2E36B7 #B72E7B #B7AF2E #2EB76A
square
#2E36B7 #B72E7B #B7AF2E #2EB76A
split-complementary
#2E36B7 #B76A2E #7BB72E
monochromatic
#151955 #222886 #2E36B7 #4F57D3 #8086DF

Accessibility & contrast

On white

9.02
#2E36B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#2E36B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E36B7
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E36B7#FFFFFF#000000##FFFFFF
##2E36B71.009.022.339.02
#FFFFFF9.021.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FBB
Deuteranopia (green-blind)
#0042B5
Tritanopia (blue-blind)
#005A72
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2e36b7;
/* rgb */ color: rgb(46, 54, 183);
/* oklch */ color: oklch(42.2% 0.198 271.5);
Tailwind
colors: {
  custom: {
    50: '#7c6ece',
    500: '#2e36b7',
    950: '#000000',
  },
}
SCSS
$custom: #2e36b7;
$custom-light: #7c6ece;
$custom-dark: #000000;
JSON
{
  "hex": "#2e36b7",
  "rgb": {
    "r": 46,
    "g": 54,
    "b": 183
  },
  "hsl": {
    "h": 236.496,
    "s": 59.825,
    "l": 44.902
  },
  "oklch": {
    "l": 0.42192,
    "c": 0.19842,
    "h": 271.5
  },
  "luminance": 0.06638
}

Semantic roles & 50–950 ramp

primary
#2E36B7
secondary
#C8C379
accent
#DA45E3
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0714
muted
#7C7A82

Preview Lab

Preview with #2E36B7

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

Preview Lab → · Contrast checker → · Palette generator →

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