#2E3280#2E3280

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

Color values

HEX#2E3280
RGBrgb(46, 50, 128)
HSLhsl(237, 47%, 34%)
HSVhsv(237, 64%, 50%)
CMYKcmyk(64.1%, 60.9%, 0%, 49.8%)
CIE-LABlab(25.01, 24.08, -44.74)
CIE-LCHlch(25.01, 50.81, 298.29°)
OKLaboklab(36.32% 0.0127 -0.1287)
OKLCHoklch(36.32% 0.129 275.7)
XYZxyz(6.1623, 4.4201, 20.9463)
Luminance0.0442 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3280 #807C2E
analogous
#2E5B80 #2E3280 #532E80
triadic
#2E3280 #802E32 #32802E
tetradic
#2E3280 #802E5B #807C2E #2E8053
square
#2E3280 #802E5B #807C2E #2E8053
split-complementary
#2E3280 #80532E #5B802E
monochromatic
#0E0F26 #1E2053 #2E3280 #3E44AD #6267C7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2E3280#FFFFFF#000000##FFFFFF
##2E32801.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)
#003F83
Deuteranopia (green-blind)
#00387E
Tritanopia (blue-blind)
#004554
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2e3280;
/* rgb */ color: rgb(46, 50, 128);
/* oklch */ color: oklch(36.3% 0.129 275.7);
Tailwind
colors: {
  custom: {
    50: '#706aa5',
    500: '#2e3280',
    950: '#000000',
  },
}
SCSS
$custom: #2e3280;
$custom-light: #706aa5;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3280",
  "rgb": {
    "r": 46,
    "g": 50,
    "b": 128
  },
  "hsl": {
    "h": 237.073,
    "s": 47.126,
    "l": 34.118
  },
  "oklch": {
    "l": 0.3632,
    "c": 0.12929,
    "h": 275.7
  },
  "luminance": 0.04421
}

Semantic roles & 50–950 ramp

primary
#2E3280
secondary
#ADA95D
accent
#D051D7
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F

Preview Lab

Preview with #2E3280

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

Preview Lab → · Contrast checker → · Palette generator →

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