#3130A3#3130A3

#3130A3 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.4% C 0.179 H 274.8°. Best body text is #FFFFFF at 10.09:1 contrast (WCAG AA passes).

Color values

HEX#3130A3
RGBrgb(49, 48, 163)
HSLhsl(241, 55%, 41%)
HSVhsv(241, 71%, 64%)
CMYKcmyk(69.9%, 70.6%, 0%, 36.1%)
CIE-LABlab(27.87, 38.21, -61.64)
CIE-LCHlch(27.87, 72.53, 301.80°)
OKLaboklab(39.43% 0.0151 -0.1781)
OKLCHoklch(39.43% 0.179 274.8)
XYZxyz(8.9322, 5.4104, 35.2168)
Luminance0.0541 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3130A3 #A2A330
analogous
#3069A3 #3130A3 #6B30A3
triadic
#3130A3 #A33130 #30A331
tetradic
#3130A3 #A33069 #A2A330 #30A36B
square
#3130A3 #A33069 #A2A330 #30A36B
split-complementary
#3130A3 #A36B30 #69A330
monochromatic
#151444 #232274 #3130A3 #4847C9 #7777D7

Accessibility & contrast

On white

10.09
#3130A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#3130A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3130A3
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3130A3#FFFFFF#000000##FFFFFF
##3130A31.0010.092.0810.09
#FFFFFF10.091.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A6
Deuteranopia (green-blind)
#003CA1
Tritanopia (blue-blind)
#004F66
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #3130a3;
/* rgb */ color: rgb(49, 48, 163);
/* oklch */ color: oklch(39.4% 0.179 274.8);
Tailwind
colors: {
  custom: {
    50: '#7969bf',
    500: '#3130a3',
    950: '#000000',
  },
}
SCSS
$custom: #3130a3;
$custom-light: #7969bf;
$custom-dark: #000000;
JSON
{
  "hex": "#3130a3",
  "rgb": {
    "r": 49,
    "g": 48,
    "b": 163
  },
  "hsl": {
    "h": 240.522,
    "s": 54.502,
    "l": 41.373
  },
  "oklch": {
    "l": 0.39426,
    "c": 0.17877,
    "h": 274.8
  },
  "luminance": 0.05411
}

Semantic roles & 50–950 ramp

primary
#3130A3
secondary
#BEBF70
accent
#DE4ADD
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #3130A3

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

Preview Lab → · Contrast checker → · Palette generator →

#3130A3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva