#29339F#29339F

#29339F is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.0% C 0.172 H 271.4°. Best body text is #FFFFFF at 10.15:1 contrast (WCAG AA passes).

Color values

HEX#29339F
RGBrgb(41, 51, 159)
HSLhsl(235, 59%, 39%)
HSVhsv(235, 74%, 62%)
CMYKcmyk(74.2%, 67.9%, 0%, 37.6%)
CIE-LABlab(27.69, 34.01, -59.54)
CIE-LCHlch(27.69, 68.57, 299.73°)
OKLaboklab(39.04% 0.0043 -0.1722)
OKLCHoklch(39.04% 0.172 271.4)
XYZxyz(8.3542, 5.3414, 33.3849)
Luminance0.0534 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#29339F #9F9529
analogous
#296E9F #29339F #5A299F
triadic
#29339F #9F2933 #339F29
tetradic
#29339F #9F296E #9F9529 #299F5A
square
#29339F #9F296E #9F9529 #299F5A
split-complementary
#29339F #9F5A29 #6E9F29
monochromatic
#10143E #1C236E #29339F #3946CC #6A73D9

Accessibility & contrast

On white

10.15
#29339F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#29339F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #29339F
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##29339F#FFFFFF#000000##FFFFFF
##29339F1.0010.152.0710.15
#FFFFFF10.151.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A2
Deuteranopia (green-blind)
#003C9D
Tritanopia (blue-blind)
#005064
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #29339f;
/* rgb */ color: rgb(41, 51, 159);
/* oklch */ color: oklch(39.0% 0.172 271.4);
Tailwind
colors: {
  custom: {
    50: '#756bbc',
    500: '#29339f',
    950: '#000000',
  },
}
SCSS
$custom: #29339f;
$custom-light: #756bbc;
$custom-dark: #000000;
JSON
{
  "hex": "#29339f",
  "rgb": {
    "r": 41,
    "g": 51,
    "b": 159
  },
  "hsl": {
    "h": 234.915,
    "s": 59,
    "l": 39.216
  },
  "oklch": {
    "l": 0.39043,
    "c": 0.17224,
    "h": 271.4
  },
  "luminance": 0.05342
}

Semantic roles & 50–950 ramp

primary
#29339F
secondary
#BFB765
accent
#D546E2
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #29339F

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

Preview Lab → · Contrast checker → · Palette generator →

#29339F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva