#2E299F#2E299F

#2E299F is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.7% C 0.182 H 275.1°. Best body text is #FFFFFF at 10.86:1 contrast (WCAG AA passes).

Color values

HEX#2E299F
RGBrgb(46, 41, 159)
HSLhsl(243, 59%, 39%)
HSVhsv(243, 74%, 62%)
CMYKcmyk(71.1%, 74.2%, 0%, 37.6%)
CIE-LABlab(25.77, 40.67, -62.68)
CIE-LCHlch(25.77, 74.72, 302.98°)
OKLaboklab(37.75% 0.0162 -0.1812)
OKLCHoklch(37.75% 0.182 275.1)
XYZxyz(8.1756, 4.6691, 33.2645)
Luminance0.0467 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E299F #9A9F29
analogous
#295F9F #2E299F #69299F
triadic
#2E299F #9F2E29 #299F2E
tetradic
#2E299F #9F295F #9A9F29 #299F69
square
#2E299F #9F295F #9A9F29 #299F69
split-complementary
#2E299F #9F6929 #5F9F29
monochromatic
#12103E #201C6E #2E299F #3F39CC #6F6AD9

Accessibility & contrast

On white

10.86
#2E299F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#2E299F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E299F
10.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E299F#FFFFFF#000000##FFFFFF
##2E299F1.0010.861.9310.86
#FFFFFF10.861.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A2
Deuteranopia (green-blind)
#00389D
Tritanopia (blue-blind)
#004B61
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2e299f;
/* rgb */ color: rgb(46, 41, 159);
/* oklch */ color: oklch(37.7% 0.182 275.1);
Tailwind
colors: {
  custom: {
    50: '#7864bd',
    500: '#2e299f',
    950: '#000000',
  },
}
SCSS
$custom: #2e299f;
$custom-light: #7864bd;
$custom-dark: #000000;
JSON
{
  "hex": "#2e299f",
  "rgb": {
    "r": 46,
    "g": 41,
    "b": 159
  },
  "hsl": {
    "h": 242.542,
    "s": 59,
    "l": 39.216
  },
  "oklch": {
    "l": 0.37749,
    "c": 0.18194,
    "h": 275.1
  },
  "luminance": 0.0467
}

Semantic roles & 50–950 ramp

primary
#2E299F
secondary
#BBBF65
accent
#E246DC
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0512
muted
#7C7A81

Preview Lab

Preview with #2E299F

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

Preview Lab → · Contrast checker → · Palette generator →

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