#2E296D#2E296D

#2E296D is a dark, moderate blue. Relative luminance 0.033; OKLCH L 32.9% C 0.114 H 281.4°. Best body text is #FFFFFF at 12.69:1 contrast (WCAG AA passes).

Color values

HEX#2E296D
RGBrgb(46, 41, 109)
HSLhsl(244, 45%, 29%)
HSVhsv(244, 62%, 43%)
CMYKcmyk(57.8%, 62.4%, 0%, 57.3%)
CIE-LABlab(21.10, 23.35, -38.99)
CIE-LCHlch(21.10, 45.45, 300.92°)
OKLaboklab(32.94% 0.0226 -0.1118)
OKLCHoklch(32.94% 0.114 281.4)
XYZxyz(4.6791, 3.2706, 14.8498)
Luminance0.0327 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E296D #686D29
analogous
#29466D #2E296D #50296D
triadic
#2E296D #6D2E29 #296D2E
tetradic
#2E296D #6D2946 #686D29 #296D50
square
#2E296D #6D2946 #686D29 #296D50
split-complementary
#2E296D #6D5029 #466D29
monochromatic
#090816 #1B1841 #2E296D #413A99 #5A52BE

Accessibility & contrast

On white

12.69
#2E296D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E296D
12.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E296D#FFFFFF#000000##FFFFFF
##2E296D1.0012.691.6512.69
#FFFFFF12.691.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00356F
Deuteranopia (green-blind)
#00306C
Tritanopia (blue-blind)
#103946
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #2e296d;
/* rgb */ color: rgb(46, 41, 109);
/* oklch */ color: oklch(32.9% 0.114 281.4);
Tailwind
colors: {
  custom: {
    50: '#6d6397',
    500: '#2e296d',
    950: '#000000',
  },
}
SCSS
$custom: #2e296d;
$custom-light: #6d6397;
$custom-dark: #000000;
JSON
{
  "hex": "#2e296d",
  "rgb": {
    "r": 46,
    "g": 41,
    "b": 109
  },
  "hsl": {
    "h": 244.412,
    "s": 45.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.32939,
    "c": 0.11407,
    "h": 281.4
  },
  "luminance": 0.03271
}

Semantic roles & 50–950 ramp

primary
#2E296D
secondary
#9A9F53
accent
#D553CB
background
#F6F5F9
surface
#ECEAF2
border
#C7C6CC
text
#07050D
muted
#7A797E

Preview Lab

Preview with #2E296D

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

Preview Lab → · Contrast checker → · Palette generator →

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