#3B81BB#3B81BB

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

Color values

HEX#3B81BB
RGBrgb(59, 129, 187)
HSLhsl(207, 52%, 48%)
HSVhsv(207, 68%, 73%)
CMYKcmyk(68.4%, 31%, 0%, 26.7%)
CIE-LABlab(52.08, -3.06, -36.84)
CIE-LCHlch(52.08, 36.97, 265.25°)
OKLaboklab(58.49% -0.0454 -0.1042)
OKLCHoklch(58.49% 0.114 246.4)
XYZxyz(18.6201, 20.2162, 49.9249)
Luminance0.2022 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B81BB #BB753B
analogous
#3BBBB5 #3B81BB #3B41BB
triadic
#3B81BB #BB3B81 #81BB3B
tetradic
#3B81BB #B53BBB #BB753B #41BB3B
square
#3B81BB #B53BBB #BB753B #41BB3B
split-complementary
#3B81BB #BB3B41 #BBB53B
monochromatic
#1E415E #2C618C #3B81BB #659FCE #93BCDD

Accessibility & contrast

On white

4.16
#3B81BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##3B81BB#FFFFFF#000000##000000
##3B81BB1.004.165.045.04
#FFFFFF4.161.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6783BE
Deuteranopia (green-blind)
#5577BA
Tritanopia (blue-blind)
#008F96
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #3b81bb;
/* rgb */ color: rgb(59, 129, 187);
/* oklch */ color: oklch(58.5% 0.114 246.4);
Tailwind
colors: {
  custom: {
    50: '#7fa5cf',
    500: '#3b81bb',
    950: '#000000',
  },
}
SCSS
$custom: #3b81bb;
$custom-light: #7fa5cf;
$custom-dark: #000000;
JSON
{
  "hex": "#3b81bb",
  "rgb": {
    "r": 59,
    "g": 129,
    "b": 187
  },
  "hsl": {
    "h": 207.188,
    "s": 52.033,
    "l": 48.235
  },
  "oklch": {
    "l": 0.58489,
    "c": 0.11368,
    "h": 246.4
  },
  "luminance": 0.20218
}

Semantic roles & 50–950 ramp

primary
#3B81BB
secondary
#C8A68A
accent
#8D4CDB
background
#F8FAFC
surface
#EFF4F9
border
#CACED2
text
#0B0F14
muted
#7C7F82

Preview Lab

Preview with #3B81BB

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

Preview Lab → · Contrast checker → · Palette generator →

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