#29238F#29238F

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

Color values

HEX#29238F
RGBrgb(41, 35, 143)
HSLhsl(243, 61%, 35%)
HSVhsv(243, 76%, 56%)
CMYKcmyk(71.3%, 75.5%, 0%, 43.9%)
CIE-LABlab(22.50, 38.23, -58.25)
CIE-LCHlch(22.50, 69.67, 303.27°)
OKLaboklab(34.83% 0.0162 -0.1684)
OKLCHoklch(34.83% 0.169 275.5)
XYZxyz(6.4718, 3.6560, 26.3459)
Luminance0.0366 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#29238F #898F23
analogous
#23538F #29238F #5F238F
triadic
#29238F #8F2923 #238F29
tetradic
#29238F #8F2353 #898F23 #238F5F
square
#29238F #8F2353 #898F23 #238F5F
split-complementary
#29238F #8F5F23 #538F23
monochromatic
#0D0B2D #1B175E #29238F #372FC0 #5E57D6

Accessibility & contrast

On white

12.13
#29238F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#29238F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #29238F
12.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##29238F#FFFFFF#000000##FFFFFF
##29238F1.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)
#003A92
Deuteranopia (green-blind)
#00318D
Tritanopia (blue-blind)
#004257
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #29238f;
/* rgb */ color: rgb(41, 35, 143);
/* oklch */ color: oklch(34.8% 0.169 275.5);
Tailwind
colors: {
  custom: {
    50: '#7360b1',
    500: '#29238f',
    950: '#000000',
  },
}
SCSS
$custom: #29238f;
$custom-light: #7360b1;
$custom-dark: #000000;
JSON
{
  "hex": "#29238f",
  "rgb": {
    "r": 41,
    "g": 35,
    "b": 143
  },
  "hsl": {
    "h": 243.333,
    "s": 60.674,
    "l": 34.902
  },
  "oklch": {
    "l": 0.34833,
    "c": 0.16917,
    "h": 275.5
  },
  "luminance": 0.03657
}

Semantic roles & 50–950 ramp

primary
#29238F
secondary
#B4BA54
accent
#E444DB
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #29238F

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

Preview Lab → · Contrast checker → · Palette generator →

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