#29387F#29387F

#29387F is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.1% C 0.121 H 270.5°. Best body text is #FFFFFF at 10.68:1 contrast (WCAG AA passes).

Color values

HEX#29387F
RGBrgb(41, 56, 127)
HSLhsl(230, 51%, 33%)
HSVhsv(230, 68%, 50%)
CMYKcmyk(67.7%, 55.9%, 0%, 50.2%)
CIE-LABlab(26.25, 18.71, -42.12)
CIE-LCHlch(26.25, 46.09, 293.95°)
OKLaboklab(37.13% 0.001 -0.121)
OKLCHoklch(37.13% 0.121 270.5)
XYZxyz(6.1581, 4.8315, 20.6826)
Luminance0.0483 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#29387F #7F7029
analogous
#29637F #29387F #45297F
triadic
#29387F #7F2938 #387F29
tetradic
#29387F #7F2963 #7F7029 #297F45
square
#29387F #7F2963 #7F7029 #297F45
split-complementary
#29387F #7F4529 #637F29
monochromatic
#0B0F22 #1A2451 #29387F #384CAD #596DC9

Accessibility & contrast

On white

10.68
#29387F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#29387F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #29387F
10.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##29387F#FFFFFF#000000##FFFFFF
##29387F1.0010.681.9710.68
#FFFFFF10.681.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#054281
Deuteranopia (green-blind)
#003A7E
Tritanopia (blue-blind)
#004955
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #29387f;
/* rgb */ color: rgb(41, 56, 127);
/* oklch */ color: oklch(37.1% 0.121 270.5);
Tailwind
colors: {
  custom: {
    50: '#6d6ea5',
    500: '#29387f',
    950: '#000000',
  },
}
SCSS
$custom: #29387f;
$custom-light: #6d6ea5;
$custom-dark: #000000;
JSON
{
  "hex": "#29387f",
  "rgb": {
    "r": 41,
    "g": 56,
    "b": 127
  },
  "hsl": {
    "h": 229.535,
    "s": 51.19,
    "l": 32.941
  },
  "oklch": {
    "l": 0.37131,
    "c": 0.12103,
    "h": 270.5
  },
  "luminance": 0.04832
}

Semantic roles & 50–950 ramp

primary
#29387F
secondary
#AF9F55
accent
#C24DDB
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#08070F
muted
#7A7A7F

Preview Lab

Preview with #29387F

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

Preview Lab → · Contrast checker → · Palette generator →

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