#3129A4#3129A4

#3129A4 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.5% C 0.187 H 275.8°. Best body text is #FFFFFF at 10.59:1 contrast (WCAG AA passes).

Color values

HEX#3129A4
RGBrgb(49, 41, 164)
HSLhsl(244, 60%, 40%)
HSVhsv(244, 75%, 64%)
CMYKcmyk(70.1%, 75%, 0%, 35.7%)
CIE-LABlab(26.50, 42.64, -64.51)
CIE-LCHlch(26.50, 77.33, 303.47°)
OKLaboklab(38.48% 0.0191 -0.1865)
OKLCHoklch(38.48% 0.187 275.8)
XYZxyz(8.7582, 4.9184, 35.6025)
Luminance0.0492 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3129A4 #9CA429
analogous
#295FA4 #3129A4 #6E29A4
triadic
#3129A4 #A43129 #29A431
tetradic
#3129A4 #A4295F #9CA429 #29A46E
square
#3129A4 #A4295F #9CA429 #29A46E
split-complementary
#3129A4 #A46E29 #5FA429
monochromatic
#141142 #221D73 #3129A4 #453CCE #746DDA

Accessibility & contrast

On white

10.59
#3129A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#3129A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3129A4
10.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3129A4#FFFFFF#000000##FFFFFF
##3129A41.0010.591.9810.59
#FFFFFF10.591.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A8
Deuteranopia (green-blind)
#0039A2
Tritanopia (blue-blind)
#004C64
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #3129a4;
/* rgb */ color: rgb(49, 41, 164);
/* oklch */ color: oklch(38.5% 0.187 275.8);
Tailwind
colors: {
  custom: {
    50: '#7a65c0',
    500: '#3129a4',
    950: '#000000',
  },
}
SCSS
$custom: #3129a4;
$custom-light: #7a65c0;
$custom-dark: #000000;
JSON
{
  "hex": "#3129a4",
  "rgb": {
    "r": 49,
    "g": 41,
    "b": 164
  },
  "hsl": {
    "h": 243.902,
    "s": 60,
    "l": 40.196
  },
  "oklch": {
    "l": 0.38477,
    "c": 0.18745,
    "h": 275.8
  },
  "luminance": 0.04919
}

Semantic roles & 50–950 ramp

primary
#3129A4
secondary
#BBC168
accent
#E345D9
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #3129A4

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

Preview Lab → · Contrast checker → · Palette generator →

#3129A4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva