#3165AF#3165AF

#3165AF is a mid, vivid blue. Relative luminance 0.131; OKLCH L 51.0% C 0.130 H 257.6°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#3165AF
RGBrgb(49, 101, 175)
HSLhsl(215, 56%, 44%)
HSVhsv(215, 72%, 69%)
CMYKcmyk(72%, 42.3%, 0%, 31.4%)
CIE-LABlab(42.84, 8.23, -44.53)
CIE-LCHlch(42.84, 45.29, 280.47°)
OKLaboklab(50.96% -0.0279 -0.1272)
OKLCHoklch(50.96% 0.13 257.6)
XYZxyz(13.6553, 13.0540, 42.3491)
Luminance0.1305 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3165AF #AF7B31
analogous
#31A4AF #3165AF #3C31AF
triadic
#3165AF #AF3165 #65AF31
tetradic
#3165AF #AF31A4 #AF7B31 #31AF3C
square
#3165AF #AF31A4 #AF7B31 #31AF3C
split-complementary
#3165AF #AF3C31 #A4AF31
monochromatic
#162E4F #24497F #3165AF #4F84CE #7FA5DB

Accessibility & contrast

On white

5.82
#3165AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#3165AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3165AF
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3165AF#FFFFFF#000000##FFFFFF
##3165AF1.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#426BB2
Deuteranopia (green-blind)
#2C60AE
Tritanopia (blue-blind)
#007681
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #3165af;
/* rgb */ color: rgb(49, 101, 175);
/* oklch */ color: oklch(51.0% 0.130 257.6);
Tailwind
colors: {
  custom: {
    50: '#7990c7',
    500: '#3165af',
    950: '#000000',
  },
}
SCSS
$custom: #3165af;
$custom-light: #7990c7;
$custom-dark: #000000;
JSON
{
  "hex": "#3165af",
  "rgb": {
    "r": 49,
    "g": 101,
    "b": 175
  },
  "hsl": {
    "h": 215.238,
    "s": 56.25,
    "l": 43.922
  },
  "oklch": {
    "l": 0.50957,
    "c": 0.13026,
    "h": 257.6
  },
  "luminance": 0.13055
}

Semantic roles & 50–950 ramp

primary
#3165AF
secondary
#C4A578
accent
#A148E0
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #3165AF

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

Preview Lab → · Contrast checker → · Palette generator →

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