#3B81AC#3B81AC

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

Color values

HEX#3B81AC
RGBrgb(59, 129, 172)
HSLhsl(203, 49%, 45%)
HSVhsv(203, 66%, 67%)
CMYKcmyk(65.7%, 25%, 0%, 32.5%)
CIE-LABlab(51.39, -8.22, -29.29)
CIE-LCHlch(51.39, 30.42, 254.32°)
OKLaboklab(57.72% -0.0503 -0.0823)
OKLCHoklch(57.72% 0.096 238.6)
XYZxyz(17.0974, 19.6071, 41.9052)
Luminance0.1961 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B81AC #AC663B
analogous
#3BAC9F #3B81AC #3B48AC
triadic
#3B81AC #AC3B81 #81AC3B
tetradic
#3B81AC #9F3BAC #AC663B #48AC3B
square
#3B81AC #9F3BAC #AC663B #48AC3B
split-complementary
#3B81AC #AC3B48 #AC9F3B
monochromatic
#1C3D51 #2B5F7E #3B81AC #5D9FC7 #8ABAD7

Accessibility & contrast

On white

4.27
#3B81AC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#3B81AC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3B81AC
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B81AC#FFFFFF#000000##000000
##3B81AC1.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)
#6D81AE
Deuteranopia (green-blind)
#5E75AB
Tritanopia (blue-blind)
#008C90
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #3b81ac;
/* rgb */ color: rgb(59, 129, 172);
/* oklch */ color: oklch(57.7% 0.096 238.6);
Tailwind
colors: {
  custom: {
    50: '#7da5c5',
    500: '#3b81ac',
    950: '#000000',
  },
}
SCSS
$custom: #3b81ac;
$custom-light: #7da5c5;
$custom-dark: #000000;
JSON
{
  "hex": "#3b81ac",
  "rgb": {
    "r": 59,
    "g": 129,
    "b": 172
  },
  "hsl": {
    "h": 202.832,
    "s": 48.918,
    "l": 45.294
  },
  "oklch": {
    "l": 0.57715,
    "c": 0.09646,
    "h": 238.6
  },
  "luminance": 0.19609
}

Semantic roles & 50–950 ramp

primary
#3B81AC
secondary
#C19A81
accent
#844FD8
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0B0F12
muted
#7C7F81

Preview Lab

Preview with #3B81AC

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

Preview Lab → · Contrast checker → · Palette generator →

#3B81AC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva