#3181B5#3181B5

#3181B5 is a mid, moderate cyan. Relative luminance 0.197; OKLCH L 57.8% C 0.111 H 241.2°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#3181B5
RGBrgb(49, 129, 181)
HSLhsl(204, 57%, 45%)
HSVhsv(204, 73%, 71%)
CMYKcmyk(72.9%, 28.7%, 0%, 29%)
CIE-LABlab(51.48, -6.67, -34.36)
CIE-LCHlch(51.48, 35.00, 259.01°)
OKLaboklab(57.83% -0.0534 -0.0971)
OKLCHoklch(57.83% 0.111 241.2)
XYZxyz(17.4541, 19.6877, 46.5873)
Luminance0.1969 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3181B5 #B56531
analogous
#31B5A7 #3181B5 #313FB5
triadic
#3181B5 #B53181 #81B531
tetradic
#3181B5 #A731B5 #B56531 #3FB531
square
#3181B5 #A731B5 #B56531 #3FB531
split-complementary
#3181B5 #B5313F #B5A731
monochromatic
#173C55 #245F85 #3181B5 #539FD0 #83BADD

Accessibility & contrast

On white

4.25
#3181B5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#3181B5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3181B5
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3181B5#FFFFFF#000000##000000
##3181B51.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3181b5;
/* rgb */ color: rgb(49, 129, 181);
/* oklch */ color: oklch(57.8% 0.111 241.2);
Tailwind
colors: {
  custom: {
    50: '#7aa5cb',
    500: '#3181b5',
    950: '#000000',
  },
}
SCSS
$custom: #3181b5;
$custom-light: #7aa5cb;
$custom-dark: #000000;
JSON
{
  "hex": "#3181b5",
  "rgb": {
    "r": 49,
    "g": 129,
    "b": 181
  },
  "hsl": {
    "h": 203.636,
    "s": 57.391,
    "l": 45.098
  },
  "oklch": {
    "l": 0.57834,
    "c": 0.11082,
    "h": 241.2
  },
  "luminance": 0.1969
}

Semantic roles & 50–950 ramp

primary
#3181B5
secondary
#C7997B
accent
#8447E1
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0A0F13
muted
#7C7F82

Preview Lab

Preview with #3181B5

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

Preview Lab → · Contrast checker → · Palette generator →

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