#2E299B#2E299B

#2E299B is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.3% C 0.177 H 275.5°. Best body text is #FFFFFF at 11.01:1 contrast (WCAG AA passes).

Color values

HEX#2E299B
RGBrgb(46, 41, 155)
HSLhsl(243, 58%, 38%)
HSVhsv(243, 74%, 61%)
CMYKcmyk(70.3%, 73.5%, 0%, 39.2%)
CIE-LABlab(25.36, 39.33, -60.92)
CIE-LCHlch(25.36, 72.51, 302.84°)
OKLaboklab(37.33% 0.017 -0.1761)
OKLCHoklch(37.33% 0.177 275.5)
XYZxyz(7.8341, 4.5325, 31.4660)
Luminance0.0453 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E299B #969B29
analogous
#295D9B #2E299B #67299B
triadic
#2E299B #9B2E29 #299B2E
tetradic
#2E299B #9B295D #969B29 #299B67
square
#2E299B #9B295D #969B29 #299B67
split-complementary
#2E299B #9B6729 #5D9B29
monochromatic
#110F3A #201C6B #2E299B #3E37CA #6C67D7

Accessibility & contrast

On white

11.01
#2E299B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#2E299B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E299B
11.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E299B#FFFFFF#000000##FFFFFF
##2E299B1.0011.011.9111.01
#FFFFFF11.011.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00419E
Deuteranopia (green-blind)
#003799
Tritanopia (blue-blind)
#00495F
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2e299b;
/* rgb */ color: rgb(46, 41, 155);
/* oklch */ color: oklch(37.3% 0.177 275.5);
Tailwind
colors: {
  custom: {
    50: '#7764ba',
    500: '#2e299b',
    950: '#000000',
  },
}
SCSS
$custom: #2e299b;
$custom-light: #7764ba;
$custom-dark: #000000;
JSON
{
  "hex": "#2e299b",
  "rgb": {
    "r": 46,
    "g": 41,
    "b": 155
  },
  "hsl": {
    "h": 242.632,
    "s": 58.163,
    "l": 38.431
  },
  "oklch": {
    "l": 0.37333,
    "c": 0.17689,
    "h": 275.5
  },
  "luminance": 0.04533
}

Semantic roles & 50–950 ramp

primary
#2E299B
secondary
#B9BD63
accent
#E146DB
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0512
muted
#7C7A81

Preview Lab

Preview with #2E299B

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

Preview Lab → · Contrast checker → · Palette generator →

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