#3181B4#3181B4

#3181B4 is a mid, moderate cyan. Relative luminance 0.196; OKLCH L 57.8% C 0.110 H 240.7°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#3181B4
RGBrgb(49, 129, 180)
HSLhsl(203, 57%, 45%)
HSVhsv(203, 73%, 71%)
CMYKcmyk(72.8%, 28.3%, 0%, 29.4%)
CIE-LABlab(51.44, -7.03, -33.86)
CIE-LCHlch(51.44, 34.58, 258.27°)
OKLaboklab(57.78% -0.0538 -0.0956)
OKLCHoklch(57.78% 0.11 240.7)
XYZxyz(17.3519, 19.6468, 46.0489)
Luminance0.1965 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3181B4 #B46431
analogous
#31B4A6 #3181B4 #313FB4
triadic
#3181B4 #B43181 #81B431
tetradic
#3181B4 #A631B4 #B46431 #3FB431
square
#3181B4 #A631B4 #B46431 #3FB431
split-complementary
#3181B4 #B4313F #B4A631
monochromatic
#173C54 #245F84 #3181B4 #529FD0 #82BADD

Accessibility & contrast

On white

4.26
#3181B4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#3181B4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3181B4
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3181B4#FFFFFF#000000##000000
##3181B41.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6982B6
Deuteranopia (green-blind)
#5775B3
Tritanopia (blue-blind)
#008E93
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #3181b4;
/* rgb */ color: rgb(49, 129, 180);
/* oklch */ color: oklch(57.8% 0.110 240.7);
Tailwind
colors: {
  custom: {
    50: '#7aa5ca',
    500: '#3181b4',
    950: '#000000',
  },
}
SCSS
$custom: #3181b4;
$custom-light: #7aa5ca;
$custom-dark: #000000;
JSON
{
  "hex": "#3181b4",
  "rgb": {
    "r": 49,
    "g": 129,
    "b": 180
  },
  "hsl": {
    "h": 203.359,
    "s": 57.205,
    "l": 44.902
  },
  "oklch": {
    "l": 0.57781,
    "c": 0.10971,
    "h": 240.7
  },
  "luminance": 0.19649
}

Semantic roles & 50–950 ramp

primary
#3181B4
secondary
#C6987B
accent
#8347E0
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0A0F13
muted
#7C7F82

Preview Lab

Preview with #3181B4

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

Preview Lab → · Contrast checker → · Palette generator →

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