#3129A2#3129A2

#3129A2 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 38.3% C 0.185 H 276.1°. Best body text is #FFFFFF at 10.66:1 contrast (WCAG AA passes).

Color values

HEX#3129A2
RGBrgb(49, 41, 162)
HSLhsl(244, 60%, 40%)
HSVhsv(244, 75%, 64%)
CMYKcmyk(69.8%, 74.7%, 0%, 36.5%)
CIE-LABlab(26.29, 41.99, -63.64)
CIE-LCHlch(26.29, 76.24, 303.42°)
OKLaboklab(38.27% 0.0195 -0.1839)
OKLCHoklch(38.27% 0.185 276.1)
XYZxyz(8.5790, 4.8467, 34.6588)
Luminance0.0485 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3129A2 #9AA229
analogous
#295EA2 #3129A2 #6E29A2
triadic
#3129A2 #A23129 #29A231
tetradic
#3129A2 #A2295E #9AA229 #29A26E
square
#3129A2 #A2295E #9AA229 #29A26E
split-complementary
#3129A2 #A26E29 #5EA229
monochromatic
#131040 #221D71 #3129A2 #453BCD #736CDA

Accessibility & contrast

On white

10.66
#3129A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#3129A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3129A2
10.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3129A2#FFFFFF#000000##FFFFFF
##3129A21.0010.661.9710.66
#FFFFFF10.661.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A6
Deuteranopia (green-blind)
#0039A0
Tritanopia (blue-blind)
#004C63
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #3129a2;
/* rgb */ color: rgb(49, 41, 162);
/* oklch */ color: oklch(38.3% 0.185 276.1);
Tailwind
colors: {
  custom: {
    50: '#7a65bf',
    500: '#3129a2',
    950: '#000000',
  },
}
SCSS
$custom: #3129a2;
$custom-light: #7a65bf;
$custom-dark: #000000;
JSON
{
  "hex": "#3129a2",
  "rgb": {
    "r": 49,
    "g": 41,
    "b": 162
  },
  "hsl": {
    "h": 243.967,
    "s": 59.606,
    "l": 39.804
  },
  "oklch": {
    "l": 0.38268,
    "c": 0.18496,
    "h": 276.1
  },
  "luminance": 0.04847
}

Semantic roles & 50–950 ramp

primary
#3129A2
secondary
#BAC067
accent
#E345D8
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #3129A2

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

Preview Lab → · Contrast checker → · Palette generator →

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