#3B81BA#3B81BA

#3B81BA is a mid, moderate cyan. Relative luminance 0.202; OKLCH L 58.4% C 0.112 H 246.0°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#3B81BA
RGBrgb(59, 129, 186)
HSLhsl(207, 52%, 48%)
HSVhsv(207, 68%, 73%)
CMYKcmyk(68.3%, 30.6%, 0%, 27.1%)
CIE-LABlab(52.03, -3.41, -36.34)
CIE-LCHlch(52.03, 36.50, 264.64°)
OKLaboklab(58.44% -0.0457 -0.1027)
OKLCHoklch(58.44% 0.112 246)
XYZxyz(18.5135, 20.1735, 49.3630)
Luminance0.2018 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B81BA #BA743B
analogous
#3BBAB3 #3B81BA #3B41BA
triadic
#3B81BA #BA3B81 #81BA3B
tetradic
#3B81BA #B33BBA #BA743B #41BA3B
square
#3B81BA #B33BBA #BA743B #41BA3B
split-complementary
#3B81BA #BA3B41 #BAB33B
monochromatic
#1E415D #2C618C #3B81BA #649FCE #93BBDD

Accessibility & contrast

On white

4.17
#3B81BA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#3B81BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3B81BA
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B81BA#FFFFFF#000000##000000
##3B81BA1.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6883BC
Deuteranopia (green-blind)
#5677B9
Tritanopia (blue-blind)
#008F95
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #3b81ba;
/* rgb */ color: rgb(59, 129, 186);
/* oklch */ color: oklch(58.4% 0.112 246.0);
Tailwind
colors: {
  custom: {
    50: '#7fa5cf',
    500: '#3b81ba',
    950: '#000000',
  },
}
SCSS
$custom: #3b81ba;
$custom-light: #7fa5cf;
$custom-dark: #000000;
JSON
{
  "hex": "#3b81ba",
  "rgb": {
    "r": 59,
    "g": 129,
    "b": 186
  },
  "hsl": {
    "h": 206.929,
    "s": 51.837,
    "l": 48.039
  },
  "oklch": {
    "l": 0.58435,
    "c": 0.11247,
    "h": 246
  },
  "luminance": 0.20175
}

Semantic roles & 50–950 ramp

primary
#3B81BA
secondary
#C8A589
accent
#8D4DDB
background
#F8FAFC
surface
#EFF4F9
border
#CACED2
text
#0B0F14
muted
#7C7F82

Preview Lab

Preview with #3B81BA

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

Preview Lab → · Contrast checker → · Palette generator →

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