#3187E2#3187E2

#3187E2 is a mid, vivid cyan. Relative luminance 0.235; OKLCH L 61.8% C 0.160 H 253.0°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#3187E2
RGBrgb(49, 135, 226)
HSLhsl(211, 75%, 54%)
HSVhsv(211, 78%, 89%)
CMYKcmyk(78.3%, 40.3%, 0%, 11.4%)
CIE-LABlab(55.55, 6.08, -53.44)
CIE-LCHlch(55.55, 53.78, 276.50°)
OKLaboklab(61.79% -0.0466 -0.1528)
OKLCHoklch(61.79% 0.16 253)
XYZxyz(23.6529, 23.4691, 75.2201)
Luminance0.2347 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3187E2 #E28C31
analogous
#31E0E2 #3187E2 #3431E2
triadic
#3187E2 #E23187 #87E231
tetradic
#3187E2 #E231E0 #E28C31 #31E234
square
#3187E2 #E231E0 #E28C31 #31E234
split-complementary
#3187E2 #E23431 #E0E231
monochromatic
#134B86 #1A69BB #3187E2 #67A6EA #9CC6F1

Accessibility & contrast

On white

3.69
#3187E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.69
#3187E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3187E2
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3187E2#FFFFFF#000000##000000
##3187E21.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B8EE6
Deuteranopia (green-blind)
#3D7EE0
Tritanopia (blue-blind)
#009DA9
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #3187e2;
/* rgb */ color: rgb(49, 135, 226);
/* oklch */ color: oklch(61.8% 0.160 253.0);
Tailwind
colors: {
  custom: {
    50: '#83a9eb',
    500: '#3187e2',
    950: '#000000',
  },
}
SCSS
$custom: #3187e2;
$custom-light: #83a9eb;
$custom-dark: #000000;
JSON
{
  "hex": "#3187e2",
  "rgb": {
    "r": 49,
    "g": 135,
    "b": 226
  },
  "hsl": {
    "h": 210.847,
    "s": 75.319,
    "l": 53.922
  },
  "oklch": {
    "l": 0.61788,
    "c": 0.15974,
    "h": 253
  },
  "luminance": 0.23472
}

Semantic roles & 50–950 ramp

primary
#3187E2
secondary
#DDB892
accent
#9736F2
background
#F8FAFE
surface
#F0F4FD
border
#CBCED5
text
#0C0F16
muted
#7D7F84

Preview Lab

Preview with #3187E2

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

Preview Lab → · Contrast checker → · Palette generator →

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