#2E296F#2E296F

#2E296F is a dark, moderate blue. Relative luminance 0.033; OKLCH L 33.1% C 0.117 H 281.1°. Best body text is #FFFFFF at 12.63:1 contrast (WCAG AA passes).

Color values

HEX#2E296F
RGBrgb(46, 41, 111)
HSLhsl(244, 46%, 30%)
HSVhsv(244, 63%, 44%)
CMYKcmyk(58.6%, 63.1%, 0%, 56.5%)
CIE-LABlab(21.26, 24.06, -40.01)
CIE-LCHlch(21.26, 46.69, 301.01°)
OKLaboklab(33.11% 0.0225 -0.1148)
OKLCHoklch(33.11% 0.117 281.1)
XYZxyz(4.7880, 3.3141, 15.4232)
Luminance0.0331 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E296F #6A6F29
analogous
#29476F #2E296F #51296F
triadic
#2E296F #6F2E29 #296F2E
tetradic
#2E296F #6F2947 #6A6F29 #296F51
square
#2E296F #6F2947 #6A6F29 #296F51
split-complementary
#2E296F #6F5129 #476F29
monochromatic
#090816 #1B1842 #2E296F #413A9C #5B53BF

Accessibility & contrast

On white

12.63
#2E296F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#2E296F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E296F
12.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E296F#FFFFFF#000000##FFFFFF
##2E296F1.0012.631.6612.63
#FFFFFF12.631.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003671
Deuteranopia (green-blind)
#00306E
Tritanopia (blue-blind)
#0D3A47
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #2e296f;
/* rgb */ color: rgb(46, 41, 111);
/* oklch */ color: oklch(33.1% 0.117 281.1);
Tailwind
colors: {
  custom: {
    50: '#6e6399',
    500: '#2e296f',
    950: '#000000',
  },
}
SCSS
$custom: #2e296f;
$custom-light: #6e6399;
$custom-dark: #000000;
JSON
{
  "hex": "#2e296f",
  "rgb": {
    "r": 46,
    "g": 41,
    "b": 111
  },
  "hsl": {
    "h": 244.286,
    "s": 46.053,
    "l": 29.804
  },
  "oklch": {
    "l": 0.33111,
    "c": 0.11702,
    "h": 281.1
  },
  "luminance": 0.03314
}

Semantic roles & 50–950 ramp

primary
#2E296F
secondary
#9CA153
accent
#D652CC
background
#F6F5F9
surface
#ECEAF2
border
#C7C6CC
text
#08050E
muted
#7B797E

Preview Lab

Preview with #2E296F

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

Preview Lab → · Contrast checker → · Palette generator →

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