#2E36AA#2E36AA

#2E36AA is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.9% C 0.182 H 272.2°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#2E36AA
RGBrgb(46, 54, 170)
HSLhsl(236, 57%, 42%)
HSVhsv(236, 73%, 67%)
CMYKcmyk(72.9%, 68.2%, 0%, 33.3%)
CIE-LABlab(29.71, 36.61, -62.84)
CIE-LCHlch(29.71, 72.73, 300.22°)
OKLaboklab(40.91% 0.0069 -0.1817)
OKLCHoklch(40.91% 0.182 272.2)
XYZxyz(9.6991, 6.1205, 38.6926)
Luminance0.0612 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E36AA #AAA22E
analogous
#2E74AA #2E36AA #642EAA
triadic
#2E36AA #AA2E36 #36AA2E
tetradic
#2E36AA #AA2E74 #AAA22E #2EAA64
square
#2E36AA #AA2E74 #AAA22E #2EAA64
split-complementary
#2E36AA #AA642E #74AA2E
monochromatic
#14174A #21277A #2E36AA #4850CD #787EDA

Accessibility & contrast

On white

9.44
#2E36AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#2E36AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E36AA
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E36AA#FFFFFF#000000##FFFFFF
##2E36AA1.009.442.229.44
#FFFFFF9.441.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CAE
Deuteranopia (green-blind)
#0040A8
Tritanopia (blue-blind)
#00556B
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2e36aa;
/* rgb */ color: rgb(46, 54, 170);
/* oklch */ color: oklch(40.9% 0.182 272.2);
Tailwind
colors: {
  custom: {
    50: '#796dc4',
    500: '#2e36aa',
    950: '#000000',
  },
}
SCSS
$custom: #2e36aa;
$custom-light: #796dc4;
$custom-dark: #000000;
JSON
{
  "hex": "#2e36aa",
  "rgb": {
    "r": 46,
    "g": 54,
    "b": 170
  },
  "hsl": {
    "h": 236.129,
    "s": 57.407,
    "l": 42.353
  },
  "oklch": {
    "l": 0.40909,
    "c": 0.18184,
    "h": 272.2
  },
  "luminance": 0.06121
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E36AA

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

Preview Lab → · Contrast checker → · Palette generator →

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