#3187CF#3187CF

#3187CF is a mid, vivid cyan. Relative luminance 0.225; OKLCH L 60.7% C 0.136 H 247.9°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#3187CF
RGBrgb(49, 135, 207)
HSLhsl(207, 62%, 50%)
HSVhsv(207, 76%, 81%)
CMYKcmyk(76.3%, 34.8%, 0%, 18.8%)
CIE-LABlab(54.54, -0.86, -44.37)
CIE-LCHlch(54.54, 44.38, 268.89°)
OKLaboklab(60.66% -0.0513 -0.1262)
OKLCHoklch(60.66% 0.136 247.9)
XYZxyz(21.1888, 22.4834, 62.2424)
Luminance0.2249 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3187CF #CF7931
analogous
#31CFC8 #3187CF #3138CF
triadic
#3187CF #CF3187 #87CF31
tetradic
#3187CF #C831CF #CF7931 #38CF31
square
#3187CF #C831CF #CF7931 #38CF31
split-complementary
#3187CF #CF3138 #CFC831
monochromatic
#19466C #25679E #3187CF #63A4DB #94C1E6

Accessibility & contrast

On white

3.82
#3187CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#3187CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3187CF
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3187CF#FFFFFF#000000##000000
##3187CF1.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#668AD2
Deuteranopia (green-blind)
#4F7CCE
Tritanopia (blue-blind)
#0098A1
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #3187cf;
/* rgb */ color: rgb(49, 135, 207);
/* oklch */ color: oklch(60.7% 0.136 247.9);
Tailwind
colors: {
  custom: {
    50: '#7fa9de',
    500: '#3187cf',
    950: '#000000',
  },
}
SCSS
$custom: #3187cf;
$custom-light: #7fa9de;
$custom-dark: #000000;
JSON
{
  "hex": "#3187cf",
  "rgb": {
    "r": 49,
    "g": 135,
    "b": 207
  },
  "hsl": {
    "h": 207.342,
    "s": 62.205,
    "l": 50.196
  },
  "oklch": {
    "l": 0.60662,
    "c": 0.13625,
    "h": 247.9
  },
  "luminance": 0.22486
}

Semantic roles & 50–950 ramp

primary
#3187CF
secondary
#D1AB8B
accent
#8D43E5
background
#F8FAFD
surface
#F0F4FB
border
#CBCED4
text
#0C0F15
muted
#7D7F83

Preview Lab

Preview with #3187CF

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

Preview Lab → · Contrast checker → · Palette generator →

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