#29337F#29337F

#29337F is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.1% C 0.128 H 272.6°. Best body text is #FFFFFF at 11.20:1 contrast (WCAG AA passes).

Color values

HEX#29337F
RGBrgb(41, 51, 127)
HSLhsl(233, 51%, 33%)
HSVhsv(233, 68%, 50%)
CMYKcmyk(67.7%, 59.8%, 0%, 50.2%)
CIE-LABlab(24.86, 22.16, -44.38)
CIE-LCHlch(24.86, 49.60, 296.53°)
OKLaboklab(36.09% 0.0058 -0.1277)
OKLCHoklch(36.09% 0.128 272.6)
XYZxyz(5.9278, 4.3708, 20.6058)
Luminance0.0437 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#29337F #7F7529
analogous
#295E7F #29337F #4A297F
triadic
#29337F #7F2933 #337F29
tetradic
#29337F #7F295E #7F7529 #297F4A
square
#29337F #7F295E #7F7529 #297F4A
split-complementary
#29337F #7F4A29 #5E7F29
monochromatic
#0B0E22 #1A2051 #29337F #3846AD #5966C9

Accessibility & contrast

On white

11.20
#29337F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#29337F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #29337F
11.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##29337F#FFFFFF#000000##FFFFFF
##29337F1.0011.201.8711.20
#FFFFFF11.201.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F82
Deuteranopia (green-blind)
#00377D
Tritanopia (blue-blind)
#004653
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #29337f;
/* rgb */ color: rgb(41, 51, 127);
/* oklch */ color: oklch(36.1% 0.128 272.6);
Tailwind
colors: {
  custom: {
    50: '#6e6aa5',
    500: '#29337f',
    950: '#000000',
  },
}
SCSS
$custom: #29337f;
$custom-light: #6e6aa5;
$custom-dark: #000000;
JSON
{
  "hex": "#29337f",
  "rgb": {
    "r": 41,
    "g": 51,
    "b": 127
  },
  "hsl": {
    "h": 233.023,
    "s": 51.19,
    "l": 32.941
  },
  "oklch": {
    "l": 0.36092,
    "c": 0.12784,
    "h": 272.6
  },
  "luminance": 0.04371
}

Semantic roles & 50–950 ramp

primary
#29337F
secondary
#AFA455
accent
#CA4DDB
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F

Preview Lab

Preview with #29337F

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

Preview Lab → · Contrast checker → · Palette generator →

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