#29187F#29187F

#29187F is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.6% C 0.160 H 279.5°. Best body text is #FFFFFF at 13.71:1 contrast (WCAG AA passes).

Color values

HEX#29187F
RGBrgb(41, 24, 127)
HSLhsl(250, 68%, 30%)
HSVhsv(250, 81%, 50%)
CMYKcmyk(67.7%, 81.1%, 0%, 50.2%)
CIE-LABlab(18.61, 39.03, -54.62)
CIE-LCHlch(18.61, 67.13, 305.55°)
OKLaboklab(31.58% 0.0265 -0.1577)
OKLCHoklch(31.58% 0.16 279.5)
XYZxyz(5.0706, 2.6566, 20.3201)
Luminance0.0266 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#29187F #6E7F18
analogous
#183B7F #29187F #5D187F
triadic
#29187F #7F2918 #187F29
tetradic
#29187F #7F183B #6E7F18 #187F5D
square
#29187F #7F183B #6E7F18 #187F5D
split-complementary
#29187F #7F5D18 #3B7F18
monochromatic
#08051A #180E4C #29187F #3A22B2 #5338D9

Accessibility & contrast

On white

13.71
#29187F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#29187F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #29187F
13.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##29187F#FFFFFF#000000##FFFFFF
##29187F1.0013.711.5313.71
#FFFFFF13.711.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003182
Deuteranopia (green-blind)
#00297D
Tritanopia (blue-blind)
#00374B
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #29187f;
/* rgb */ color: rgb(41, 24, 127);
/* oklch */ color: oklch(31.6% 0.160 279.5);
Tailwind
colors: {
  custom: {
    50: '#7058a5',
    500: '#29187f',
    950: '#000000',
  },
}
SCSS
$custom: #29187f;
$custom-light: #7058a5;
$custom-dark: #000000;
JSON
{
  "hex": "#29187f",
  "rgb": {
    "r": 41,
    "g": 24,
    "b": 127
  },
  "hsl": {
    "h": 249.903,
    "s": 68.212,
    "l": 29.608
  },
  "oklch": {
    "l": 0.31576,
    "c": 0.15991,
    "h": 279.5
  },
  "luminance": 0.02657
}

Semantic roles & 50–950 ramp

primary
#29187F
secondary
#A0B33F
accent
#EB3DCE
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#09030F
muted
#7B787F

Preview Lab

Preview with #29187F

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

Preview Lab → · Contrast checker → · Palette generator →

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