#2D29A8#2D29A8

#2D29A8 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.6% C 0.193 H 273.9°. Best body text is #FFFFFF at 10.53:1 contrast (WCAG AA passes).

Color values

HEX#2D29A8
RGBrgb(45, 41, 168)
HSLhsl(242, 61%, 41%)
HSVhsv(242, 76%, 66%)
CMYKcmyk(73.2%, 75.6%, 0%, 34.1%)
CIE-LABlab(26.65, 43.56, -66.69)
CIE-LCHlch(26.65, 79.66, 303.15°)
OKLaboklab(38.64% 0.0132 -0.1929)
OKLCHoklch(38.64% 0.193 273.9)
XYZxyz(8.9407, 4.9700, 37.5263)
Luminance0.0497 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D29A8 #A4A829
analogous
#2964A8 #2D29A8 #6C29A8
triadic
#2D29A8 #A82D29 #29A82D
tetradic
#2D29A8 #A82964 #A4A829 #29A86C
square
#2D29A8 #A82964 #A4A829 #29A86C
split-complementary
#2D29A8 #A86C29 #64A829
monochromatic
#131146 #201D77 #2D29A8 #433ED0 #736FDC

Accessibility & contrast

On white

10.53
#2D29A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#2D29A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D29A8
10.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D29A8#FFFFFF#000000##FFFFFF
##2D29A81.0010.531.9910.53
#FFFFFF10.531.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045AC
Deuteranopia (green-blind)
#0039A6
Tritanopia (blue-blind)
#004E67
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2d29a8;
/* rgb */ color: rgb(45, 41, 168);
/* oklch */ color: oklch(38.6% 0.193 273.9);
Tailwind
colors: {
  custom: {
    50: '#7a65c3',
    500: '#2d29a8',
    950: '#000000',
  },
}
SCSS
$custom: #2d29a8;
$custom-light: #7a65c3;
$custom-dark: #000000;
JSON
{
  "hex": "#2d29a8",
  "rgb": {
    "r": 45,
    "g": 41,
    "b": 168
  },
  "hsl": {
    "h": 241.89,
    "s": 60.766,
    "l": 40.98
  },
  "oklch": {
    "l": 0.38636,
    "c": 0.19337,
    "h": 273.9
  },
  "luminance": 0.04971
}

Semantic roles & 50–950 ramp

primary
#2D29A8
secondary
#C0C36A
accent
#E444DF
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2D29A8

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

Preview Lab → · Contrast checker → · Palette generator →

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