#29258C#29258C

#29258C is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.8% C 0.163 H 275.5°. Best body text is #FFFFFF at 12.09:1 contrast (WCAG AA passes).

Color values

HEX#29258C
RGBrgb(41, 37, 140)
HSLhsl(242, 58%, 35%)
HSVhsv(242, 74%, 55%)
CMYKcmyk(70.7%, 73.6%, 0%, 45.1%)
CIE-LABlab(22.61, 36.02, -56.20)
CIE-LCHlch(22.61, 66.75, 302.65°)
OKLaboklab(34.82% 0.0156 -0.1624)
OKLCHoklch(34.82% 0.163 275.5)
XYZxyz(6.3081, 3.6874, 25.1852)
Luminance0.0369 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#29258C #888C25
analogous
#25558C #29258C #5D258C
triadic
#29258C #8C2925 #258C29
tetradic
#29258C #8C2555 #888C25 #258C5D
square
#29258C #8C2555 #888C25 #258C5D
split-complementary
#29258C #8C5D25 #558C25
monochromatic
#0D0B2B #1B185C #29258C #3732BC #5D58D3

Accessibility & contrast

On white

12.09
#29258C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#29258C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #29258C
12.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##29258C#FFFFFF#000000##FFFFFF
##29258C1.0012.091.7412.09
#FFFFFF12.091.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B8F
Deuteranopia (green-blind)
#00318A
Tritanopia (blue-blind)
#004256
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #29258c;
/* rgb */ color: rgb(41, 37, 140);
/* oklch */ color: oklch(34.8% 0.163 275.5);
Tailwind
colors: {
  custom: {
    50: '#7261af',
    500: '#29258c',
    950: '#000000',
  },
}
SCSS
$custom: #29258c;
$custom-light: #7261af;
$custom-dark: #000000;
JSON
{
  "hex": "#29258c",
  "rgb": {
    "r": 41,
    "g": 37,
    "b": 140
  },
  "hsl": {
    "h": 242.33,
    "s": 58.192,
    "l": 34.706
  },
  "oklch": {
    "l": 0.34817,
    "c": 0.16318,
    "h": 275.5
  },
  "luminance": 0.03688
}

Semantic roles & 50–950 ramp

primary
#29258C
secondary
#B4B855
accent
#E146DB
background
#F7F5FA
surface
#EDEAF5
border
#C8C6CF
text
#090510
muted
#7B797F

Preview Lab

Preview with #29258C

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

Preview Lab → · Contrast checker → · Palette generator →

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