#3181B2#3181B2

#3181B2 is a mid, moderate cyan. Relative luminance 0.196; OKLCH L 57.7% C 0.107 H 239.6°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#3181B2
RGBrgb(49, 129, 178)
HSLhsl(203, 57%, 45%)
HSVhsv(203, 72%, 70%)
CMYKcmyk(72.5%, 27.5%, 0%, 30.2%)
CIE-LABlab(51.34, -7.73, -32.85)
CIE-LCHlch(51.34, 33.75, 256.75°)
OKLaboklab(57.68% -0.0544 -0.0927)
OKLCHoklch(57.68% 0.108 239.6)
XYZxyz(17.1496, 19.5659, 44.9836)
Luminance0.1957 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3181B2 #B26231
analogous
#31B2A3 #3181B2 #3140B2
triadic
#3181B2 #B23181 #81B231
tetradic
#3181B2 #A331B2 #B26231 #40B231
square
#3181B2 #A331B2 #B26231 #40B231
split-complementary
#3181B2 #B23140 #B2A331
monochromatic
#173B52 #245E82 #3181B2 #519FCF #81BADC

Accessibility & contrast

On white

4.27
#3181B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##3181B2#FFFFFF#000000##000000
##3181B21.004.274.914.91
#FFFFFF4.271.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A81B4
Deuteranopia (green-blind)
#5875B1
Tritanopia (blue-blind)
#008D92
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #3181b2;
/* rgb */ color: rgb(49, 129, 178);
/* oklch */ color: oklch(57.7% 0.107 239.6);
Tailwind
colors: {
  custom: {
    50: '#7aa5c9',
    500: '#3181b2',
    950: '#000000',
  },
}
SCSS
$custom: #3181b2;
$custom-light: #7aa5c9;
$custom-dark: #000000;
JSON
{
  "hex": "#3181b2",
  "rgb": {
    "r": 49,
    "g": 129,
    "b": 178
  },
  "hsl": {
    "h": 202.791,
    "s": 56.828,
    "l": 44.51
  },
  "oklch": {
    "l": 0.57677,
    "c": 0.1075,
    "h": 239.6
  },
  "luminance": 0.19568
}

Semantic roles & 50–950 ramp

primary
#3181B2
secondary
#C59679
accent
#8248E0
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0A0F13
muted
#7C7F82

Preview Lab

Preview with #3181B2

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

Preview Lab → · Contrast checker → · Palette generator →

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