#2E3082#2E3082

#2E3082 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.1% C 0.135 H 276.2°. Best body text is #FFFFFF at 11.28:1 contrast (WCAG AA passes).

Color values

HEX#2E3082
RGBrgb(46, 48, 130)
HSLhsl(239, 48%, 35%)
HSVhsv(239, 65%, 51%)
CMYKcmyk(64.6%, 63.1%, 0%, 49%)
CIE-LABlab(24.66, 26.15, -46.58)
CIE-LCHlch(24.66, 53.41, 299.31°)
OKLaboklab(36.11% 0.0146 -0.1341)
OKLCHoklch(36.11% 0.135 276.2)
XYZxyz(6.2116, 4.3060, 21.6186)
Luminance0.0431 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3082 #82802E
analogous
#2E5A82 #2E3082 #562E82
triadic
#2E3082 #822E30 #30822E
tetradic
#2E3082 #822E5A #82802E #2E8256
square
#2E3082 #822E5A #82802E #2E8256
split-complementary
#2E3082 #82562E #5A822E
monochromatic
#0E0F28 #1E1F55 #2E3082 #3E41AF #6365C8

Accessibility & contrast

On white

11.28
#2E3082 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#2E3082 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E3082
11.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3082#FFFFFF#000000##FFFFFF
##2E30821.0011.281.8611.28
#FFFFFF11.281.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E85
Deuteranopia (green-blind)
#003780
Tritanopia (blue-blind)
#004454
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2e3082;
/* rgb */ color: rgb(46, 48, 130);
/* oklch */ color: oklch(36.1% 0.135 276.2);
Tailwind
colors: {
  custom: {
    50: '#7168a7',
    500: '#2e3082',
    950: '#000000',
  },
}
SCSS
$custom: #2e3082;
$custom-light: #7168a7;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3082",
  "rgb": {
    "r": 46,
    "g": 48,
    "b": 130
  },
  "hsl": {
    "h": 238.571,
    "s": 47.727,
    "l": 34.51
  },
  "oklch": {
    "l": 0.3611,
    "c": 0.13486,
    "h": 276.2
  },
  "luminance": 0.04306
}

Semantic roles & 50–950 ramp

primary
#2E3082
secondary
#AEAC5D
accent
#D450D7
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F

Preview Lab

Preview with #2E3082

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

Preview Lab → · Contrast checker → · Palette generator →

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