#3165C5#3165C5

#3165C5 is a mid, vivid blue. Relative luminance 0.140; OKLCH L 52.5% C 0.160 H 261.4°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#3165C5
RGBrgb(49, 101, 197)
HSLhsl(219, 60%, 48%)
HSVhsv(219, 75%, 77%)
CMYKcmyk(75.1%, 48.7%, 0%, 22.7%)
CIE-LABlab(44.22, 16.49, -55.14)
CIE-LCHlch(44.22, 57.55, 286.65°)
OKLaboklab(52.46% -0.0241 -0.1584)
OKLCHoklch(52.46% 0.16 261.4)
XYZxyz(15.9947, 13.9898, 54.6698)
Luminance0.1399 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3165C5 #C59131
analogous
#31AFC5 #3165C5 #4731C5
triadic
#3165C5 #C53165 #65C531
tetradic
#3165C5 #C531AF #C59131 #31C547
square
#3165C5 #C531AF #C59131 #31C547
split-complementary
#3165C5 #C54731 #AFC531
monochromatic
#193363 #254C94 #3165C5 #5D87D7 #8EACE3

Accessibility & contrast

On white

5.53
#3165C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#3165C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3165C5
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3165C5#FFFFFF#000000##FFFFFF
##3165C51.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E70C9
Deuteranopia (green-blind)
#0062C3
Tritanopia (blue-blind)
#007C8B
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #3165c5;
/* rgb */ color: rgb(49, 101, 197);
/* oklch */ color: oklch(52.5% 0.160 261.4);
Tailwind
colors: {
  custom: {
    50: '#7d90d7',
    500: '#3165c5',
    950: '#000000',
  },
}
SCSS
$custom: #3165c5;
$custom-light: #7d90d7;
$custom-dark: #000000;
JSON
{
  "hex": "#3165c5",
  "rgb": {
    "r": 49,
    "g": 101,
    "b": 197
  },
  "hsl": {
    "h": 218.919,
    "s": 60.163,
    "l": 48.235
  },
  "oklch": {
    "l": 0.52458,
    "c": 0.16023,
    "h": 261.4
  },
  "luminance": 0.13992
}

Semantic roles & 50–950 ramp

primary
#3165C5
secondary
#CDB485
accent
#AC44E3
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0C14
muted
#7C7D83

Preview Lab

Preview with #3165C5

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

Preview Lab → · Contrast checker → · Palette generator →

#3165C5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva