#3130B8#3130B8

#3130B8 is a dark, highly saturated blue. Relative luminance 0.062; OKLCH L 41.6% C 0.205 H 273.2°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#3130B8
RGBrgb(49, 48, 184)
HSLhsl(240, 59%, 45%)
HSVhsv(240, 74%, 72%)
CMYKcmyk(73.4%, 73.9%, 0%, 27.8%)
CIE-LABlab(29.98, 45.28, -70.76)
CIE-LCHlch(29.98, 84.01, 302.62°)
OKLaboklab(41.56% 0.0116 -0.2047)
OKLCHoklch(41.56% 0.205 273.2)
XYZxyz(10.9724, 6.2264, 45.9617)
Luminance0.0623 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3130B8 #B7B830
analogous
#3073B8 #3130B8 #7530B8
triadic
#3130B8 #B83130 #30B831
tetradic
#3130B8 #B83073 #B7B830 #30B875
square
#3130B8 #B83073 #B7B830 #30B875
split-complementary
#3130B8 #B87530 #73B830
monochromatic
#171757 #242387 #3130B8 #5453D2 #8484DF

Accessibility & contrast

On white

9.35
#3130B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#3130B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3130B8
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3130B8#FFFFFF#000000##FFFFFF
##3130B81.009.352.259.35
#FFFFFF9.351.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DBC
Deuteranopia (green-blind)
#0040B6
Tritanopia (blue-blind)
#005771
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #3130b8;
/* rgb */ color: rgb(49, 48, 184);
/* oklch */ color: oklch(41.6% 0.205 273.2);
Tailwind
colors: {
  custom: {
    50: '#7e6acf',
    500: '#3130b8',
    950: '#000000',
  },
}
SCSS
$custom: #3130b8;
$custom-light: #7e6acf;
$custom-dark: #000000;
JSON
{
  "hex": "#3130b8",
  "rgb": {
    "r": 49,
    "g": 48,
    "b": 184
  },
  "hsl": {
    "h": 240.441,
    "s": 58.621,
    "l": 45.49
  },
  "oklch": {
    "l": 0.41561,
    "c": 0.20505,
    "h": 273.2
  },
  "luminance": 0.06228
}

Semantic roles & 50–950 ramp

primary
#3130B8
secondary
#C8C87C
accent
#E246E1
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82

Preview Lab

Preview with #3130B8

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

Preview Lab → · Contrast checker → · Palette generator →

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