#2E36B6#2E36B6

#2E36B6 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 42.1% C 0.197 H 271.6°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#2E36B6
RGBrgb(46, 54, 182)
HSLhsl(236, 60%, 45%)
HSVhsv(236, 75%, 71%)
CMYKcmyk(74.7%, 70.3%, 0%, 28.6%)
CIE-LABlab(30.87, 40.81, -68.11)
CIE-LCHlch(30.87, 79.40, 300.93°)
OKLaboklab(42.09% 0.0055 -0.1971)
OKLCHoklch(42.09% 0.197 271.6)
XYZxyz(10.8865, 6.5954, 44.9462)
Luminance0.0660 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E36B6 #B6AE2E
analogous
#2E7AB6 #2E36B6 #6A2EB6
triadic
#2E36B6 #B62E36 #36B62E
tetradic
#2E36B6 #B62E7A #B6AE2E #2EB66A
square
#2E36B6 #B62E7A #B6AE2E #2EB66A
split-complementary
#2E36B6 #B66A2E #7AB62E
monochromatic
#151954 #222885 #2E36B6 #4F56D2 #8085DF

Accessibility & contrast

On white

9.05
#2E36B6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#2E36B6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E36B6
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E36B6#FFFFFF#000000##FFFFFF
##2E36B61.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e36b6;
/* rgb */ color: rgb(46, 54, 182);
/* oklch */ color: oklch(42.1% 0.197 271.6);
Tailwind
colors: {
  custom: {
    50: '#7c6ecd',
    500: '#2e36b6',
    950: '#000000',
  },
}
SCSS
$custom: #2e36b6;
$custom-light: #7c6ecd;
$custom-dark: #000000;
JSON
{
  "hex": "#2e36b6",
  "rgb": {
    "r": 46,
    "g": 54,
    "b": 182
  },
  "hsl": {
    "h": 236.471,
    "s": 59.649,
    "l": 44.706
  },
  "oklch": {
    "l": 0.42092,
    "c": 0.19717,
    "h": 271.6
  },
  "luminance": 0.06597
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E36B6

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

Preview Lab → · Contrast checker → · Palette generator →

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