#2E36A6#2E36A6

#2E36A6 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.5% C 0.177 H 272.4°. Best body text is #FFFFFF at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#2E36A6
RGBrgb(46, 54, 166)
HSLhsl(236, 57%, 42%)
HSVhsv(236, 72%, 65%)
CMYKcmyk(72.3%, 67.5%, 0%, 34.9%)
CIE-LABlab(29.34, 35.19, -61.05)
CIE-LCHlch(29.34, 70.47, 299.96°)
OKLaboklab(40.52% 0.0073 -0.1765)
OKLCHoklch(40.52% 0.177 272.4)
XYZxyz(9.3265, 5.9714, 36.7301)
Luminance0.0597 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E36A6 #A69E2E
analogous
#2E72A6 #2E36A6 #622EA6
triadic
#2E36A6 #A62E36 #36A62E
tetradic
#2E36A6 #A62E72 #A69E2E #2EA662
square
#2E36A6 #A62E72 #A69E2E #2EA662
split-complementary
#2E36A6 #A6622E #72A62E
monochromatic
#131746 #212676 #2E36A6 #464FCC #767CD9

Accessibility & contrast

On white

9.57
#2E36A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#2E36A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E36A6
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E36A6#FFFFFF#000000##FFFFFF
##2E36A61.009.572.199.57
#FFFFFF9.571.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA9
Deuteranopia (green-blind)
#0040A4
Tritanopia (blue-blind)
#005469
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2e36a6;
/* rgb */ color: rgb(46, 54, 166);
/* oklch */ color: oklch(40.5% 0.177 272.4);
Tailwind
colors: {
  custom: {
    50: '#786dc1',
    500: '#2e36a6',
    950: '#000000',
  },
}
SCSS
$custom: #2e36a6;
$custom-light: #786dc1;
$custom-dark: #000000;
JSON
{
  "hex": "#2e36a6",
  "rgb": {
    "r": 46,
    "g": 54,
    "b": 166
  },
  "hsl": {
    "h": 236,
    "s": 56.604,
    "l": 41.569
  },
  "oklch": {
    "l": 0.40523,
    "c": 0.17663,
    "h": 272.4
  },
  "luminance": 0.05972
}

Semantic roles & 50–950 ramp

primary
#2E36A6
secondary
#C1BB6F
accent
#D648E0
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #2E36A6

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

Preview Lab → · Contrast checker → · Palette generator →

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