#29317B#29317B

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

Color values

HEX#29317B
RGBrgb(41, 49, 123)
HSLhsl(234, 50%, 32%)
HSVhsv(234, 67%, 48%)
CMYKcmyk(66.7%, 60.2%, 0%, 51.8%)
CIE-LABlab(23.99, 22.03, -43.26)
CIE-LCHlch(23.99, 48.55, 296.98°)
OKLaboklab(35.34% 0.0076 -0.1245)
OKLCHoklch(35.34% 0.125 273.5)
XYZxyz(5.5867, 4.0976, 19.2316)
Luminance0.0410 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#29317B #7B7329
analogous
#295A7B #29317B #4A297B
triadic
#29317B #7B2931 #317B29
tetradic
#29317B #7B295A #7B7329 #297B4A
square
#29317B #7B295A #7B7329 #297B4A
split-complementary
#29317B #7B4A29 #5A7B29
monochromatic
#0A0C1F #1A1F4D #29317B #3843A9 #5762C7

Accessibility & contrast

On white

11.54
#29317B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #29317B
11.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##29317B#FFFFFF#000000##FFFFFF
##29317B1.0011.541.8211.54
#FFFFFF11.541.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.541.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #29317b;
/* rgb */ color: rgb(41, 49, 123);
/* oklch */ color: oklch(35.3% 0.125 273.5);
Tailwind
colors: {
  custom: {
    50: '#6d69a2',
    500: '#29317b',
    950: '#000000',
  },
}
SCSS
$custom: #29317b;
$custom-light: #6d69a2;
$custom-dark: #000000;
JSON
{
  "hex": "#29317b",
  "rgb": {
    "r": 41,
    "g": 49,
    "b": 123
  },
  "hsl": {
    "h": 234.146,
    "s": 50,
    "l": 32.157
  },
  "oklch": {
    "l": 0.35343,
    "c": 0.12469,
    "h": 273.5
  },
  "luminance": 0.04098
}

Semantic roles & 50–950 ramp

primary
#29317B
secondary
#ACA453
accent
#CC4EDA
background
#F6F6FA
surface
#ECEBF3
border
#C7C6CD
text
#08060F
muted
#7A7A7F

Preview Lab

Preview with #29317B

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

Preview Lab → · Contrast checker → · Palette generator →

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