#2E3083#2E3083

#2E3083 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.2% C 0.136 H 276.1°. Best body text is #FFFFFF at 11.25:1 contrast (WCAG AA passes).

Color values

HEX#2E3083
RGBrgb(46, 48, 131)
HSLhsl(239, 48%, 35%)
HSVhsv(239, 65%, 51%)
CMYKcmyk(64.9%, 63.4%, 0%, 48.6%)
CIE-LABlab(24.74, 26.51, -47.07)
CIE-LCHlch(24.74, 54.02, 299.39°)
OKLaboklab(36.2% 0.0146 -0.1355)
OKLCHoklch(36.2% 0.136 276.1)
XYZxyz(6.2791, 4.3329, 21.9738)
Luminance0.0433 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3083 #83812E
analogous
#2E5B83 #2E3083 #562E83
triadic
#2E3083 #832E30 #30832E
tetradic
#2E3083 #832E5B #83812E #2E8356
square
#2E3083 #832E5B #83812E #2E8356
split-complementary
#2E3083 #83562E #5B832E
monochromatic
#0E0F28 #1E1F56 #2E3083 #3E41B0 #6366C8

Accessibility & contrast

On white

11.25
#2E3083 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#2E3083 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E3083
11.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3083#FFFFFF#000000##FFFFFF
##2E30831.0011.251.8711.25
#FFFFFF11.251.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E86
Deuteranopia (green-blind)
#003781
Tritanopia (blue-blind)
#004554
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2e3083;
/* rgb */ color: rgb(46, 48, 131);
/* oklch */ color: oklch(36.2% 0.136 276.1);
Tailwind
colors: {
  custom: {
    50: '#7168a8',
    500: '#2e3083',
    950: '#000000',
  },
}
SCSS
$custom: #2e3083;
$custom-light: #7168a8;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3083",
  "rgb": {
    "r": 46,
    "g": 48,
    "b": 131
  },
  "hsl": {
    "h": 238.588,
    "s": 48.023,
    "l": 34.706
  },
  "oklch": {
    "l": 0.36198,
    "c": 0.13629,
    "h": 276.1
  },
  "luminance": 0.04333
}

Semantic roles & 50–950 ramp

primary
#2E3083
secondary
#AFAD5E
accent
#D450D8
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #2E3083

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

Preview Lab → · Contrast checker → · Palette generator →

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