#3130AC#3130AC

#3130AC is a dark, vivid blue. Relative luminance 0.057; OKLCH L 40.3% C 0.190 H 274.1°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#3130AC
RGBrgb(49, 48, 172)
HSLhsl(240, 56%, 43%)
HSVhsv(240, 72%, 67%)
CMYKcmyk(71.5%, 72.1%, 0%, 32.5%)
CIE-LABlab(28.76, 41.27, -65.61)
CIE-LCHlch(28.76, 77.51, 302.17°)
OKLaboklab(40.33% 0.0137 -0.1897)
OKLCHoklch(40.33% 0.19 274.1)
XYZxyz(9.7675, 5.7445, 39.6158)
Luminance0.0575 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3130AC #ABAC30
analogous
#306DAC #3130AC #6F30AC
triadic
#3130AC #AC3130 #30AC31
tetradic
#3130AC #AC306D #ABAC30 #30AC6F
square
#3130AC #AC306D #ABAC30 #30AC6F
split-complementary
#3130AC #AC6F30 #6DAC30
monochromatic
#16154C #23237C #3130AC #4D4CCD #7D7CDA

Accessibility & contrast

On white

9.77
#3130AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#3130AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3130AC
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3130AC#FFFFFF#000000##FFFFFF
##3130AC1.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB0
Deuteranopia (green-blind)
#003EAA
Tritanopia (blue-blind)
#00536B
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #3130ac;
/* rgb */ color: rgb(49, 48, 172);
/* oklch */ color: oklch(40.3% 0.190 274.1);
Tailwind
colors: {
  custom: {
    50: '#7c6ac6',
    500: '#3130ac',
    950: '#000000',
  },
}
SCSS
$custom: #3130ac;
$custom-light: #7c6ac6;
$custom-dark: #000000;
JSON
{
  "hex": "#3130ac",
  "rgb": {
    "r": 49,
    "g": 48,
    "b": 172
  },
  "hsl": {
    "h": 240.484,
    "s": 56.364,
    "l": 43.137
  },
  "oklch": {
    "l": 0.40328,
    "c": 0.19021,
    "h": 274.1
  },
  "luminance": 0.05745
}

Semantic roles & 50–950 ramp

primary
#3130AC
secondary
#C2C375
accent
#E048DE
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #3130AC

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

Preview Lab → · Contrast checker → · Palette generator →

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