#29307F#29307F

#29307F is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.5% C 0.132 H 273.7°. Best body text is #FFFFFF at 11.52:1 contrast (WCAG AA passes).

Color values

HEX#29307F
RGBrgb(41, 48, 127)
HSLhsl(235, 51%, 33%)
HSVhsv(235, 68%, 50%)
CMYKcmyk(67.7%, 62.2%, 0%, 50.2%)
CIE-LABlab(24.05, 24.21, -45.69)
CIE-LCHlch(24.05, 51.70, 297.92°)
OKLaboklab(35.49% 0.0085 -0.1316)
OKLCHoklch(35.49% 0.132 273.7)
XYZxyz(5.8009, 4.1171, 20.5635)
Luminance0.0412 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#29307F #7F7829
analogous
#295B7F #29307F #4D297F
triadic
#29307F #7F2930 #307F29
tetradic
#29307F #7F295B #7F7829 #297F4D
square
#29307F #7F295B #7F7829 #297F4D
split-complementary
#29307F #7F4D29 #5B7F29
monochromatic
#0B0D22 #1A1F51 #29307F #3841AD #5962C9

Accessibility & contrast

On white

11.52
#29307F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#29307F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #29307F
11.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##29307F#FFFFFF#000000##FFFFFF
##29307F1.0011.521.8211.52
#FFFFFF11.521.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D82
Deuteranopia (green-blind)
#00357D
Tritanopia (blue-blind)
#004452
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #29307f;
/* rgb */ color: rgb(41, 48, 127);
/* oklch */ color: oklch(35.5% 0.132 273.7);
Tailwind
colors: {
  custom: {
    50: '#6e68a5',
    500: '#29307f',
    950: '#000000',
  },
}
SCSS
$custom: #29307f;
$custom-light: #6e68a5;
$custom-dark: #000000;
JSON
{
  "hex": "#29307f",
  "rgb": {
    "r": 41,
    "g": 48,
    "b": 127
  },
  "hsl": {
    "h": 235.116,
    "s": 51.19,
    "l": 32.941
  },
  "oklch": {
    "l": 0.35494,
    "c": 0.13188,
    "h": 273.7
  },
  "luminance": 0.04118
}

Semantic roles & 50–950 ramp

primary
#29307F
secondary
#AFA755
accent
#CF4DDB
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F

Preview Lab

Preview with #29307F

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

Preview Lab → · Contrast checker → · Palette generator →

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