#2E299E#2E299E

#2E299E is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.6% C 0.181 H 275.2°. Best body text is #FFFFFF at 10.90:1 contrast (WCAG AA passes).

Color values

HEX#2E299E
RGBrgb(46, 41, 158)
HSLhsl(243, 59%, 39%)
HSVhsv(243, 74%, 62%)
CMYKcmyk(70.9%, 74.1%, 0%, 38%)
CIE-LABlab(25.67, 40.33, -62.24)
CIE-LCHlch(25.67, 74.17, 302.94°)
OKLaboklab(37.64% 0.0164 -0.1799)
OKLCHoklch(37.64% 0.181 275.2)
XYZxyz(8.0892, 4.6346, 32.8094)
Luminance0.0464 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E299E #999E29
analogous
#295F9E #2E299E #69299E
triadic
#2E299E #9E2E29 #299E2E
tetradic
#2E299E #9E295F #999E29 #299E69
square
#2E299E #9E295F #999E29 #299E69
split-complementary
#2E299E #9E6929 #5F9E29
monochromatic
#12103D #201C6D #2E299E #3F39CC #6E69D8

Accessibility & contrast

On white

10.90
#2E299E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E299E
10.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E299E#FFFFFF#000000##FFFFFF
##2E299E1.0010.901.9310.90
#FFFFFF10.901.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A1
Deuteranopia (green-blind)
#00379C
Tritanopia (blue-blind)
#004A61
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2e299e;
/* rgb */ color: rgb(46, 41, 158);
/* oklch */ color: oklch(37.6% 0.181 275.2);
Tailwind
colors: {
  custom: {
    50: '#7864bc',
    500: '#2e299e',
    950: '#000000',
  },
}
SCSS
$custom: #2e299e;
$custom-light: #7864bc;
$custom-dark: #000000;
JSON
{
  "hex": "#2e299e",
  "rgb": {
    "r": 46,
    "g": 41,
    "b": 158
  },
  "hsl": {
    "h": 242.564,
    "s": 58.794,
    "l": 39.02
  },
  "oklch": {
    "l": 0.37644,
    "c": 0.18068,
    "h": 275.2
  },
  "luminance": 0.04635
}

Semantic roles & 50–950 ramp

primary
#2E299E
secondary
#BBBF64
accent
#E246DB
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0512
muted
#7C7A81

Preview Lab

Preview with #2E299E

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

Preview Lab → · Contrast checker → · Palette generator →

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