#3130AF#3130AF

#3130AF is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.6% C 0.194 H 273.9°. Best body text is #FFFFFF at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#3130AF
RGBrgb(49, 48, 175)
HSLhsl(240, 57%, 44%)
HSVhsv(240, 73%, 69%)
CMYKcmyk(72%, 72.6%, 0%, 31.4%)
CIE-LABlab(29.06, 42.29, -66.91)
CIE-LCHlch(29.06, 79.15, 302.29°)
OKLaboklab(40.63% 0.0132 -0.1935)
OKLCHoklch(40.63% 0.194 273.9)
XYZxyz(10.0589, 5.8610, 41.1503)
Luminance0.0586 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3130AF #AEAF30
analogous
#306EAF #3130AF #7030AF
triadic
#3130AF #AF3130 #30AF31
tetradic
#3130AF #AF306E #AEAF30 #30AF70
square
#3130AF #AF306E #AEAF30 #30AF70
split-complementary
#3130AF #AF7030 #6EAF30
monochromatic
#16164F #24237F #3130AF #4F4ECE #7F7EDC

Accessibility & contrast

On white

9.67
#3130AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#3130AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3130AF#FFFFFF#000000##FFFFFF
##3130AF1.009.672.179.67
#FFFFFF9.671.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB3
Deuteranopia (green-blind)
#003EAD
Tritanopia (blue-blind)
#00546C
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #3130af;
/* rgb */ color: rgb(49, 48, 175);
/* oklch */ color: oklch(40.6% 0.194 273.9);
Tailwind
colors: {
  custom: {
    50: '#7c6ac8',
    500: '#3130af',
    950: '#000000',
  },
}
SCSS
$custom: #3130af;
$custom-light: #7c6ac8;
$custom-dark: #000000;
JSON
{
  "hex": "#3130af",
  "rgb": {
    "r": 49,
    "g": 48,
    "b": 175
  },
  "hsl": {
    "h": 240.472,
    "s": 56.951,
    "l": 43.725
  },
  "oklch": {
    "l": 0.40633,
    "c": 0.19396,
    "h": 273.9
  },
  "luminance": 0.05862
}

Semantic roles & 50–950 ramp

primary
#3130AF
secondary
#C4C476
accent
#E048DF
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #3130AF

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

Preview Lab → · Contrast checker → · Palette generator →

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