#2E2467#2E2467

#2E2467 is a dark, moderate blue. Relative luminance 0.028; OKLCH L 31.5% C 0.113 H 284.7°. Best body text is #FFFFFF at 13.42:1 contrast (WCAG AA passes).

Color values

HEX#2E2467
RGBrgb(46, 36, 103)
HSLhsl(249, 48%, 27%)
HSVhsv(249, 65%, 40%)
CMYKcmyk(55.3%, 65%, 0%, 59.6%)
CIE-LABlab(19.31, 24.62, -37.98)
CIE-LCHlch(19.31, 45.26, 302.95°)
OKLaboklab(31.48% 0.0286 -0.1089)
OKLCHoklch(31.48% 0.113 284.7)
XYZxyz(4.2050, 2.8216, 13.1524)
Luminance0.0282 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2467 #5D6724
analogous
#243C67 #2E2467 #4F2467
triadic
#2E2467 #672E24 #24672E
tetradic
#2E2467 #67243C #5D6724 #24674F
square
#2E2467 #67243C #5D6724 #24674F
split-complementary
#2E2467 #674F24 #3C6724
monochromatic
#0A0817 #1A143A #2E2467 #423494 #5947BF

Accessibility & contrast

On white

13.42
#2E2467 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E2467
13.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2467#FFFFFF#000000##FFFFFF
##2E24671.0013.421.5613.42
#FFFFFF13.421.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003169
Deuteranopia (green-blind)
#002D66
Tritanopia (blue-blind)
#173441
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #2e2467;
/* rgb */ color: rgb(46, 36, 103);
/* oklch */ color: oklch(31.5% 0.113 284.7);
Tailwind
colors: {
  custom: {
    50: '#6d5f93',
    500: '#2e2467',
    950: '#000000',
  },
}
SCSS
$custom: #2e2467;
$custom-light: #6d5f93;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2467",
  "rgb": {
    "r": 46,
    "g": 36,
    "b": 103
  },
  "hsl": {
    "h": 248.955,
    "s": 48.201,
    "l": 27.255
  },
  "oklch": {
    "l": 0.31475,
    "c": 0.11255,
    "h": 284.7
  },
  "luminance": 0.02822
}

Semantic roles & 50–950 ramp

primary
#2E2467
secondary
#8F9A4C
accent
#D850C4
background
#F6F5F9
surface
#ECE9F1
border
#C7C5CB
text
#07040D
muted
#7A797E

Preview Lab

Preview with #2E2467

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

Preview Lab → · Contrast checker → · Palette generator →

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