#3F81BB#3F81BB

#3F81BB is a mid, moderate cyan. Relative luminance 0.203; OKLCH L 58.6% C 0.112 H 247.6°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#3F81BB
RGBrgb(63, 129, 187)
HSLhsl(208, 50%, 49%)
HSVhsv(208, 66%, 73%)
CMYKcmyk(66.3%, 31%, 0%, 26.7%)
CIE-LABlab(52.22, -2.40, -36.61)
CIE-LCHlch(52.22, 36.69, 266.25°)
OKLaboklab(58.64% -0.0427 -0.1035)
OKLCHoklch(58.64% 0.112 247.6)
XYZxyz(18.8664, 20.3432, 49.9364)
Luminance0.2034 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F81BB #BB793F
analogous
#3FBBB7 #3F81BB #3F43BB
triadic
#3F81BB #BB3F81 #81BB3F
tetradic
#3F81BB #B73FBB #BB793F #43BB3F
square
#3F81BB #B73FBB #BB793F #43BB3F
split-complementary
#3F81BB #BB3F43 #BBB73F
monochromatic
#20425F #30618D #3F81BB #6A9FCD #98BCDC

Accessibility & contrast

On white

4.14
#3F81BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#3F81BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3F81BB
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F81BB#FFFFFF#000000##000000
##3F81BB1.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3f81bb;
/* rgb */ color: rgb(63, 129, 187);
/* oklch */ color: oklch(58.6% 0.112 247.6);
Tailwind
colors: {
  custom: {
    50: '#81a5cf',
    500: '#3f81bb',
    950: '#000000',
  },
}
SCSS
$custom: #3f81bb;
$custom-light: #81a5cf;
$custom-dark: #000000;
JSON
{
  "hex": "#3f81bb",
  "rgb": {
    "r": 63,
    "g": 129,
    "b": 187
  },
  "hsl": {
    "h": 208.065,
    "s": 49.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.5864,
    "c": 0.11195,
    "h": 247.6
  },
  "luminance": 0.20345
}

Semantic roles & 50–950 ramp

primary
#3F81BB
secondary
#C8A98E
accent
#8F4FD9
background
#F8FAFC
surface
#F0F4F9
border
#CBCED2
text
#0B0F14
muted
#7C7F82

Preview Lab

Preview with #3F81BB

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

Preview Lab → · Contrast checker → · Palette generator →

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