#3130AB#3130AB

#3130AB is a dark, vivid blue. Relative luminance 0.057; OKLCH L 40.2% C 0.189 H 274.2°. Best body text is #FFFFFF at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#3130AB
RGBrgb(49, 48, 171)
HSLhsl(240, 56%, 43%)
HSVhsv(240, 72%, 67%)
CMYKcmyk(71.3%, 71.9%, 0%, 32.9%)
CIE-LABlab(28.66, 40.94, -65.17)
CIE-LCHlch(28.66, 76.96, 302.13°)
OKLaboklab(40.23% 0.0138 -0.1884)
OKLCHoklch(40.23% 0.189 274.2)
XYZxyz(9.6718, 5.7062, 39.1119)
Luminance0.0571 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3130AB #AAAB30
analogous
#306CAB #3130AB #6E30AB
triadic
#3130AB #AB3130 #30AB31
tetradic
#3130AB #AB306C #AAAB30 #30AB6E
square
#3130AB #AB306C #AAAB30 #30AB6E
split-complementary
#3130AB #AB6E30 #6CAB30
monochromatic
#16154B #23237B #3130AB #4D4CCD #7C7BDA

Accessibility & contrast

On white

9.81
#3130AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#3130AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3130AB
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3130AB#FFFFFF#000000##FFFFFF
##3130AB1.009.812.149.81
#FFFFFF9.811.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049AF
Deuteranopia (green-blind)
#003EA9
Tritanopia (blue-blind)
#00526A
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #3130ab;
/* rgb */ color: rgb(49, 48, 171);
/* oklch */ color: oklch(40.2% 0.189 274.2);
Tailwind
colors: {
  custom: {
    50: '#7b69c5',
    500: '#3130ab',
    950: '#000000',
  },
}
SCSS
$custom: #3130ab;
$custom-light: #7b69c5;
$custom-dark: #000000;
JSON
{
  "hex": "#3130ab",
  "rgb": {
    "r": 49,
    "g": 48,
    "b": 171
  },
  "hsl": {
    "h": 240.488,
    "s": 56.164,
    "l": 42.941
  },
  "oklch": {
    "l": 0.40227,
    "c": 0.18895,
    "h": 274.2
  },
  "luminance": 0.05707
}

Semantic roles & 50–950 ramp

primary
#3130AB
secondary
#C2C374
accent
#DF48DE
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #3130AB

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

Preview Lab → · Contrast checker → · Palette generator →

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