#29417F#29417F

#29417F is a dark, moderate blue. Relative luminance 0.058; OKLCH L 39.1% C 0.109 H 265.7°. Best body text is #FFFFFF at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#29417F
RGBrgb(41, 65, 127)
HSLhsl(223, 51%, 33%)
HSVhsv(223, 68%, 50%)
CMYKcmyk(67.7%, 48.8%, 0%, 50.2%)
CIE-LABlab(28.86, 12.50, -37.92)
CIE-LCHlch(28.86, 39.93, 288.25°)
OKLaboklab(39.11% -0.0082 -0.1085)
OKLCHoklch(39.11% 0.109 265.7)
XYZxyz(6.6342, 5.7837, 20.8413)
Luminance0.0578 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#29417F #7F6729
analogous
#296C7F #29417F #3C297F
triadic
#29417F #7F2941 #417F29
tetradic
#29417F #7F296C #7F6729 #297F3C
square
#29417F #7F296C #7F6729 #297F3C
split-complementary
#29417F #7F3C29 #6C7F29
monochromatic
#0B1222 #1A2951 #29417F #3859AD #5978C9

Accessibility & contrast

On white

9.74
#29417F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#29417F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #29417F
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##29417F#FFFFFF#000000##FFFFFF
##29417F1.009.742.169.74
#FFFFFF9.741.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214881
Deuteranopia (green-blind)
#10407E
Tritanopia (blue-blind)
#004F5A
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #29417f;
/* rgb */ color: rgb(41, 65, 127);
/* oklch */ color: oklch(39.1% 0.109 265.7);
Tailwind
colors: {
  custom: {
    50: '#6d75a4',
    500: '#29417f',
    950: '#000000',
  },
}
SCSS
$custom: #29417f;
$custom-light: #6d75a4;
$custom-dark: #000000;
JSON
{
  "hex": "#29417f",
  "rgb": {
    "r": 41,
    "g": 65,
    "b": 127
  },
  "hsl": {
    "h": 223.256,
    "s": 51.19,
    "l": 32.941
  },
  "oklch": {
    "l": 0.39111,
    "c": 0.10882,
    "h": 265.7
  },
  "luminance": 0.05784
}

Semantic roles & 50–950 ramp

primary
#29417F
secondary
#AF9655
accent
#B34DDB
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#08080F
muted
#7B7B7F

Preview Lab

Preview with #29417F

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

Preview Lab → · Contrast checker → · Palette generator →

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