#2E3086#2E3086

#2E3086 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.5% C 0.141 H 275.9°. Best body text is #FFFFFF at 11.15:1 contrast (WCAG AA passes).

Color values

HEX#2E3086
RGBrgb(46, 48, 134)
HSLhsl(239, 49%, 35%)
HSVhsv(239, 66%, 53%)
CMYKcmyk(65.7%, 64.2%, 0%, 47.5%)
CIE-LABlab(25.00, 27.59, -48.53)
CIE-LCHlch(25.00, 55.82, 299.62°)
OKLaboklab(36.47% 0.0144 -0.1398)
OKLCHoklch(36.47% 0.141 275.9)
XYZxyz(6.4853, 4.4154, 23.0601)
Luminance0.0442 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3086 #86842E
analogous
#2E5C86 #2E3086 #582E86
triadic
#2E3086 #862E30 #30862E
tetradic
#2E3086 #862E5C #86842E #2E8658
square
#2E3086 #862E5C #86842E #2E8658
split-complementary
#2E3086 #86582E #5C862E
monochromatic
#0F0F2B #1E2058 #2E3086 #3E40B4 #6467CA

Accessibility & contrast

On white

11.15
#2E3086 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#2E3086 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E3086
11.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3086#FFFFFF#000000##FFFFFF
##2E30861.0011.151.8811.15
#FFFFFF11.151.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F89
Deuteranopia (green-blind)
#003784
Tritanopia (blue-blind)
#004656
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2e3086;
/* rgb */ color: rgb(46, 48, 134);
/* oklch */ color: oklch(36.5% 0.141 275.9);
Tailwind
colors: {
  custom: {
    50: '#7268aa',
    500: '#2e3086',
    950: '#000000',
  },
}
SCSS
$custom: #2e3086;
$custom-light: #7268aa;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3086",
  "rgb": {
    "r": 46,
    "g": 48,
    "b": 134
  },
  "hsl": {
    "h": 238.636,
    "s": 48.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.36467,
    "c": 0.14053,
    "h": 275.9
  },
  "luminance": 0.04416
}

Semantic roles & 50–950 ramp

primary
#2E3086
secondary
#B1AF5F
accent
#D54FD8
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #2E3086

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

Preview Lab → · Contrast checker → · Palette generator →

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