#2E2E82#2E2E82

#2E2E82 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.7% C 0.138 H 276.9°. Best body text is #FFFFFF at 11.48:1 contrast (WCAG AA passes).

Color values

HEX#2E2E82
RGBrgb(46, 46, 130)
HSLhsl(240, 48%, 35%)
HSVhsv(240, 65%, 51%)
CMYKcmyk(64.6%, 64.6%, 0%, 49%)
CIE-LABlab(24.15, 27.48, -47.41)
CIE-LCHlch(24.15, 54.80, 300.10°)
OKLaboklab(35.74% 0.0165 -0.1365)
OKLCHoklch(35.74% 0.138 276.9)
XYZxyz(6.1317, 4.1460, 21.5919)
Luminance0.0415 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2E82 #82822E
analogous
#2E5882 #2E2E82 #582E82
triadic
#2E2E82 #822E2E #2E822E
tetradic
#2E2E82 #822E58 #82822E #2E8258
square
#2E2E82 #822E58 #82822E #2E8258
split-complementary
#2E2E82 #82582E #58822E
monochromatic
#0E0E28 #1E1E55 #2E2E82 #3E3EAF #6363C8

Accessibility & contrast

On white

11.48
#2E2E82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#2E2E82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2E82
11.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2E82#FFFFFF#000000##FFFFFF
##2E2E821.0011.481.8311.48
#FFFFFF11.481.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D85
Deuteranopia (green-blind)
#003680
Tritanopia (blue-blind)
#004353
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2e2e82;
/* rgb */ color: rgb(46, 46, 130);
/* oklch */ color: oklch(35.7% 0.138 276.9);
Tailwind
colors: {
  custom: {
    50: '#7167a7',
    500: '#2e2e82',
    950: '#000000',
  },
}
SCSS
$custom: #2e2e82;
$custom-light: #7167a7;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2e82",
  "rgb": {
    "r": 46,
    "g": 46,
    "b": 130
  },
  "hsl": {
    "h": 240,
    "s": 47.727,
    "l": 34.51
  },
  "oklch": {
    "l": 0.35735,
    "c": 0.13752,
    "h": 276.9
  },
  "luminance": 0.04147
}

Semantic roles & 50–950 ramp

primary
#2E2E82
secondary
#AEAE5D
accent
#D750D7
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F

Preview Lab

Preview with #2E2E82

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

Preview Lab → · Contrast checker → · Palette generator →

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