#3165A5#3165A5

#3165A5 is a mid, moderate cyan. Relative luminance 0.127; OKLCH L 50.3% C 0.117 H 255.0°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#3165A5
RGBrgb(49, 101, 165)
HSLhsl(213, 54%, 42%)
HSVhsv(213, 70%, 65%)
CMYKcmyk(70.3%, 38.8%, 0%, 35.3%)
CIE-LABlab(42.27, 4.52, -39.56)
CIE-LCHlch(42.27, 39.82, 276.51°)
OKLaboklab(50.32% -0.0302 -0.1126)
OKLCHoklch(50.32% 0.117 255)
XYZxyz(12.7093, 12.6756, 37.3668)
Luminance0.1268 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3165A5 #A57131
analogous
#319FA5 #3165A5 #3731A5
triadic
#3165A5 #A53165 #65A531
tetradic
#3165A5 #A5319F #A57131 #31A537
square
#3165A5 #A5319F #A57131 #31A537
split-complementary
#3165A5 #A53731 #9FA531
monochromatic
#152B47 #234876 #3165A5 #4A83C9 #79A3D7

Accessibility & contrast

On white

5.94
#3165A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#3165A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3165A5
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3165A5#FFFFFF#000000##FFFFFF
##3165A51.005.943.545.94
#FFFFFF5.941.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#486AA8
Deuteranopia (green-blind)
#365FA4
Tritanopia (blue-blind)
#00747D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #3165a5;
/* rgb */ color: rgb(49, 101, 165);
/* oklch */ color: oklch(50.3% 0.117 255.0);
Tailwind
colors: {
  custom: {
    50: '#7790c0',
    500: '#3165a5',
    950: '#000000',
  },
}
SCSS
$custom: #3165a5;
$custom-light: #7790c0;
$custom-dark: #000000;
JSON
{
  "hex": "#3165a5",
  "rgb": {
    "r": 49,
    "g": 101,
    "b": 165
  },
  "hsl": {
    "h": 213.103,
    "s": 54.206,
    "l": 41.961
  },
  "oklch": {
    "l": 0.50324,
    "c": 0.11662,
    "h": 255
  },
  "luminance": 0.12677
}

Semantic roles & 50–950 ramp

primary
#3165A5
secondary
#C09D72
accent
#9C4ADE
background
#F7F8FB
surface
#EEF0F7
border
#C9CBD0
text
#0A0C12
muted
#7C7D81

Preview Lab

Preview with #3165A5

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

Preview Lab → · Contrast checker → · Palette generator →

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