#3165C9#3165C9

#3165C9 is a mid, vivid blue. Relative luminance 0.142; OKLCH L 52.7% C 0.166 H 261.8°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#3165C9
RGBrgb(49, 101, 201)
HSLhsl(219, 61%, 49%)
HSVhsv(219, 76%, 79%)
CMYKcmyk(75.6%, 49.8%, 0%, 21.2%)
CIE-LABlab(44.48, 17.99, -57.02)
CIE-LCHlch(44.48, 59.79, 287.51°)
OKLaboklab(52.75% -0.0235 -0.1639)
OKLCHoklch(52.75% 0.166 261.8)
XYZxyz(16.4591, 14.1755, 57.1157)
Luminance0.1418 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3165C9 #C99531
analogous
#31B1C9 #3165C9 #4931C9
triadic
#3165C9 #C93165 #65C931
tetradic
#3165C9 #C931B1 #C99531 #31C949
square
#3165C9 #C931B1 #C99531 #31C949
split-complementary
#3165C9 #C94931 #B1C931
monochromatic
#193467 #254C98 #3165C9 #5F89D8 #90ADE4

Accessibility & contrast

On white

5.48
#3165C9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#3165C9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3165C9
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3165C9#FFFFFF#000000##FFFFFF
##3165C91.005.483.845.48
#FFFFFF5.481.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2971CD
Deuteranopia (green-blind)
#0063C7
Tritanopia (blue-blind)
#007D8D
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #3165c9;
/* rgb */ color: rgb(49, 101, 201);
/* oklch */ color: oklch(52.7% 0.166 261.8);
Tailwind
colors: {
  custom: {
    50: '#7e90da',
    500: '#3165c9',
    950: '#000000',
  },
}
SCSS
$custom: #3165c9;
$custom-light: #7e90da;
$custom-dark: #000000;
JSON
{
  "hex": "#3165c9",
  "rgb": {
    "r": 49,
    "g": 101,
    "b": 201
  },
  "hsl": {
    "h": 219.474,
    "s": 60.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.52746,
    "c": 0.16561,
    "h": 261.8
  },
  "luminance": 0.14177
}

Semantic roles & 50–950 ramp

primary
#3165C9
secondary
#CFB687
accent
#AD44E4
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0B0C15
muted
#7C7D83

Preview Lab

Preview with #3165C9

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

Preview Lab → · Contrast checker → · Palette generator →

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