#2E276D#2E276D

#2E276D is a dark, moderate blue. Relative luminance 0.031; OKLCH L 32.6% C 0.117 H 282.3°. Best body text is #FFFFFF at 12.91:1 contrast (WCAG AA passes).

Color values

HEX#2E276D
RGBrgb(46, 39, 109)
HSLhsl(246, 47%, 29%)
HSVhsv(246, 64%, 43%)
CMYKcmyk(57.8%, 64.2%, 0%, 57.3%)
CIE-LABlab(20.58, 24.70, -39.83)
CIE-LCHlch(20.58, 46.86, 301.80°)
OKLaboklab(32.56% 0.0248 -0.1143)
OKLCHoklch(32.56% 0.117 282.3)
XYZxyz(4.6117, 3.1357, 14.8273)
Luminance0.0314 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E276D #666D27
analogous
#27436D #2E276D #51276D
triadic
#2E276D #6D2E27 #276D2E
tetradic
#2E276D #6D2743 #666D27 #276D51
square
#2E276D #6D2743 #666D27 #276D51
split-complementary
#2E276D #6D5127 #436D27
monochromatic
#0A0817 #1B1740 #2E276D #41379A #5A4FC0

Accessibility & contrast

On white

12.91
#2E276D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#2E276D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E276D
12.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E276D#FFFFFF#000000##FFFFFF
##2E276D1.0012.911.6312.91
#FFFFFF12.911.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00346F
Deuteranopia (green-blind)
#002F6C
Tritanopia (blue-blind)
#113846
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #2e276d;
/* rgb */ color: rgb(46, 39, 109);
/* oklch */ color: oklch(32.6% 0.117 282.3);
Tailwind
colors: {
  custom: {
    50: '#6d6197',
    500: '#2e276d',
    950: '#000000',
  },
}
SCSS
$custom: #2e276d;
$custom-light: #6d6197;
$custom-dark: #000000;
JSON
{
  "hex": "#2e276d",
  "rgb": {
    "r": 46,
    "g": 39,
    "b": 109
  },
  "hsl": {
    "h": 246,
    "s": 47.297,
    "l": 29.02
  },
  "oklch": {
    "l": 0.32559,
    "c": 0.11695,
    "h": 282.3
  },
  "luminance": 0.03136
}

Semantic roles & 50–950 ramp

primary
#2E276D
secondary
#98A050
accent
#D751CA
background
#F6F5F9
surface
#ECEAF2
border
#C7C6CC
text
#07050D
muted
#7A797E

Preview Lab

Preview with #2E276D

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

Preview Lab → · Contrast checker → · Palette generator →

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