#2D29A5#2D29A5

#2D29A5 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.3% C 0.190 H 274.2°. Best body text is #FFFFFF at 10.65:1 contrast (WCAG AA passes).

Color values

HEX#2D29A5
RGBrgb(45, 41, 165)
HSLhsl(242, 60%, 40%)
HSVhsv(242, 75%, 65%)
CMYKcmyk(72.7%, 75.2%, 0%, 35.3%)
CIE-LABlab(26.33, 42.57, -65.40)
CIE-LCHlch(26.33, 78.04, 303.06°)
OKLaboklab(38.32% 0.0138 -0.1892)
OKLCHoklch(38.32% 0.19 274.2)
XYZxyz(8.6644, 4.8595, 36.0714)
Luminance0.0486 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D29A5 #A1A529
analogous
#2963A5 #2D29A5 #6B29A5
triadic
#2D29A5 #A52D29 #29A52D
tetradic
#2D29A5 #A52963 #A1A529 #29A56B
square
#2D29A5 #A52963 #A1A529 #29A56B
split-complementary
#2D29A5 #A56B29 #63A529
monochromatic
#121143 #201D74 #2D29A5 #413DCF #716EDB

Accessibility & contrast

On white

10.65
#2D29A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#2D29A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D29A5
10.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D29A5#FFFFFF#000000##FFFFFF
##2D29A51.0010.651.9710.65
#FFFFFF10.651.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A9
Deuteranopia (green-blind)
#0038A3
Tritanopia (blue-blind)
#004D65
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2d29a5;
/* rgb */ color: rgb(45, 41, 165);
/* oklch */ color: oklch(38.3% 0.190 274.2);
Tailwind
colors: {
  custom: {
    50: '#7965c1',
    500: '#2d29a5',
    950: '#000000',
  },
}
SCSS
$custom: #2d29a5;
$custom-light: #7965c1;
$custom-dark: #000000;
JSON
{
  "hex": "#2d29a5",
  "rgb": {
    "r": 45,
    "g": 41,
    "b": 165
  },
  "hsl": {
    "h": 241.935,
    "s": 60.194,
    "l": 40.392
  },
  "oklch": {
    "l": 0.38316,
    "c": 0.18967,
    "h": 274.2
  },
  "luminance": 0.0486
}

Semantic roles & 50–950 ramp

primary
#2D29A5
secondary
#BFC268
accent
#E344DE
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #2D29A5

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

Preview Lab → · Contrast checker → · Palette generator →

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