#2E2466#2E2466

#2E2466 is a dark, moderate blue. Relative luminance 0.028; OKLCH L 31.4% C 0.111 H 284.9°. Best body text is #FFFFFF at 13.46:1 contrast (WCAG AA passes).

Color values

HEX#2E2466
RGBrgb(46, 36, 102)
HSLhsl(249, 48%, 27%)
HSVhsv(249, 65%, 40%)
CMYKcmyk(54.9%, 64.7%, 0%, 60%)
CIE-LABlab(19.23, 24.28, -37.46)
CIE-LCHlch(19.23, 44.64, 302.95°)
OKLaboklab(31.39% 0.0286 -0.1073)
OKLCHoklch(31.39% 0.111 284.9)
XYZxyz(4.1551, 2.8017, 12.8896)
Luminance0.0280 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2466 #5C6624
analogous
#243B66 #2E2466 #4F2466
triadic
#2E2466 #662E24 #24662E
tetradic
#2E2466 #66243B #5C6624 #24664F
square
#2E2466 #66243B #5C6624 #24664F
split-complementary
#2E2466 #664F24 #3B6624
monochromatic
#0A0817 #1A1439 #2E2466 #423493 #5947BE

Accessibility & contrast

On white

13.46
#2E2466 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#2E2466 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2466
13.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2466#FFFFFF#000000##FFFFFF
##2E24661.0013.461.5613.46
#FFFFFF13.461.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003168
Deuteranopia (green-blind)
#002D65
Tritanopia (blue-blind)
#183441
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #2e2466;
/* rgb */ color: rgb(46, 36, 102);
/* oklch */ color: oklch(31.4% 0.111 284.9);
Tailwind
colors: {
  custom: {
    50: '#6c5f92',
    500: '#2e2466',
    950: '#000000',
  },
}
SCSS
$custom: #2e2466;
$custom-light: #6c5f92;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2466",
  "rgb": {
    "r": 46,
    "g": 36,
    "b": 102
  },
  "hsl": {
    "h": 249.091,
    "s": 47.826,
    "l": 27.059
  },
  "oklch": {
    "l": 0.31387,
    "c": 0.1111,
    "h": 284.9
  },
  "luminance": 0.02802
}

Semantic roles & 50–950 ramp

primary
#2E2466
secondary
#8E994C
accent
#D750C3
background
#F6F5F9
surface
#ECE9F1
border
#C7C5CB
text
#07040D
muted
#7A797E

Preview Lab

Preview with #2E2466

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

Preview Lab → · Contrast checker → · Palette generator →

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