#2D29B2#2D29B2

#2D29B2 is a dark, highly saturated blue. Relative luminance 0.054; OKLCH L 39.7% C 0.205 H 273.1°. Best body text is #FFFFFF at 10.14:1 contrast (WCAG AA passes).

Color values

HEX#2D29B2
RGBrgb(45, 41, 178)
HSLhsl(242, 63%, 43%)
HSVhsv(242, 77%, 70%)
CMYKcmyk(74.7%, 77%, 0%, 30.2%)
CIE-LABlab(27.73, 46.83, -70.91)
CIE-LCHlch(27.73, 84.98, 303.44°)
OKLaboklab(39.72% 0.0111 -0.2052)
OKLCHoklch(39.72% 0.205 273.1)
XYZxyz(9.9083, 5.3571, 42.6227)
Luminance0.0536 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D29B2 #AEB229
analogous
#2969B2 #2D29B2 #7129B2
triadic
#2D29B2 #B22D29 #29B22D
tetradic
#2D29B2 #B22969 #AEB229 #29B271
square
#2D29B2 #B22969 #AEB229 #29B271
split-complementary
#2D29B2 #B27129 #69B229
monochromatic
#14124F #201E80 #2D29B2 #4844D4 #7976DF

Accessibility & contrast

On white

10.14
#2D29B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#2D29B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D29B2
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D29B2#FFFFFF#000000##FFFFFF
##2D29B21.0010.142.0710.14
#FFFFFF10.141.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B6
Deuteranopia (green-blind)
#003BB0
Tritanopia (blue-blind)
#00526C
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2d29b2;
/* rgb */ color: rgb(45, 41, 178);
/* oklch */ color: oklch(39.7% 0.205 273.1);
Tailwind
colors: {
  custom: {
    50: '#7c65ca',
    500: '#2d29b2',
    950: '#000000',
  },
}
SCSS
$custom: #2d29b2;
$custom-light: #7c65ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2d29b2",
  "rgb": {
    "r": 45,
    "g": 41,
    "b": 178
  },
  "hsl": {
    "h": 241.752,
    "s": 62.557,
    "l": 42.941
  },
  "oklch": {
    "l": 0.39717,
    "c": 0.20549,
    "h": 273.1
  },
  "luminance": 0.05358
}

Semantic roles & 50–950 ramp

primary
#2D29B2
secondary
#C4C770
accent
#E642E1
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2D29B2

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

Preview Lab → · Contrast checker → · Palette generator →

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