#2E29BB#2E29BB

#2E29BB is a dark, highly saturated blue. Relative luminance 0.058; OKLCH L 40.8% C 0.216 H 272.8°. Best body text is #FFFFFF at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#2E29BB
RGBrgb(46, 41, 187)
HSLhsl(242, 64%, 45%)
HSVhsv(242, 78%, 73%)
CMYKcmyk(75.4%, 78.1%, 0%, 26.7%)
CIE-LABlab(28.78, 49.80, -74.52)
CIE-LCHlch(28.78, 89.62, 303.75°)
OKLaboklab(40.76% 0.0104 -0.2156)
OKLCHoklch(40.76% 0.216 272.8)
XYZxyz(10.8863, 5.7534, 47.5409)
Luminance0.0575 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E29BB #B6BB29
analogous
#296DBB #2E29BB #7729BB
triadic
#2E29BB #BB2E29 #29BB2E
tetradic
#2E29BB #BB296D #B6BB29 #29BB77
square
#2E29BB #BB296D #B6BB29 #29BB77
split-complementary
#2E29BB #BB7729 #6DBB29
monochromatic
#151357 #221E89 #2E29BB #4F4AD7 #807CE2

Accessibility & contrast

On white

9.76
#2E29BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#2E29BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E29BB
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E29BB#FFFFFF#000000##FFFFFF
##2E29BB1.009.762.159.76
#FFFFFF9.761.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BBF
Deuteranopia (green-blind)
#003DB8
Tritanopia (blue-blind)
#005571
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2e29bb;
/* rgb */ color: rgb(46, 41, 187);
/* oklch */ color: oklch(40.8% 0.216 272.8);
Tailwind
colors: {
  custom: {
    50: '#7f66d1',
    500: '#2e29bb',
    950: '#000000',
  },
}
SCSS
$custom: #2e29bb;
$custom-light: #7f66d1;
$custom-dark: #000000;
JSON
{
  "hex": "#2e29bb",
  "rgb": {
    "r": 46,
    "g": 41,
    "b": 187
  },
  "hsl": {
    "h": 242.055,
    "s": 64.035,
    "l": 44.706
  },
  "oklch": {
    "l": 0.40764,
    "c": 0.2159,
    "h": 272.8
  },
  "luminance": 0.05755
}

Semantic roles & 50–950 ramp

primary
#2E29BB
secondary
#C8CB75
accent
#E741E1
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83

Preview Lab

Preview with #2E29BB

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

Preview Lab → · Contrast checker → · Palette generator →

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