#29317D#29317D

#29317D is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.5% C 0.128 H 273.4°. Best body text is #FFFFFF at 11.48:1 contrast (WCAG AA passes).

Color values

HEX#29317D
RGBrgb(41, 49, 125)
HSLhsl(234, 51%, 33%)
HSVhsv(234, 67%, 49%)
CMYKcmyk(67.2%, 60.8%, 0%, 51%)
CIE-LABlab(24.16, 22.78, -44.26)
CIE-LCHlch(24.16, 49.78, 297.23°)
OKLaboklab(35.52% 0.0076 -0.1274)
OKLCHoklch(35.52% 0.128 273.4)
XYZxyz(5.7132, 4.1482, 19.8977)
Luminance0.0415 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#29317D #7D7529
analogous
#295B7D #29317D #4B297D
triadic
#29317D #7D2931 #317D29
tetradic
#29317D #7D295B #7D7529 #297D4B
square
#29317D #7D295B #7D7529 #297D4B
split-complementary
#29317D #7D4B29 #5B7D29
monochromatic
#0B0D21 #1A1F4F #29317D #3843AB #5863C8

Accessibility & contrast

On white

11.48
#29317D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#29317D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #29317D
11.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##29317D#FFFFFF#000000##FFFFFF
##29317D1.0011.481.8311.48
#FFFFFF11.481.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.481.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #29317d;
/* rgb */ color: rgb(41, 49, 125);
/* oklch */ color: oklch(35.5% 0.128 273.4);
Tailwind
colors: {
  custom: {
    50: '#6d69a3',
    500: '#29317d',
    950: '#000000',
  },
}
SCSS
$custom: #29317d;
$custom-light: #6d69a3;
$custom-dark: #000000;
JSON
{
  "hex": "#29317d",
  "rgb": {
    "r": 41,
    "g": 49,
    "b": 125
  },
  "hsl": {
    "h": 234.286,
    "s": 50.602,
    "l": 32.549
  },
  "oklch": {
    "l": 0.35516,
    "c": 0.12763,
    "h": 273.4
  },
  "luminance": 0.04149
}

Semantic roles & 50–950 ramp

primary
#29317D
secondary
#AEA554
accent
#CD4EDA
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#08060F
muted
#7A7A7F

Preview Lab

Preview with #29317D

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

Preview Lab → · Contrast checker → · Palette generator →

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