#2E296A#2E296A

#2E296A is a dark, moderate blue. Relative luminance 0.032; OKLCH L 32.7% C 0.110 H 281.9°. Best body text is #FFFFFF at 12.79:1 contrast (WCAG AA passes).

Color values

HEX#2E296A
RGBrgb(46, 41, 106)
HSLhsl(245, 44%, 29%)
HSVhsv(245, 61%, 42%)
CMYKcmyk(56.6%, 61.3%, 0%, 58.4%)
CIE-LABlab(20.85, 22.30, -37.44)
CIE-LCHlch(20.85, 43.57, 300.78°)
OKLaboklab(32.68% 0.0227 -0.1072)
OKLCHoklch(32.68% 0.11 281.9)
XYZxyz(4.5204, 3.2071, 14.0137)
Luminance0.0321 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E296A #656A29
analogous
#29456A #2E296A #4F296A
triadic
#2E296A #6A2E29 #296A2E
tetradic
#2E296A #6A2945 #656A29 #296A4F
square
#2E296A #6A2945 #656A29 #296A4F
split-complementary
#2E296A #6A4F29 #456A29
monochromatic
#0A0916 #1B183E #2E296A #413A96 #5A52BC

Accessibility & contrast

On white

12.79
#2E296A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#2E296A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E296A
12.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E296A#FFFFFF#000000##FFFFFF
##2E296A1.0012.791.6412.79
#FFFFFF12.791.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00346C
Deuteranopia (green-blind)
#003069
Tritanopia (blue-blind)
#143845
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #2e296a;
/* rgb */ color: rgb(46, 41, 106);
/* oklch */ color: oklch(32.7% 0.110 281.9);
Tailwind
colors: {
  custom: {
    50: '#6d6395',
    500: '#2e296a',
    950: '#000000',
  },
}
SCSS
$custom: #2e296a;
$custom-light: #6d6395;
$custom-dark: #000000;
JSON
{
  "hex": "#2e296a",
  "rgb": {
    "r": 46,
    "g": 41,
    "b": 106
  },
  "hsl": {
    "h": 244.615,
    "s": 44.218,
    "l": 28.824
  },
  "oklch": {
    "l": 0.32684,
    "c": 0.10961,
    "h": 281.9
  },
  "luminance": 0.03207
}

Semantic roles & 50–950 ramp

primary
#2E296A
secondary
#979C52
accent
#D454CA
background
#F6F5F9
surface
#ECEAF2
border
#C7C6CC
text
#07050D
muted
#7A797E

Preview Lab

Preview with #2E296A

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

Preview Lab → · Contrast checker → · Palette generator →

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