#3165A6#3165A6

#3165A6 is a mid, moderate cyan. Relative luminance 0.127; OKLCH L 50.4% C 0.118 H 255.3°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#3165A6
RGBrgb(49, 101, 166)
HSLhsl(213, 54%, 42%)
HSVhsv(213, 70%, 65%)
CMYKcmyk(70.5%, 39.2%, 0%, 34.9%)
CIE-LABlab(42.33, 4.89, -40.06)
CIE-LCHlch(42.33, 40.36, 276.95°)
OKLaboklab(50.39% -0.03 -0.1141)
OKLCHoklch(50.39% 0.118 255.3)
XYZxyz(12.8007, 12.7122, 37.8481)
Luminance0.1271 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3165A6 #A67231
analogous
#31A0A6 #3165A6 #3731A6
triadic
#3165A6 #A63165 #65A631
tetradic
#3165A6 #A631A0 #A67231 #31A637
square
#3165A6 #A631A0 #A67231 #31A637
split-complementary
#3165A6 #A63731 #A0A631
monochromatic
#152C47 #234877 #3165A6 #4A83CA #7AA3D8

Accessibility & contrast

On white

5.93
#3165A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #3165A6
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3165A6#FFFFFF#000000##FFFFFF
##3165A61.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#476AA9
Deuteranopia (green-blind)
#365FA5
Tritanopia (blue-blind)
#00747D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #3165a6;
/* rgb */ color: rgb(49, 101, 166);
/* oklch */ color: oklch(50.4% 0.118 255.3);
Tailwind
colors: {
  custom: {
    50: '#7790c1',
    500: '#3165a6',
    950: '#000000',
  },
}
SCSS
$custom: #3165a6;
$custom-light: #7790c1;
$custom-dark: #000000;
JSON
{
  "hex": "#3165a6",
  "rgb": {
    "r": 49,
    "g": 101,
    "b": 166
  },
  "hsl": {
    "h": 213.333,
    "s": 54.419,
    "l": 42.157
  },
  "oklch": {
    "l": 0.50386,
    "c": 0.11798,
    "h": 255.3
  },
  "luminance": 0.12714
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3165A6

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

Preview Lab → · Contrast checker → · Palette generator →

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