#3181B3#3181B3

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

Color values

HEX#3181B3
RGBrgb(49, 129, 179)
HSLhsl(203, 57%, 45%)
HSVhsv(203, 73%, 70%)
CMYKcmyk(72.6%, 27.9%, 0%, 29.8%)
CIE-LABlab(51.39, -7.38, -33.35)
CIE-LCHlch(51.39, 34.16, 257.52°)
OKLaboklab(57.73% -0.0541 -0.0942)
OKLCHoklch(57.73% 0.109 240.1)
XYZxyz(17.2504, 19.6062, 45.5143)
Luminance0.1961 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3181B3 #B36331
analogous
#31B3A4 #3181B3 #3140B3
triadic
#3181B3 #B33181 #81B331
tetradic
#3181B3 #A431B3 #B36331 #40B331
square
#3181B3 #A431B3 #B36331 #40B331
split-complementary
#3181B3 #B33140 #B3A431
monochromatic
#173C53 #245E83 #3181B3 #529FD0 #82BADD

Accessibility & contrast

On white

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

On black

4.92
#3181B3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3181B3
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3181B3#FFFFFF#000000##000000
##3181B31.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A81B5
Deuteranopia (green-blind)
#5875B2
Tritanopia (blue-blind)
#008E92
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #3181b3;
/* rgb */ color: rgb(49, 129, 179);
/* oklch */ color: oklch(57.7% 0.109 240.1);
Tailwind
colors: {
  custom: {
    50: '#7aa5ca',
    500: '#3181b3',
    950: '#000000',
  },
}
SCSS
$custom: #3181b3;
$custom-light: #7aa5ca;
$custom-dark: #000000;
JSON
{
  "hex": "#3181b3",
  "rgb": {
    "r": 49,
    "g": 129,
    "b": 179
  },
  "hsl": {
    "h": 203.077,
    "s": 57.018,
    "l": 44.706
  },
  "oklch": {
    "l": 0.57729,
    "c": 0.10859,
    "h": 240.1
  },
  "luminance": 0.19608
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3181B3

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

Preview Lab → · Contrast checker → · Palette generator →

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