#3165C4#3165C4

#3165C4 is a mid, vivid blue. Relative luminance 0.139; OKLCH L 52.4% C 0.159 H 261.2°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#3165C4
RGBrgb(49, 101, 196)
HSLhsl(219, 60%, 48%)
HSVhsv(219, 75%, 77%)
CMYKcmyk(75%, 48.5%, 0%, 23.1%)
CIE-LABlab(44.15, 16.11, -54.67)
CIE-LCHlch(44.15, 56.99, 286.42°)
OKLaboklab(52.39% -0.0242 -0.157)
OKLCHoklch(52.39% 0.159 261.2)
XYZxyz(15.8805, 13.9441, 54.0684)
Luminance0.1395 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3165C4 #C49031
analogous
#31AEC4 #3165C4 #4731C4
triadic
#3165C4 #C43165 #65C431
tetradic
#3165C4 #C431AE #C49031 #31C447
square
#3165C4 #C431AE #C49031 #31C447
split-complementary
#3165C4 #C44731 #AEC431
monochromatic
#193362 #254C93 #3165C4 #5C87D6 #8DABE2

Accessibility & contrast

On white

5.54
#3165C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#3165C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3165C4
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3165C4#FFFFFF#000000##FFFFFF
##3165C41.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F70C7
Deuteranopia (green-blind)
#0062C2
Tritanopia (blue-blind)
#007C8B
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #3165c4;
/* rgb */ color: rgb(49, 101, 196);
/* oklch */ color: oklch(52.4% 0.159 261.2);
Tailwind
colors: {
  custom: {
    50: '#7d90d6',
    500: '#3165c4',
    950: '#000000',
  },
}
SCSS
$custom: #3165c4;
$custom-light: #7d90d6;
$custom-dark: #000000;
JSON
{
  "hex": "#3165c4",
  "rgb": {
    "r": 49,
    "g": 101,
    "b": 196
  },
  "hsl": {
    "h": 218.776,
    "s": 60,
    "l": 48.039
  },
  "oklch": {
    "l": 0.52386,
    "c": 0.15888,
    "h": 261.2
  },
  "luminance": 0.13946
}

Semantic roles & 50–950 ramp

primary
#3165C4
secondary
#CDB384
accent
#AB45E3
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0C14
muted
#7C7D83

Preview Lab

Preview with #3165C4

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

Preview Lab → · Contrast checker → · Palette generator →

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