#3181C4#3181C4

#3181C4 is a mid, vivid cyan. Relative luminance 0.203; OKLCH L 58.7% C 0.128 H 247.6°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#3181C4
RGBrgb(49, 129, 196)
HSLhsl(207, 60%, 48%)
HSVhsv(207, 75%, 77%)
CMYKcmyk(75%, 34.2%, 0%, 23.1%)
CIE-LABlab(52.22, -1.29, -41.80)
CIE-LCHlch(52.22, 41.82, 268.24°)
OKLaboklab(58.65% -0.0489 -0.1188)
OKLCHoklch(58.65% 0.128 247.6)
XYZxyz(19.0769, 20.3368, 55.1338)
Luminance0.2034 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3181C4 #C47431
analogous
#31C4BD #3181C4 #3137C4
triadic
#3181C4 #C43181 #81C431
tetradic
#3181C4 #BD31C4 #C47431 #37C431
square
#3181C4 #BD31C4 #C47431 #37C431
split-complementary
#3181C4 #C43137 #C4BD31
monochromatic
#194162 #256193 #3181C4 #5C9FD6 #8DBBE2

Accessibility & contrast

On white

4.14
#3181C4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#3181C4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3181C4
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3181C4#FFFFFF#000000##000000
##3181C41.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6284C7
Deuteranopia (green-blind)
#4D76C3
Tritanopia (blue-blind)
#009199
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #3181c4;
/* rgb */ color: rgb(49, 129, 196);
/* oklch */ color: oklch(58.7% 0.128 247.6);
Tailwind
colors: {
  custom: {
    50: '#7da5d6',
    500: '#3181c4',
    950: '#000000',
  },
}
SCSS
$custom: #3181c4;
$custom-light: #7da5d6;
$custom-dark: #000000;
JSON
{
  "hex": "#3181c4",
  "rgb": {
    "r": 49,
    "g": 129,
    "b": 196
  },
  "hsl": {
    "h": 207.347,
    "s": 60,
    "l": 48.039
  },
  "oklch": {
    "l": 0.58653,
    "c": 0.12844,
    "h": 247.6
  },
  "luminance": 0.20339
}

Semantic roles & 50–950 ramp

primary
#3181C4
secondary
#CDA584
accent
#8D45E3
background
#F8FAFD
surface
#EFF4FA
border
#CACED3
text
#0B0F14
muted
#7C7F83

Preview Lab

Preview with #3181C4

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

Preview Lab → · Contrast checker → · Palette generator →

#3181C4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva