#29487F#29487F

#29487F is a dark, moderate blue. Relative luminance 0.066; OKLCH L 40.7% C 0.100 H 261.0°. Best body text is #FFFFFF at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#29487F
RGBrgb(41, 72, 127)
HSLhsl(218, 51%, 33%)
HSVhsv(218, 68%, 50%)
CMYKcmyk(67.7%, 43.3%, 0%, 50.2%)
CIE-LABlab(30.97, 7.75, -34.54)
CIE-LCHlch(30.97, 35.40, 282.64°)
OKLaboklab(40.73% -0.0156 -0.0985)
OKLCHoklch(40.73% 0.1 261)
XYZxyz(7.0612, 6.6378, 20.9836)
Luminance0.0664 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#29487F #7F6029
analogous
#29737F #29487F #35297F
triadic
#29487F #7F2948 #487F29
tetradic
#29487F #7F2973 #7F6029 #297F35
square
#29487F #7F2973 #7F6029 #297F35
split-complementary
#29487F #7F3529 #737F29
monochromatic
#0B1422 #1A2E51 #29487F #3862AD #5982C9

Accessibility & contrast

On white

9.02
#29487F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#29487F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #29487F
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##29487F#FFFFFF#000000##FFFFFF
##29487F1.009.022.339.02
#FFFFFF9.021.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4D81
Deuteranopia (green-blind)
#21457E
Tritanopia (blue-blind)
#00555D
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #29487f;
/* rgb */ color: rgb(41, 72, 127);
/* oklch */ color: oklch(40.7% 0.100 261.0);
Tailwind
colors: {
  custom: {
    50: '#6d7aa4',
    500: '#29487f',
    950: '#000000',
  },
}
SCSS
$custom: #29487f;
$custom-light: #6d7aa4;
$custom-dark: #000000;
JSON
{
  "hex": "#29487f",
  "rgb": {
    "r": 41,
    "g": 72,
    "b": 127
  },
  "hsl": {
    "h": 218.372,
    "s": 51.19,
    "l": 32.941
  },
  "oklch": {
    "l": 0.40731,
    "c": 0.09972,
    "h": 261
  },
  "luminance": 0.06638
}

Semantic roles & 50–950 ramp

primary
#29487F
secondary
#AF8E55
accent
#A84DDB
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #29487F

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

Preview Lab → · Contrast checker → · Palette generator →

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