#2E3688#2E3688

#2E3688 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 37.8% C 0.135 H 273.8°. Best body text is #FFFFFF at 10.50:1 contrast (WCAG AA passes).

Color values

HEX#2E3688
RGBrgb(46, 54, 136)
HSLhsl(235, 49%, 36%)
HSVhsv(235, 66%, 53%)
CMYKcmyk(66.2%, 60.3%, 0%, 46.7%)
CIE-LABlab(26.72, 24.31, -46.96)
CIE-LCHlch(26.72, 52.88, 297.36°)
OKLaboklab(37.79% 0.0089 -0.1352)
OKLCHoklch(37.79% 0.135 273.8)
XYZxyz(6.8883, 4.9962, 23.8891)
Luminance0.0500 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3688 #88802E
analogous
#2E6388 #2E3688 #532E88
triadic
#2E3688 #882E36 #36882E
tetradic
#2E3688 #882E63 #88802E #2E8853
square
#2E3688 #882E63 #88802E #2E8853
split-complementary
#2E3688 #88532E #63882E
monochromatic
#0F122D #1F245A #2E3688 #3D48B6 #656ECB

Accessibility & contrast

On white

10.50
#2E3688 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#2E3688 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E3688
10.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3688#FFFFFF#000000##FFFFFF
##2E36881.0010.502.0010.50
#FFFFFF10.501.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438B
Deuteranopia (green-blind)
#003B86
Tritanopia (blue-blind)
#004A59
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2e3688;
/* rgb */ color: rgb(46, 54, 136);
/* oklch */ color: oklch(37.8% 0.135 273.8);
Tailwind
colors: {
  custom: {
    50: '#726dab',
    500: '#2e3688',
    950: '#000000',
  },
}
SCSS
$custom: #2e3688;
$custom-light: #726dab;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3688",
  "rgb": {
    "r": 46,
    "g": 54,
    "b": 136
  },
  "hsl": {
    "h": 234.667,
    "s": 49.451,
    "l": 35.686
  },
  "oklch": {
    "l": 0.37792,
    "c": 0.13545,
    "h": 273.8
  },
  "luminance": 0.04997
}

Semantic roles & 50–950 ramp

primary
#2E3688
secondary
#B2AB60
accent
#CD4FD9
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090710
muted
#7B7A7F

Preview Lab

Preview with #2E3688

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

Preview Lab → · Contrast checker → · Palette generator →

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