#3181BF#3181BF

#3181BF is a mid, vivid cyan. Relative luminance 0.201; OKLCH L 58.4% C 0.122 H 245.7°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#3181BF
RGBrgb(49, 129, 191)
HSLhsl(206, 59%, 47%)
HSVhsv(206, 74%, 75%)
CMYKcmyk(74.3%, 32.5%, 0%, 25.1%)
CIE-LABlab(51.96, -3.09, -39.34)
CIE-LCHlch(51.96, 39.46, 265.50°)
OKLaboklab(58.37% -0.0503 -0.1116)
OKLCHoklch(58.37% 0.122 245.7)
XYZxyz(18.5172, 20.1129, 52.1864)
Luminance0.2011 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3181BF #BF6F31
analogous
#31BFB6 #3181BF #313ABF
triadic
#3181BF #BF3181 #81BF31
tetradic
#3181BF #B631BF #BF6F31 #3ABF31
square
#3181BF #B631BF #BF6F31 #3ABF31
split-complementary
#3181BF #BF313A #BFB631
monochromatic
#183F5E #25608E #3181BF #599ED4 #8ABBE1

Accessibility & contrast

On white

4.18
#3181BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#3181BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3181BF
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3181BF#FFFFFF#000000##000000
##3181BF1.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6583C2
Deuteranopia (green-blind)
#5176BE
Tritanopia (blue-blind)
#009097
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #3181bf;
/* rgb */ color: rgb(49, 129, 191);
/* oklch */ color: oklch(58.4% 0.122 245.7);
Tailwind
colors: {
  custom: {
    50: '#7ca5d2',
    500: '#3181bf',
    950: '#000000',
  },
}
SCSS
$custom: #3181bf;
$custom-light: #7ca5d2;
$custom-dark: #000000;
JSON
{
  "hex": "#3181bf",
  "rgb": {
    "r": 49,
    "g": 129,
    "b": 191
  },
  "hsl": {
    "h": 206.197,
    "s": 59.167,
    "l": 47.059
  },
  "oklch": {
    "l": 0.58373,
    "c": 0.12241,
    "h": 245.7
  },
  "luminance": 0.20115
}

Semantic roles & 50–950 ramp

primary
#3181BF
secondary
#CBA181
accent
#8A45E2
background
#F8FAFC
surface
#EFF4F9
border
#CACED2
text
#0B0F14
muted
#7C7F82

Preview Lab

Preview with #3181BF

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

Preview Lab → · Contrast checker → · Palette generator →

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