#3187A2#3187A2

#3187A2 is a mid, moderate cyan. Relative luminance 0.206; OKLCH L 58.4% C 0.090 H 222.5°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#3187A2
RGBrgb(49, 135, 162)
HSLhsl(194, 54%, 41%)
HSVhsv(194, 70%, 64%)
CMYKcmyk(69.8%, 16.7%, 0%, 36.5%)
CIE-LABlab(52.50, -16.60, -21.82)
CIE-LCHlch(52.50, 27.42, 232.74°)
OKLaboklab(58.37% -0.0664 -0.061)
OKLCHoklch(58.37% 0.09 222.5)
XYZxyz(16.4495, 20.5877, 37.2823)
Luminance0.2059 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3187A2 #A24C31
analogous
#31A285 #3187A2 #314FA2
triadic
#3187A2 #A23187 #87A231
tetradic
#3187A2 #8531A2 #A24C31 #4FA231
square
#3187A2 #8531A2 #A24C31 #4FA231
split-complementary
#3187A2 #A2314F #A28531
monochromatic
#153944 #236073 #3187A2 #48A9C8 #77BFD6

Accessibility & contrast

On white

4.10
#3187A2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#3187A2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3187A2
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3187A2#FFFFFF#000000##000000
##3187A21.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7784A3
Deuteranopia (green-blind)
#6878A2
Tritanopia (blue-blind)
#008F90
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #3187a2;
/* rgb */ color: rgb(49, 135, 162);
/* oklch */ color: oklch(58.4% 0.090 222.5);
Tailwind
colors: {
  custom: {
    50: '#78aabd',
    500: '#3187a2',
    950: '#000000',
  },
}
SCSS
$custom: #3187a2;
$custom-light: #78aabd;
$custom-dark: #000000;
JSON
{
  "hex": "#3187a2",
  "rgb": {
    "r": 49,
    "g": 135,
    "b": 162
  },
  "hsl": {
    "h": 194.336,
    "s": 53.555,
    "l": 41.373
  },
  "oklch": {
    "l": 0.58371,
    "c": 0.09015,
    "h": 222.5
  },
  "luminance": 0.2059
}

Semantic roles & 50–950 ramp

primary
#3187A2
secondary
#BE8371
accent
#6E4BDD
background
#F7FAFB
surface
#EEF4F6
border
#C9CED0
text
#0A1012
muted
#7C7F81

Preview Lab

Preview with #3187A2

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

Preview Lab → · Contrast checker → · Palette generator →

#3187A2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva