#3130B6#3130B6

#3130B6 is a dark, highly saturated blue. Relative luminance 0.061; OKLCH L 41.4% C 0.203 H 273.4°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#3130B6
RGBrgb(49, 48, 182)
HSLhsl(240, 58%, 45%)
HSVhsv(240, 74%, 71%)
CMYKcmyk(73.1%, 73.6%, 0%, 28.6%)
CIE-LABlab(29.77, 44.62, -69.91)
CIE-LCHlch(29.77, 82.94, 302.55°)
OKLaboklab(41.35% 0.012 -0.2023)
OKLCHoklch(41.35% 0.203 273.4)
XYZxyz(10.7643, 6.1432, 44.8654)
Luminance0.0614 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3130B6 #B5B630
analogous
#3072B6 #3130B6 #7430B6
triadic
#3130B6 #B63130 #30B631
tetradic
#3130B6 #B63072 #B5B630 #30B674
square
#3130B6 #B63072 #B5B630 #30B674
split-complementary
#3130B6 #B67430 #72B630
monochromatic
#171655 #242386 #3130B6 #5352D1 #8382DE

Accessibility & contrast

On white

9.42
#3130B6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#3130B6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3130B6
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3130B6#FFFFFF#000000##FFFFFF
##3130B61.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CBA
Deuteranopia (green-blind)
#0040B4
Tritanopia (blue-blind)
#005670
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #3130b6;
/* rgb */ color: rgb(49, 48, 182);
/* oklch */ color: oklch(41.4% 0.203 273.4);
Tailwind
colors: {
  custom: {
    50: '#7e6acd',
    500: '#3130b6',
    950: '#000000',
  },
}
SCSS
$custom: #3130b6;
$custom-light: #7e6acd;
$custom-dark: #000000;
JSON
{
  "hex": "#3130b6",
  "rgb": {
    "r": 49,
    "g": 48,
    "b": 182
  },
  "hsl": {
    "h": 240.448,
    "s": 58.261,
    "l": 45.098
  },
  "oklch": {
    "l": 0.41353,
    "c": 0.2026,
    "h": 273.4
  },
  "luminance": 0.06144
}

Semantic roles & 50–950 ramp

primary
#3130B6
secondary
#C7C77B
accent
#E146E0
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0B0614
muted
#7C7A82

Preview Lab

Preview with #3130B6

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

Preview Lab → · Contrast checker → · Palette generator →

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