#3F81CB#3F81CB

#3F81CB is a mid, vivid cyan. Relative luminance 0.211; OKLCH L 59.5% C 0.132 H 253.1°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#3F81CB
RGBrgb(63, 129, 203)
HSLhsl(212, 57%, 52%)
HSVhsv(212, 69%, 80%)
CMYKcmyk(69%, 36.5%, 0%, 20.4%)
CIE-LABlab(53.02, 3.20, -44.48)
CIE-LCHlch(53.02, 44.59, 274.11°)
OKLaboklab(59.53% -0.0383 -0.1264)
OKLCHoklch(59.53% 0.132 253.1)
XYZxyz(20.6757, 21.0669, 59.4650)
Luminance0.2107 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F81CB #CB893F
analogous
#3FC7CB #3F81CB #433FCB
triadic
#3F81CB #CB3F81 #81CB3F
tetradic
#3F81CB #CB3FC7 #CB893F #3FCB43
square
#3F81CB #CB3FC7 #CB893F #3FCB43
split-complementary
#3F81CB #CB433F #C7CB3F
monochromatic
#1F4571 #2C63A1 #3F81CB #6FA1D8 #9FC0E5

Accessibility & contrast

On white

4.03
#3F81CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#3F81CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3F81CB
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F81CB#FFFFFF#000000##000000
##3F81CB1.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6086CE
Deuteranopia (green-blind)
#4B79CA
Tritanopia (blue-blind)
#00929C
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #3f81cb;
/* rgb */ color: rgb(63, 129, 203);
/* oklch */ color: oklch(59.5% 0.132 253.1);
Tailwind
colors: {
  custom: {
    50: '#83a5db',
    500: '#3f81cb',
    950: '#000000',
  },
}
SCSS
$custom: #3f81cb;
$custom-light: #83a5db;
$custom-dark: #000000;
JSON
{
  "hex": "#3f81cb",
  "rgb": {
    "r": 63,
    "g": 129,
    "b": 203
  },
  "hsl": {
    "h": 211.714,
    "s": 57.377,
    "l": 52.157
  },
  "oklch": {
    "l": 0.59529,
    "c": 0.13211,
    "h": 253.1
  },
  "luminance": 0.21069
}

Semantic roles & 50–950 ramp

primary
#3F81CB
secondary
#D1B594
accent
#9847E1
background
#F8FAFD
surface
#F0F4FB
border
#CBCED4
text
#0C0F15
muted
#7D7F83

Preview Lab

Preview with #3F81CB

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

Preview Lab → · Contrast checker → · Palette generator →

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