#29397F#29397F

#29397F is a dark, moderate blue. Relative luminance 0.049; OKLCH L 37.3% C 0.120 H 270.0°. Best body text is #FFFFFF at 10.57:1 contrast (WCAG AA passes).

Color values

HEX#29397F
RGBrgb(41, 57, 127)
HSLhsl(229, 51%, 33%)
HSVhsv(229, 68%, 50%)
CMYKcmyk(67.7%, 55.1%, 0%, 50.2%)
CIE-LABlab(26.53, 18.02, -41.67)
CIE-LCHlch(26.53, 45.40, 293.39°)
OKLaboklab(37.34% 0 -0.1197)
OKLCHoklch(37.34% 0.12 270)
XYZxyz(6.2070, 4.9294, 20.6989)
Luminance0.0493 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#29397F #7F6F29
analogous
#29647F #29397F #44297F
triadic
#29397F #7F2939 #397F29
tetradic
#29397F #7F2964 #7F6F29 #297F44
square
#29397F #7F2964 #7F6F29 #297F44
split-complementary
#29397F #7F4429 #647F29
monochromatic
#0B0F22 #1A2451 #29397F #384EAD #596EC9

Accessibility & contrast

On white

10.57
#29397F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#29397F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #29397F
10.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##29397F#FFFFFF#000000##FFFFFF
##29397F1.0010.571.9910.57
#FFFFFF10.571.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A4381
Deuteranopia (green-blind)
#003B7E
Tritanopia (blue-blind)
#004A56
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #29397f;
/* rgb */ color: rgb(41, 57, 127);
/* oklch */ color: oklch(37.3% 0.120 270.0);
Tailwind
colors: {
  custom: {
    50: '#6d6fa5',
    500: '#29397f',
    950: '#000000',
  },
}
SCSS
$custom: #29397f;
$custom-light: #6d6fa5;
$custom-dark: #000000;
JSON
{
  "hex": "#29397f",
  "rgb": {
    "r": 41,
    "g": 57,
    "b": 127
  },
  "hsl": {
    "h": 228.837,
    "s": 51.19,
    "l": 32.941
  },
  "oklch": {
    "l": 0.37344,
    "c": 0.11966,
    "h": 270
  },
  "luminance": 0.0493
}

Semantic roles & 50–950 ramp

primary
#29397F
secondary
#AF9E55
accent
#C04DDB
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#08070F
muted
#7A7A7F

Preview Lab

Preview with #29397F

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

Preview Lab → · Contrast checker → · Palette generator →

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