#3165B2#3165B2

#3165B2 is a mid, vivid blue. Relative luminance 0.132; OKLCH L 51.2% C 0.134 H 258.3°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#3165B2
RGBrgb(49, 101, 178)
HSLhsl(216, 57%, 45%)
HSVhsv(216, 72%, 70%)
CMYKcmyk(72.5%, 43.3%, 0%, 30.2%)
CIE-LABlab(43.02, 9.35, -46.01)
CIE-LCHlch(43.02, 46.95, 281.49°)
OKLaboklab(51.15% -0.0273 -0.1315)
OKLCHoklch(51.15% 0.134 258.3)
XYZxyz(13.9533, 13.1732, 43.9182)
Luminance0.1318 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3165B2 #B27E31
analogous
#31A6B2 #3165B2 #3E31B2
triadic
#3165B2 #B23165 #65B231
tetradic
#3165B2 #B231A6 #B27E31 #31B23E
square
#3165B2 #B231A6 #B27E31 #31B23E
split-complementary
#3165B2 #B23E31 #A6B231
monochromatic
#172F52 #244A82 #3165B2 #5184CF #81A6DC

Accessibility & contrast

On white

5.78
#3165B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#3165B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3165B2
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3165B2#FFFFFF#000000##FFFFFF
##3165B21.005.783.645.78
#FFFFFF5.781.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F6CB5
Deuteranopia (green-blind)
#2960B0
Tritanopia (blue-blind)
#007783
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #3165b2;
/* rgb */ color: rgb(49, 101, 178);
/* oklch */ color: oklch(51.2% 0.134 258.3);
Tailwind
colors: {
  custom: {
    50: '#7990c9',
    500: '#3165b2',
    950: '#000000',
  },
}
SCSS
$custom: #3165b2;
$custom-light: #7990c9;
$custom-dark: #000000;
JSON
{
  "hex": "#3165b2",
  "rgb": {
    "r": 49,
    "g": 101,
    "b": 178
  },
  "hsl": {
    "h": 215.814,
    "s": 56.828,
    "l": 44.51
  },
  "oklch": {
    "l": 0.51153,
    "c": 0.13436,
    "h": 258.3
  },
  "luminance": 0.13175
}

Semantic roles & 50–950 ramp

primary
#3165B2
secondary
#C5A779
accent
#A348E0
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #3165B2

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

Preview Lab → · Contrast checker → · Palette generator →

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