#29315E#29315E

#29315E is a dark, moderate blue. Relative luminance 0.035; OKLCH L 33.1% C 0.080 H 273.7°. Best body text is #FFFFFF at 12.39:1 contrast (WCAG AA passes).

Color values

HEX#29315E
RGBrgb(41, 49, 94)
HSLhsl(231, 39%, 26%)
HSVhsv(231, 56%, 37%)
CMYKcmyk(56.4%, 47.9%, 0%, 63.1%)
CIE-LABlab(21.86, 11.21, -28.01)
CIE-LCHlch(21.86, 30.17, 291.81°)
OKLaboklab(33.06% 0.0051 -0.0796)
OKLCHoklch(33.06% 0.08 273.7)
XYZxyz(4.0325, 3.4759, 11.0459)
Luminance0.0348 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#29315E #5E5629
analogous
#294C5E #29315E #3C295E
triadic
#29315E #5E2931 #315E29
tetradic
#29315E #5E294C #5E5629 #295E3C
square
#29315E #5E294C #5E5629 #295E3C
split-complementary
#29315E #5E3C29 #4C5E29
monochromatic
#090B15 #161B33 #29315E #3C4789 #4F5EB2

Accessibility & contrast

On white

12.39
#29315E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#29315E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #29315E
12.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##29315E#FFFFFF#000000##FFFFFF
##29315E1.0012.391.7012.39
#FFFFFF12.391.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E3760
Deuteranopia (green-blind)
#18325D
Tritanopia (blue-blind)
#113B43
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #29315e;
/* rgb */ color: rgb(41, 49, 94);
/* oklch */ color: oklch(33.1% 0.080 273.7);
Tailwind
colors: {
  custom: {
    50: '#67688c',
    500: '#29315e',
    950: '#000000',
  },
}
SCSS
$custom: #29315e;
$custom-light: #67688c;
$custom-dark: #000000;
JSON
{
  "hex": "#29315e",
  "rgb": {
    "r": 41,
    "g": 49,
    "b": 94
  },
  "hsl": {
    "h": 230.943,
    "s": 39.259,
    "l": 26.471
  },
  "oklch": {
    "l": 0.33055,
    "c": 0.07976,
    "h": 273.7
  },
  "luminance": 0.03476
}

Semantic roles & 50–950 ramp

primary
#29315E
secondary
#918752
accent
#BD59CF
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#06060C
muted
#7A7A7D

Preview Lab

Preview with #29315E

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

Preview Lab → · Contrast checker → · Palette generator →

#29315E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva