#2E296B#2E296B

#2E296B is a dark, moderate blue. Relative luminance 0.032; OKLCH L 32.8% C 0.111 H 281.8°. Best body text is #FFFFFF at 12.76:1 contrast (WCAG AA passes).

Color values

HEX#2E296B
RGBrgb(46, 41, 107)
HSLhsl(245, 45%, 29%)
HSVhsv(245, 62%, 42%)
CMYKcmyk(57%, 61.7%, 0%, 58%)
CIE-LABlab(20.93, 22.65, -37.95)
CIE-LCHlch(20.93, 44.20, 300.83°)
OKLaboklab(32.77% 0.0227 -0.1088)
OKLCHoklch(32.77% 0.111 281.8)
XYZxyz(4.5727, 3.2280, 14.2892)
Luminance0.0323 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E296B #666B29
analogous
#29456B #2E296B #4F296B
triadic
#2E296B #6B2E29 #296B2E
tetradic
#2E296B #6B2945 #666B29 #296B4F
square
#2E296B #6B2945 #666B29 #296B4F
split-complementary
#2E296B #6B4F29 #456B29
monochromatic
#0A0816 #1B183F #2E296B #413A97 #5A52BD

Accessibility & contrast

On white

12.76
#2E296B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#2E296B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E296B
12.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E296B#FFFFFF#000000##FFFFFF
##2E296B1.0012.761.6512.76
#FFFFFF12.761.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00356D
Deuteranopia (green-blind)
#00306A
Tritanopia (blue-blind)
#133845
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #2e296b;
/* rgb */ color: rgb(46, 41, 107);
/* oklch */ color: oklch(32.8% 0.111 281.8);
Tailwind
colors: {
  custom: {
    50: '#6d6396',
    500: '#2e296b',
    950: '#000000',
  },
}
SCSS
$custom: #2e296b;
$custom-light: #6d6396;
$custom-dark: #000000;
JSON
{
  "hex": "#2e296b",
  "rgb": {
    "r": 46,
    "g": 41,
    "b": 107
  },
  "hsl": {
    "h": 244.545,
    "s": 44.595,
    "l": 29.02
  },
  "oklch": {
    "l": 0.32768,
    "c": 0.1111,
    "h": 281.8
  },
  "luminance": 0.03228
}

Semantic roles & 50–950 ramp

primary
#2E296B
secondary
#989D52
accent
#D453CB
background
#F6F5F9
surface
#ECEAF2
border
#C7C6CC
text
#07050D
muted
#7A797E

Preview Lab

Preview with #2E296B

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

Preview Lab → · Contrast checker → · Palette generator →

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