#3130A2#3130A2

#3130A2 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.3% C 0.177 H 274.9°. Best body text is #FFFFFF at 10.12:1 contrast (WCAG AA passes).

Color values

HEX#3130A2
RGBrgb(49, 48, 162)
HSLhsl(241, 54%, 41%)
HSVhsv(241, 70%, 64%)
CMYKcmyk(69.8%, 70.4%, 0%, 36.5%)
CIE-LABlab(27.78, 37.87, -61.20)
CIE-LCHlch(27.78, 71.97, 301.75°)
OKLaboklab(39.33% 0.0152 -0.1768)
OKLCHoklch(39.33% 0.177 274.9)
XYZxyz(8.8430, 5.3747, 34.7468)
Luminance0.0538 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3130A2 #A1A230
analogous
#3068A2 #3130A2 #6A30A2
triadic
#3130A2 #A23130 #30A231
tetradic
#3130A2 #A23068 #A1A230 #30A26A
square
#3130A2 #A23068 #A1A230 #30A26A
split-complementary
#3130A2 #A26A30 #68A230
monochromatic
#141444 #232273 #3130A2 #4847C8 #7776D6

Accessibility & contrast

On white

10.12
#3130A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3130A2
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3130A2#FFFFFF#000000##FFFFFF
##3130A21.0010.122.0810.12
#FFFFFF10.121.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A5
Deuteranopia (green-blind)
#003CA0
Tritanopia (blue-blind)
#004F65
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #3130a2;
/* rgb */ color: rgb(49, 48, 162);
/* oklch */ color: oklch(39.3% 0.177 274.9);
Tailwind
colors: {
  custom: {
    50: '#7969bf',
    500: '#3130a2',
    950: '#000000',
  },
}
SCSS
$custom: #3130a2;
$custom-light: #7969bf;
$custom-dark: #000000;
JSON
{
  "hex": "#3130a2",
  "rgb": {
    "r": 49,
    "g": 48,
    "b": 162
  },
  "hsl": {
    "h": 240.526,
    "s": 54.286,
    "l": 41.176
  },
  "oklch": {
    "l": 0.39327,
    "c": 0.17748,
    "h": 274.9
  },
  "luminance": 0.05376
}

Semantic roles & 50–950 ramp

primary
#3130A2
secondary
#BEBE6F
accent
#DE4ADC
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #3130A2

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

Preview Lab → · Contrast checker → · Palette generator →

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