#29318F#29318F

#29318F is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.2% C 0.153 H 272.6°. Best body text is #FFFFFF at 10.88:1 contrast (WCAG AA passes).

Color values

HEX#29318F
RGBrgb(41, 49, 143)
HSLhsl(235, 55%, 36%)
HSVhsv(235, 71%, 56%)
CMYKcmyk(71.3%, 65.7%, 0%, 43.9%)
CIE-LABlab(25.71, 29.47, -52.97)
CIE-LCHlch(25.71, 60.61, 299.09°)
OKLaboklab(37.15% 0.007 -0.1529)
OKLCHoklch(37.15% 0.153 272.6)
XYZxyz(6.9690, 4.6505, 26.5116)
Luminance0.0465 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#29318F #8F8729
analogous
#29648F #29318F #54298F
triadic
#29318F #8F2931 #318F29
tetradic
#29318F #8F2964 #8F8729 #298F54
square
#29318F #8F2964 #8F8729 #298F54
split-complementary
#29318F #8F5429 #648F29
monochromatic
#0E1030 #1B215F #29318F #3741BF #616AD2

Accessibility & contrast

On white

10.88
#29318F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#29318F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #29318F
10.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##29318F#FFFFFF#000000##FFFFFF
##29318F1.0010.881.9310.88
#FFFFFF10.881.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004292
Deuteranopia (green-blind)
#00388D
Tritanopia (blue-blind)
#00495B
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #29318f;
/* rgb */ color: rgb(41, 49, 143);
/* oklch */ color: oklch(37.2% 0.153 272.6);
Tailwind
colors: {
  custom: {
    50: '#7169b1',
    500: '#29318f',
    950: '#000000',
  },
}
SCSS
$custom: #29318f;
$custom-light: #7169b1;
$custom-dark: #000000;
JSON
{
  "hex": "#29318f",
  "rgb": {
    "r": 41,
    "g": 49,
    "b": 143
  },
  "hsl": {
    "h": 235.294,
    "s": 55.435,
    "l": 36.078
  },
  "oklch": {
    "l": 0.37151,
    "c": 0.15311,
    "h": 272.6
  },
  "luminance": 0.04651
}

Semantic roles & 50–950 ramp

primary
#29318F
secondary
#B7B05C
accent
#D349DF
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #29318F

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

Preview Lab → · Contrast checker → · Palette generator →

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