#3165B7#3165B7

#3165B7 is a mid, vivid blue. Relative luminance 0.134; OKLCH L 51.5% C 0.141 H 259.2°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#3165B7
RGBrgb(49, 101, 183)
HSLhsl(217, 58%, 45%)
HSVhsv(217, 73%, 72%)
CMYKcmyk(73.2%, 44.8%, 0%, 28.2%)
CIE-LABlab(43.33, 11.23, -48.44)
CIE-LCHlch(43.33, 49.73, 283.05°)
OKLaboklab(51.49% -0.0264 -0.1387)
OKLCHoklch(51.49% 0.141 259.2)
XYZxyz(14.4644, 13.3776, 46.6104)
Luminance0.1338 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3165B7 #B78331
analogous
#31A8B7 #3165B7 #4031B7
triadic
#3165B7 #B73165 #65B731
tetradic
#3165B7 #B731A8 #B78331 #31B740
square
#3165B7 #B731A8 #B78331 #31B740
split-complementary
#3165B7 #B74031 #A8B731
monochromatic
#173056 #244A87 #3165B7 #5485D1 #84A7DE

Accessibility & contrast

On white

5.71
#3165B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#3165B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3165B7
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3165B7#FFFFFF#000000##FFFFFF
##3165B71.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C6DBA
Deuteranopia (green-blind)
#2161B5
Tritanopia (blue-blind)
#007885
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #3165b7;
/* rgb */ color: rgb(49, 101, 183);
/* oklch */ color: oklch(51.5% 0.141 259.2);
Tailwind
colors: {
  custom: {
    50: '#7a90cd',
    500: '#3165b7',
    950: '#000000',
  },
}
SCSS
$custom: #3165b7;
$custom-light: #7a90cd;
$custom-dark: #000000;
JSON
{
  "hex": "#3165b7",
  "rgb": {
    "r": 49,
    "g": 101,
    "b": 183
  },
  "hsl": {
    "h": 216.716,
    "s": 57.759,
    "l": 45.49
  },
  "oklch": {
    "l": 0.51486,
    "c": 0.14119,
    "h": 259.2
  },
  "luminance": 0.13379
}

Semantic roles & 50–950 ramp

primary
#3165B7
secondary
#C8AA7C
accent
#A547E1
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0C13
muted
#7C7D82

Preview Lab

Preview with #3165B7

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

Preview Lab → · Contrast checker → · Palette generator →

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