#2E296E#2E296E

#2E296E is a dark, moderate blue. Relative luminance 0.033; OKLCH L 33.0% C 0.116 H 281.3°. Best body text is #FFFFFF at 12.66:1 contrast (WCAG AA passes).

Color values

HEX#2E296E
RGBrgb(46, 41, 110)
HSLhsl(244, 46%, 30%)
HSVhsv(244, 63%, 43%)
CMYKcmyk(58.2%, 62.7%, 0%, 56.9%)
CIE-LABlab(21.18, 23.70, -39.50)
CIE-LCHlch(21.18, 46.07, 300.97°)
OKLaboklab(33.03% 0.0226 -0.1133)
OKLCHoklch(33.03% 0.116 281.3)
XYZxyz(4.7333, 3.2922, 15.1349)
Luminance0.0329 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E296E #696E29
analogous
#29476E #2E296E #51296E
triadic
#2E296E #6E2E29 #296E2E
tetradic
#2E296E #6E2947 #696E29 #296E51
square
#2E296E #6E2947 #696E29 #296E51
split-complementary
#2E296E #6E5129 #476E29
monochromatic
#090816 #1B1841 #2E296E #413A9B #5A53BF

Accessibility & contrast

On white

12.66
#2E296E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E296E
12.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E296E#FFFFFF#000000##FFFFFF
##2E296E1.0012.661.6612.66
#FFFFFF12.661.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003570
Deuteranopia (green-blind)
#00306D
Tritanopia (blue-blind)
#0F3947
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #2e296e;
/* rgb */ color: rgb(46, 41, 110);
/* oklch */ color: oklch(33.0% 0.116 281.3);
Tailwind
colors: {
  custom: {
    50: '#6d6398',
    500: '#2e296e',
    950: '#000000',
  },
}
SCSS
$custom: #2e296e;
$custom-light: #6d6398;
$custom-dark: #000000;
JSON
{
  "hex": "#2e296e",
  "rgb": {
    "r": 46,
    "g": 41,
    "b": 110
  },
  "hsl": {
    "h": 244.348,
    "s": 45.695,
    "l": 29.608
  },
  "oklch": {
    "l": 0.33025,
    "c": 0.11554,
    "h": 281.3
  },
  "luminance": 0.03293
}

Semantic roles & 50–950 ramp

primary
#2E296E
secondary
#9BA053
accent
#D552CC
background
#F6F5F9
surface
#ECEAF2
border
#C7C6CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #2E296E

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

Preview Lab → · Contrast checker → · Palette generator →

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