#3F81CC#3F81CC

#3F81CC is a mid, vivid cyan. Relative luminance 0.211; OKLCH L 59.6% C 0.133 H 253.4°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#3F81CC
RGBrgb(63, 129, 204)
HSLhsl(212, 58%, 52%)
HSVhsv(212, 69%, 80%)
CMYKcmyk(69.1%, 36.8%, 0%, 20%)
CIE-LABlab(53.07, 3.55, -44.96)
CIE-LCHlch(53.07, 45.10, 274.51°)
OKLaboklab(59.59% -0.0381 -0.1278)
OKLCHoklch(59.59% 0.133 253.4)
XYZxyz(20.7952, 21.1147, 60.0946)
Luminance0.2112 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F81CC #CC8A3F
analogous
#3FC8CC #3F81CC #443FCC
triadic
#3F81CC #CC3F81 #81CC3F
tetradic
#3F81CC #CC3FC8 #CC8A3F #3FCC44
square
#3F81CC #CC3FC8 #CC8A3F #3FCC44
split-complementary
#3F81CC #CC443F #C8CC3F
monochromatic
#1E4672 #2B63A3 #3F81CC #6FA1D9 #A0C0E6

Accessibility & contrast

On white

4.02
#3F81CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#3F81CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3F81CC
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F81CC#FFFFFF#000000##000000
##3F81CC1.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F86CF
Deuteranopia (green-blind)
#4B79CA
Tritanopia (blue-blind)
#00929D
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #3f81cc;
/* rgb */ color: rgb(63, 129, 204);
/* oklch */ color: oklch(59.6% 0.133 253.4);
Tailwind
colors: {
  custom: {
    50: '#84a5dc',
    500: '#3f81cc',
    950: '#000000',
  },
}
SCSS
$custom: #3f81cc;
$custom-light: #84a5dc;
$custom-dark: #000000;
JSON
{
  "hex": "#3f81cc",
  "rgb": {
    "r": 63,
    "g": 129,
    "b": 204
  },
  "hsl": {
    "h": 211.915,
    "s": 58.025,
    "l": 52.353
  },
  "oklch": {
    "l": 0.59587,
    "c": 0.13339,
    "h": 253.4
  },
  "luminance": 0.21117
}

Semantic roles & 50–950 ramp

primary
#3F81CC
secondary
#D2B595
accent
#9947E1
background
#F8FAFD
surface
#F0F4FB
border
#CBCED4
text
#0C0F15
muted
#7D7F83

Preview Lab

Preview with #3F81CC

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

Preview Lab → · Contrast checker → · Palette generator →

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