#29317C#29317C

#29317C is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.4% C 0.126 H 273.5°. Best body text is #FFFFFF at 11.51:1 contrast (WCAG AA passes).

Color values

HEX#29317C
RGBrgb(41, 49, 124)
HSLhsl(234, 50%, 32%)
HSVhsv(234, 67%, 49%)
CMYKcmyk(66.9%, 60.5%, 0%, 51.4%)
CIE-LABlab(24.07, 22.40, -43.76)
CIE-LCHlch(24.07, 49.16, 297.11°)
OKLaboklab(35.43% 0.0076 -0.1259)
OKLCHoklch(35.43% 0.126 273.5)
XYZxyz(5.6496, 4.1228, 19.5629)
Luminance0.0412 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#29317C #7C7429
analogous
#295A7C #29317C #4B297C
triadic
#29317C #7C2931 #317C29
tetradic
#29317C #7C295A #7C7429 #297C4B
square
#29317C #7C295A #7C7429 #297C4B
split-complementary
#29317C #7C4B29 #5A7C29
monochromatic
#0B0D20 #1A1F4E #29317C #3843AA #5863C8

Accessibility & contrast

On white

11.51
#29317C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#29317C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #29317C
11.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##29317C#FFFFFF#000000##FFFFFF
##29317C1.0011.511.8211.51
#FFFFFF11.511.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D7F
Deuteranopia (green-blind)
#00367B
Tritanopia (blue-blind)
#004351
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #29317c;
/* rgb */ color: rgb(41, 49, 124);
/* oklch */ color: oklch(35.4% 0.126 273.5);
Tailwind
colors: {
  custom: {
    50: '#6d69a3',
    500: '#29317c',
    950: '#000000',
  },
}
SCSS
$custom: #29317c;
$custom-light: #6d69a3;
$custom-dark: #000000;
JSON
{
  "hex": "#29317c",
  "rgb": {
    "r": 41,
    "g": 49,
    "b": 124
  },
  "hsl": {
    "h": 234.217,
    "s": 50.303,
    "l": 32.353
  },
  "oklch": {
    "l": 0.35429,
    "c": 0.12616,
    "h": 273.5
  },
  "luminance": 0.04123
}

Semantic roles & 50–950 ramp

primary
#29317C
secondary
#ADA454
accent
#CC4EDA
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#08060F
muted
#7A7A7F

Preview Lab

Preview with #29317C

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

Preview Lab → · Contrast checker → · Palette generator →

#29317C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva