#3130CF#3130CF

#3130CF is a dark, highly saturated blue. Relative luminance 0.073; OKLCH L 44.0% C 0.232 H 271.8°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#3130CF
RGBrgb(49, 48, 207)
HSLhsl(240, 62%, 50%)
HSVhsv(240, 77%, 81%)
CMYKcmyk(76.3%, 76.8%, 0%, 18.8%)
CIE-LABlab(32.41, 52.72, -80.23)
CIE-LCHlch(32.41, 96.00, 303.31°)
OKLaboklab(44% 0.0073 -0.2322)
OKLCHoklch(44% 0.232 271.8)
XYZxyz(13.5823, 7.2704, 59.7069)
Luminance0.0727 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3130CF #CECF30
analogous
#307FCF #3130CF #8030CF
triadic
#3130CF #CF3130 #30CF31
tetradic
#3130CF #CF307F #CECF30 #30CF80
square
#3130CF #CF307F #CECF30 #30CF80
split-complementary
#3130CF #CF8030 #7FCF30
monochromatic
#19196C #25249D #3130CF #6262DB #9493E6

Accessibility & contrast

On white

8.56
#3130CF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#3130CF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3130CF
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3130CF#FFFFFF#000000##FFFFFF
##3130CF1.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054D3
Deuteranopia (green-blind)
#0044CC
Tritanopia (blue-blind)
#00607E
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #3130cf;
/* rgb */ color: rgb(49, 48, 207);
/* oklch */ color: oklch(44.0% 0.232 271.8);
Tailwind
colors: {
  custom: {
    50: '#846bdf',
    500: '#3130cf',
    950: '#000000',
  },
}
SCSS
$custom: #3130cf;
$custom-light: #846bdf;
$custom-dark: #000000;
JSON
{
  "hex": "#3130cf",
  "rgb": {
    "r": 49,
    "g": 48,
    "b": 207
  },
  "hsl": {
    "h": 240.377,
    "s": 62.353,
    "l": 50
  },
  "oklch": {
    "l": 0.44004,
    "c": 0.23235,
    "h": 271.8
  },
  "luminance": 0.07272
}

Semantic roles & 50–950 ramp

primary
#3130CF
secondary
#D1D18A
accent
#E542E4
background
#F9F6FD
surface
#F1EBFB
border
#CBC6D4
text
#0D0715
muted
#7E7A83

Preview Lab

Preview with #3130CF

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

Preview Lab → · Contrast checker → · Palette generator →

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