#3181B1#3181B1

#3181B1 is a mid, moderate cyan. Relative luminance 0.195; OKLCH L 57.6% C 0.106 H 239.0°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#3181B1
RGBrgb(49, 129, 177)
HSLhsl(203, 57%, 44%)
HSVhsv(203, 72%, 69%)
CMYKcmyk(72.3%, 27.1%, 0%, 30.6%)
CIE-LABlab(51.30, -8.09, -32.34)
CIE-LCHlch(51.30, 33.34, 255.96°)
OKLaboklab(57.63% -0.0547 -0.0912)
OKLCHoklch(57.63% 0.106 239)
XYZxyz(17.0496, 19.5259, 44.4568)
Luminance0.1953 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3181B1 #B16131
analogous
#31B1A1 #3181B1 #3141B1
triadic
#3181B1 #B13181 #81B131
tetradic
#3181B1 #A131B1 #B16131 #41B131
square
#3181B1 #A131B1 #B16131 #41B131
split-complementary
#3181B1 #B13141 #B1A131
monochromatic
#163B51 #245E81 #3181B1 #519FCF #80BADC

Accessibility & contrast

On white

4.28
#3181B1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#3181B1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3181B1
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3181B1#FFFFFF#000000##000000
##3181B11.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B81B3
Deuteranopia (green-blind)
#5975B0
Tritanopia (blue-blind)
#008D92
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #3181b1;
/* rgb */ color: rgb(49, 129, 177);
/* oklch */ color: oklch(57.6% 0.106 239.0);
Tailwind
colors: {
  custom: {
    50: '#7aa5c8',
    500: '#3181b1',
    950: '#000000',
  },
}
SCSS
$custom: #3181b1;
$custom-light: #7aa5c8;
$custom-dark: #000000;
JSON
{
  "hex": "#3181b1",
  "rgb": {
    "r": 49,
    "g": 129,
    "b": 177
  },
  "hsl": {
    "h": 202.5,
    "s": 56.637,
    "l": 44.314
  },
  "oklch": {
    "l": 0.57626,
    "c": 0.10641,
    "h": 239
  },
  "luminance": 0.19528
}

Semantic roles & 50–950 ramp

primary
#3181B1
secondary
#C59579
accent
#8148E0
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0A0F13
muted
#7C7F82

Preview Lab

Preview with #3181B1

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

Preview Lab → · Contrast checker → · Palette generator →

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