#3165C2#3165C2

#3165C2 is a mid, vivid blue. Relative luminance 0.139; OKLCH L 52.2% C 0.156 H 261.0°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#3165C2
RGBrgb(49, 101, 194)
HSLhsl(218, 60%, 48%)
HSVhsv(218, 75%, 76%)
CMYKcmyk(74.7%, 47.9%, 0%, 23.9%)
CIE-LABlab(44.02, 15.36, -53.72)
CIE-LCHlch(44.02, 55.87, 285.96°)
OKLaboklab(52.25% -0.0245 -0.1542)
OKLCHoklch(52.25% 0.156 261)
XYZxyz(15.6544, 13.8536, 52.8775)
Luminance0.1386 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3165C2 #C28E31
analogous
#31ADC2 #3165C2 #4631C2
triadic
#3165C2 #C23165 #65C231
tetradic
#3165C2 #C231AD #C28E31 #31C246
square
#3165C2 #C231AD #C28E31 #31C246
split-complementary
#3165C2 #C24631 #ADC231
monochromatic
#183260 #254C91 #3165C2 #5B87D6 #8CABE2

Accessibility & contrast

On white

5.57
#3165C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#3165C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3165C2
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3165C2#FFFFFF#000000##FFFFFF
##3165C21.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#316FC5
Deuteranopia (green-blind)
#0162C0
Tritanopia (blue-blind)
#007B8A
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #3165c2;
/* rgb */ color: rgb(49, 101, 194);
/* oklch */ color: oklch(52.2% 0.156 261.0);
Tailwind
colors: {
  custom: {
    50: '#7d90d5',
    500: '#3165c2',
    950: '#000000',
  },
}
SCSS
$custom: #3165c2;
$custom-light: #7d90d5;
$custom-dark: #000000;
JSON
{
  "hex": "#3165c2",
  "rgb": {
    "r": 49,
    "g": 101,
    "b": 194
  },
  "hsl": {
    "h": 218.483,
    "s": 59.671,
    "l": 47.647
  },
  "oklch": {
    "l": 0.52245,
    "c": 0.15617,
    "h": 261
  },
  "luminance": 0.13855
}

Semantic roles & 50–950 ramp

primary
#3165C2
secondary
#CCB283
accent
#AA45E3
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0C14
muted
#7C7D83

Preview Lab

Preview with #3165C2

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

Preview Lab → · Contrast checker → · Palette generator →

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