#3F81D2#3F81D2

#3F81D2 is a mid, vivid cyan. Relative luminance 0.214; OKLCH L 59.9% C 0.141 H 255.0°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#3F81D2
RGBrgb(63, 129, 210)
HSLhsl(213, 62%, 54%)
HSVhsv(213, 70%, 82%)
CMYKcmyk(70%, 38.6%, 0%, 17.6%)
CIE-LABlab(53.39, 5.68, -47.85)
CIE-LCHlch(53.39, 48.19, 276.77°)
OKLaboklab(59.94% -0.0366 -0.1363)
OKLCHoklch(59.94% 0.141 255)
XYZxyz(21.5287, 21.4081, 63.9578)
Luminance0.2141 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F81D2 #D2903F
analogous
#3FCAD2 #3F81D2 #463FD2
triadic
#3F81D2 #D23F81 #81D23F
tetradic
#3F81D2 #D23FCA #D2903F #3FD246
square
#3F81D2 #D23FCA #D2903F #3FD246
split-complementary
#3F81D2 #D2463F #CAD23F
monochromatic
#1D477A #2863AC #3F81D2 #71A2DE #A2C2E9

Accessibility & contrast

On white

3.98
#3F81D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#3F81D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3F81D2
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F81D2#FFFFFF#000000##000000
##3F81D21.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C87D5
Deuteranopia (green-blind)
#4579D0
Tritanopia (blue-blind)
#00949F
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #3f81d2;
/* rgb */ color: rgb(63, 129, 210);
/* oklch */ color: oklch(59.9% 0.141 255.0);
Tailwind
colors: {
  custom: {
    50: '#85a5e0',
    500: '#3f81d2',
    950: '#000000',
  },
}
SCSS
$custom: #3f81d2;
$custom-light: #85a5e0;
$custom-dark: #000000;
JSON
{
  "hex": "#3f81d2",
  "rgb": {
    "r": 63,
    "g": 129,
    "b": 210
  },
  "hsl": {
    "h": 213.061,
    "s": 62.025,
    "l": 53.529
  },
  "oklch": {
    "l": 0.59939,
    "c": 0.14116,
    "h": 255
  },
  "luminance": 0.2141
}

Semantic roles & 50–950 ramp

primary
#3F81D2
secondary
#D6BA97
accent
#9C43E5
background
#F8FAFD
surface
#F0F4FB
border
#CBCED4
text
#0C0F15
muted
#7D7F83

Preview Lab

Preview with #3F81D2

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

Preview Lab → · Contrast checker → · Palette generator →

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