#3130B2#3130B2

#3130B2 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.9% C 0.198 H 273.7°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#3130B2
RGBrgb(49, 48, 178)
HSLhsl(240, 58%, 44%)
HSVhsv(240, 73%, 70%)
CMYKcmyk(72.5%, 73%, 0%, 30.2%)
CIE-LABlab(29.36, 43.29, -68.20)
CIE-LCHlch(29.36, 80.78, 302.40°)
OKLaboklab(40.94% 0.0127 -0.1973)
OKLCHoklch(40.94% 0.198 273.7)
XYZxyz(10.3568, 5.9802, 42.7193)
Luminance0.0598 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3130B2 #B1B230
analogous
#3070B2 #3130B2 #7230B2
triadic
#3130B2 #B23130 #30B231
tetradic
#3130B2 #B23070 #B1B230 #30B272
square
#3130B2 #B23070 #B1B230 #30B272
split-complementary
#3130B2 #B27230 #70B230
monochromatic
#161652 #242382 #3130B2 #5150D0 #8080DD

Accessibility & contrast

On white

9.56
#3130B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#3130B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3130B2
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3130B2#FFFFFF#000000##FFFFFF
##3130B21.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB6
Deuteranopia (green-blind)
#003FB0
Tritanopia (blue-blind)
#00556E
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #3130b2;
/* rgb */ color: rgb(49, 48, 178);
/* oklch */ color: oklch(40.9% 0.198 273.7);
Tailwind
colors: {
  custom: {
    50: '#7d6aca',
    500: '#3130b2',
    950: '#000000',
  },
}
SCSS
$custom: #3130b2;
$custom-light: #7d6aca;
$custom-dark: #000000;
JSON
{
  "hex": "#3130b2",
  "rgb": {
    "r": 49,
    "g": 48,
    "b": 178
  },
  "hsl": {
    "h": 240.462,
    "s": 57.522,
    "l": 44.314
  },
  "oklch": {
    "l": 0.40941,
    "c": 0.19769,
    "h": 273.7
  },
  "luminance": 0.05981
}

Semantic roles & 50–950 ramp

primary
#3130B2
secondary
#C5C678
accent
#E147E0
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #3130B2

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

Preview Lab → · Contrast checker → · Palette generator →

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