#3130AA#3130AA

#3130AA is a dark, vivid blue. Relative luminance 0.057; OKLCH L 40.1% C 0.188 H 274.3°. Best body text is #FFFFFF at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#3130AA
RGBrgb(49, 48, 170)
HSLhsl(240, 56%, 43%)
HSVhsv(240, 72%, 67%)
CMYKcmyk(71.2%, 71.8%, 0%, 33.3%)
CIE-LABlab(28.56, 40.60, -64.74)
CIE-LCHlch(28.56, 76.41, 302.09°)
OKLaboklab(40.13% 0.014 -0.1872)
OKLCHoklch(40.13% 0.188 274.3)
XYZxyz(9.5769, 5.6682, 38.6118)
Luminance0.0567 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3130AA #A9AA30
analogous
#306CAA #3130AA #6E30AA
triadic
#3130AA #AA3130 #30AA31
tetradic
#3130AA #AA306C #A9AA30 #30AA6E
square
#3130AA #AA306C #A9AA30 #30AA6E
split-complementary
#3130AA #AA6E30 #6CAA30
monochromatic
#15154B #23237A #3130AA #4C4BCC #7C7BDA

Accessibility & contrast

On white

9.84
#3130AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#3130AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3130AA#FFFFFF#000000##FFFFFF
##3130AA1.009.842.139.84
#FFFFFF9.841.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049AE
Deuteranopia (green-blind)
#003EA8
Tritanopia (blue-blind)
#00526A
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #3130aa;
/* rgb */ color: rgb(49, 48, 170);
/* oklch */ color: oklch(40.1% 0.188 274.3);
Tailwind
colors: {
  custom: {
    50: '#7b69c4',
    500: '#3130aa',
    950: '#000000',
  },
}
SCSS
$custom: #3130aa;
$custom-light: #7b69c4;
$custom-dark: #000000;
JSON
{
  "hex": "#3130aa",
  "rgb": {
    "r": 49,
    "g": 48,
    "b": 170
  },
  "hsl": {
    "h": 240.492,
    "s": 55.963,
    "l": 42.745
  },
  "oklch": {
    "l": 0.40126,
    "c": 0.18769,
    "h": 274.3
  },
  "luminance": 0.05669
}

Semantic roles & 50–950 ramp

primary
#3130AA
secondary
#C1C274
accent
#DF49DE
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #3130AA

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

Preview Lab → · Contrast checker → · Palette generator →

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