#29258B#29258B

#29258B is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.7% C 0.162 H 275.6°. Best body text is #FFFFFF at 12.13:1 contrast (WCAG AA passes).

Color values

HEX#29258B
RGBrgb(41, 37, 139)
HSLhsl(242, 58%, 35%)
HSVhsv(242, 73%, 55%)
CMYKcmyk(70.5%, 73.4%, 0%, 45.5%)
CIE-LABlab(22.51, 35.67, -55.75)
CIE-LCHlch(22.51, 66.18, 302.61°)
OKLaboklab(34.71% 0.0158 -0.1611)
OKLCHoklch(34.71% 0.162 275.6)
XYZxyz(6.2347, 3.6581, 24.7986)
Luminance0.0366 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#29258B #878B25
analogous
#25548B #29258B #5C258B
triadic
#29258B #8B2925 #258B29
tetradic
#29258B #8B2554 #878B25 #258B5C
square
#29258B #8B2554 #878B25 #258B5C
split-complementary
#29258B #8B5C25 #548B25
monochromatic
#0C0B2A #1B185B #29258B #3732BB #5D58D3

Accessibility & contrast

On white

12.13
#29258B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#29258B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #29258B
12.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##29258B#FFFFFF#000000##FFFFFF
##29258B1.0012.131.7312.13
#FFFFFF12.131.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A8E
Deuteranopia (green-blind)
#003189
Tritanopia (blue-blind)
#004155
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #29258b;
/* rgb */ color: rgb(41, 37, 139);
/* oklch */ color: oklch(34.7% 0.162 275.6);
Tailwind
colors: {
  custom: {
    50: '#7261ae',
    500: '#29258b',
    950: '#000000',
  },
}
SCSS
$custom: #29258b;
$custom-light: #7261ae;
$custom-dark: #000000;
JSON
{
  "hex": "#29258b",
  "rgb": {
    "r": 41,
    "g": 37,
    "b": 139
  },
  "hsl": {
    "h": 242.353,
    "s": 57.955,
    "l": 34.51
  },
  "oklch": {
    "l": 0.34712,
    "c": 0.16187,
    "h": 275.6
  },
  "luminance": 0.03659
}

Semantic roles & 50–950 ramp

primary
#29258B
secondary
#B3B755
accent
#E147DB
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#090510
muted
#7B797F

Preview Lab

Preview with #29258B

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

Preview Lab → · Contrast checker → · Palette generator →

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