#2E276A#2E276A

#2E276A is a dark, moderate blue. Relative luminance 0.031; OKLCH L 32.3% C 0.113 H 282.8°. Best body text is #FFFFFF at 13.01:1 contrast (WCAG AA passes).

Color values

HEX#2E276A
RGBrgb(46, 39, 106)
HSLhsl(246, 46%, 28%)
HSVhsv(246, 63%, 42%)
CMYKcmyk(56.6%, 63.2%, 0%, 58.4%)
CIE-LABlab(20.33, 23.65, -38.28)
CIE-LCHlch(20.33, 45.00, 301.71°)
OKLaboklab(32.3% 0.025 -0.1097)
OKLCHoklch(32.3% 0.113 282.8)
XYZxyz(4.4530, 3.0722, 13.9912)
Luminance0.0307 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E276A #636A27
analogous
#27416A #2E276A #4F276A
triadic
#2E276A #6A2E27 #276A2E
tetradic
#2E276A #6A2741 #636A27 #276A4F
square
#2E276A #6A2741 #636A27 #276A4F
split-complementary
#2E276A #6A4F27 #416A27
monochromatic
#0A0816 #1B173D #2E276A #413797 #594EBE

Accessibility & contrast

On white

13.01
#2E276A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#2E276A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E276A
13.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E276A#FFFFFF#000000##FFFFFF
##2E276A1.0013.011.6113.01
#FFFFFF13.011.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00336C
Deuteranopia (green-blind)
#002F69
Tritanopia (blue-blind)
#143744
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #2e276a;
/* rgb */ color: rgb(46, 39, 106);
/* oklch */ color: oklch(32.3% 0.113 282.8);
Tailwind
colors: {
  custom: {
    50: '#6d6195',
    500: '#2e276a',
    950: '#000000',
  },
}
SCSS
$custom: #2e276a;
$custom-light: #6d6195;
$custom-dark: #000000;
JSON
{
  "hex": "#2e276a",
  "rgb": {
    "r": 46,
    "g": 39,
    "b": 106
  },
  "hsl": {
    "h": 246.269,
    "s": 46.207,
    "l": 28.431
  },
  "oklch": {
    "l": 0.32298,
    "c": 0.11255,
    "h": 282.8
  },
  "luminance": 0.03072
}

Semantic roles & 50–950 ramp

primary
#2E276A
secondary
#959D50
accent
#D652C8
background
#F6F5F9
surface
#ECEAF2
border
#C7C6CC
text
#07050D
muted
#7A797E

Preview Lab

Preview with #2E276A

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

Preview Lab → · Contrast checker → · Palette generator →

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