#3187B2#3187B2

#3187B2 is a mid, moderate cyan. Relative luminance 0.212; OKLCH L 59.1% C 0.104 H 234.4°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#3187B2
RGBrgb(49, 135, 178)
HSLhsl(200, 57%, 45%)
HSVhsv(200, 72%, 70%)
CMYKcmyk(72.5%, 24.2%, 0%, 30.2%)
CIE-LABlab(53.16, -11.17, -30.01)
CIE-LCHlch(53.16, 32.02, 249.59°)
OKLaboklab(59.12% -0.0604 -0.0844)
OKLCHoklch(59.12% 0.104 234.4)
XYZxyz(17.9633, 21.1932, 45.2548)
Luminance0.2119 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3187B2 #B25C31
analogous
#31B29D #3187B2 #3147B2
triadic
#3187B2 #B23187 #87B231
tetradic
#3187B2 #9D31B2 #B25C31 #47B231
square
#3187B2 #9D31B2 #B25C31 #47B231
split-complementary
#3187B2 #B23147 #B29D31
monochromatic
#173E52 #246382 #3187B2 #51A5CF #81BEDC

Accessibility & contrast

On white

4.01
#3187B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#3187B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3187B2
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3187B2#FFFFFF#000000##000000
##3187B21.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7286B4
Deuteranopia (green-blind)
#6179B1
Tritanopia (blue-blind)
#009296
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #3187b2;
/* rgb */ color: rgb(49, 135, 178);
/* oklch */ color: oklch(59.1% 0.104 234.4);
Tailwind
colors: {
  custom: {
    50: '#7aa9c9',
    500: '#3187b2',
    950: '#000000',
  },
}
SCSS
$custom: #3187b2;
$custom-light: #7aa9c9;
$custom-dark: #000000;
JSON
{
  "hex": "#3187b2",
  "rgb": {
    "r": 49,
    "g": 135,
    "b": 178
  },
  "hsl": {
    "h": 200,
    "s": 56.828,
    "l": 44.51
  },
  "oklch": {
    "l": 0.59122,
    "c": 0.10384,
    "h": 234.4
  },
  "luminance": 0.21195
}

Semantic roles & 50–950 ramp

primary
#3187B2
secondary
#C59379
accent
#7B48E0
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0A1013
muted
#7C7F82

Preview Lab

Preview with #3187B2

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

Preview Lab → · Contrast checker → · Palette generator →

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