#2D29A1#2D29A1

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

Color values

HEX#2D29A1
RGBrgb(45, 41, 161)
HSLhsl(242, 59%, 40%)
HSVhsv(242, 75%, 63%)
CMYKcmyk(72%, 74.5%, 0%, 36.9%)
CIE-LABlab(25.91, 41.23, -63.67)
CIE-LCHlch(25.91, 75.86, 302.93°)
OKLaboklab(37.89% 0.0145 -0.1841)
OKLCHoklch(37.89% 0.185 274.5)
XYZxyz(8.3060, 4.7162, 34.1839)
Luminance0.0472 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D29A1 #9DA129
analogous
#2961A1 #2D29A1 #6929A1
triadic
#2D29A1 #A12D29 #29A12D
tetradic
#2D29A1 #A12961 #9DA129 #29A169
square
#2D29A1 #A12961 #9DA129 #29A169
split-complementary
#2D29A1 #A16929 #61A129
monochromatic
#12103F #1F1D70 #2D29A1 #3F3ACD #6F6BD9

Accessibility & contrast

On white

10.81
#2D29A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D29A1
10.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D29A1#FFFFFF#000000##FFFFFF
##2D29A11.0010.811.9410.81
#FFFFFF10.811.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A5
Deuteranopia (green-blind)
#00389F
Tritanopia (blue-blind)
#004B63
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2d29a1;
/* rgb */ color: rgb(45, 41, 161);
/* oklch */ color: oklch(37.9% 0.185 274.5);
Tailwind
colors: {
  custom: {
    50: '#7864be',
    500: '#2d29a1',
    950: '#000000',
  },
}
SCSS
$custom: #2d29a1;
$custom-light: #7864be;
$custom-dark: #000000;
JSON
{
  "hex": "#2d29a1",
  "rgb": {
    "r": 45,
    "g": 41,
    "b": 161
  },
  "hsl": {
    "h": 242,
    "s": 59.406,
    "l": 39.608
  },
  "oklch": {
    "l": 0.37892,
    "c": 0.1847,
    "h": 274.5
  },
  "luminance": 0.04717
}

Semantic roles & 50–950 ramp

primary
#2D29A1
secondary
#BDC066
accent
#E345DD
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0512
muted
#7C7A81

Preview Lab

Preview with #2D29A1

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

Preview Lab → · Contrast checker → · Palette generator →

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