#2E29A0#2E29A0

#2E29A0 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.9% C 0.183 H 275.0°. Best body text is #FFFFFF at 10.82:1 contrast (WCAG AA passes).

Color values

HEX#2E29A0
RGBrgb(46, 41, 160)
HSLhsl(243, 59%, 39%)
HSVhsv(243, 74%, 63%)
CMYKcmyk(71.2%, 74.4%, 0%, 37.3%)
CIE-LABlab(25.87, 41.00, -63.12)
CIE-LCHlch(25.87, 75.27, 303.01°)
OKLaboklab(37.85% 0.016 -0.1825)
OKLCHoklch(37.85% 0.183 275)
XYZxyz(8.2627, 4.7040, 33.7234)
Luminance0.0471 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E29A0 #9BA029
analogous
#2960A0 #2E29A0 #6A29A0
triadic
#2E29A0 #A02E29 #29A02E
tetradic
#2E29A0 #A02960 #9BA029 #29A06A
square
#2E29A0 #A02960 #9BA029 #29A06A
split-complementary
#2E29A0 #A06A29 #60A029
monochromatic
#12103F #201D6F #2E29A0 #403ACC #6F6AD9

Accessibility & contrast

On white

10.82
#2E29A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#2E29A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E29A0
10.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E29A0#FFFFFF#000000##FFFFFF
##2E29A01.0010.821.9410.82
#FFFFFF10.821.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A3
Deuteranopia (green-blind)
#00389E
Tritanopia (blue-blind)
#004B62
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2e29a0;
/* rgb */ color: rgb(46, 41, 160);
/* oklch */ color: oklch(37.9% 0.183 275.0);
Tailwind
colors: {
  custom: {
    50: '#7864bd',
    500: '#2e29a0',
    950: '#000000',
  },
}
SCSS
$custom: #2e29a0;
$custom-light: #7864bd;
$custom-dark: #000000;
JSON
{
  "hex": "#2e29a0",
  "rgb": {
    "r": 46,
    "g": 41,
    "b": 160
  },
  "hsl": {
    "h": 242.521,
    "s": 59.204,
    "l": 39.412
  },
  "oklch": {
    "l": 0.37853,
    "c": 0.1832,
    "h": 275
  },
  "luminance": 0.04705
}

Semantic roles & 50–950 ramp

primary
#2E29A0
secondary
#BCBF65
accent
#E245DC
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0512
muted
#7C7A81

Preview Lab

Preview with #2E29A0

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

Preview Lab → · Contrast checker → · Palette generator →

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