#2E36A2#2E36A2

#2E36A2 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 40.1% C 0.171 H 272.6°. Best body text is #FFFFFF at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#2E36A2
RGBrgb(46, 54, 162)
HSLhsl(236, 56%, 41%)
HSVhsv(236, 72%, 64%)
CMYKcmyk(71.6%, 66.7%, 0%, 36.5%)
CIE-LABlab(28.97, 33.76, -59.24)
CIE-LCHlch(28.97, 68.19, 299.68°)
OKLaboklab(40.14% 0.0076 -0.1712)
OKLCHoklch(40.14% 0.171 272.6)
XYZxyz(8.9653, 5.8269, 34.8276)
Luminance0.0583 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E36A2 #A29A2E
analogous
#2E70A2 #2E36A2 #602EA2
triadic
#2E36A2 #A22E36 #36A22E
tetradic
#2E36A2 #A22E70 #A29A2E #2EA260
square
#2E36A2 #A22E70 #A29A2E #2EA260
split-complementary
#2E36A2 #A2602E #70A22E
monochromatic
#131643 #202672 #2E36A2 #434DCA #737AD7

Accessibility & contrast

On white

9.70
#2E36A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#2E36A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E36A2
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E36A2#FFFFFF#000000##FFFFFF
##2E36A21.009.702.179.70
#FFFFFF9.701.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA5
Deuteranopia (green-blind)
#003FA0
Tritanopia (blue-blind)
#005367
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2e36a2;
/* rgb */ color: rgb(46, 54, 162);
/* oklch */ color: oklch(40.1% 0.171 272.6);
Tailwind
colors: {
  custom: {
    50: '#786dbf',
    500: '#2e36a2',
    950: '#000000',
  },
}
SCSS
$custom: #2e36a2;
$custom-light: #786dbf;
$custom-dark: #000000;
JSON
{
  "hex": "#2e36a2",
  "rgb": {
    "r": 46,
    "g": 54,
    "b": 162
  },
  "hsl": {
    "h": 235.862,
    "s": 55.769,
    "l": 40.784
  },
  "oklch": {
    "l": 0.40142,
    "c": 0.17135,
    "h": 272.6
  },
  "luminance": 0.05828
}

Semantic roles & 50–950 ramp

primary
#2E36A2
secondary
#BFB96D
accent
#D549DF
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #2E36A2

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

Preview Lab → · Contrast checker → · Palette generator →

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