#3F79CB#3F79CB

#3F79CB is a mid, vivid blue. Relative luminance 0.190; OKLCH L 57.7% C 0.141 H 257.4°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#3F79CB
RGBrgb(63, 121, 203)
HSLhsl(215, 57%, 52%)
HSVhsv(215, 69%, 80%)
CMYKcmyk(69%, 40.4%, 0%, 20.4%)
CIE-LABlab(50.74, 8.06, -48.11)
CIE-LCHlch(50.74, 48.78, 279.51°)
OKLaboklab(57.75% -0.0306 -0.1372)
OKLCHoklch(57.75% 0.141 257.4)
XYZxyz(19.6629, 19.0413, 59.1274)
Luminance0.1904 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F79CB #CB913F
analogous
#3FBFCB #3F79CB #4B3FCB
triadic
#3F79CB #CB3F79 #79CB3F
tetradic
#3F79CB #CB3FBF #CB913F #3FCB4B
square
#3F79CB #CB3FBF #CB913F #3FCB4B
split-complementary
#3F79CB #CB4B3F #BFCB3F
monochromatic
#1F4171 #2C5CA1 #3F79CB #6F9BD8 #9FBCE5

Accessibility & contrast

On white

4.37
#3F79CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#3F79CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3F79CB
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F79CB#FFFFFF#000000##000000
##3F79CB1.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5380CE
Deuteranopia (green-blind)
#3D73C9
Tritanopia (blue-blind)
#008C98
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #3f79cb;
/* rgb */ color: rgb(63, 121, 203);
/* oklch */ color: oklch(57.7% 0.141 257.4);
Tailwind
colors: {
  custom: {
    50: '#849fdb',
    500: '#3f79cb',
    950: '#000000',
  },
}
SCSS
$custom: #3f79cb;
$custom-light: #849fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#3f79cb",
  "rgb": {
    "r": 63,
    "g": 121,
    "b": 203
  },
  "hsl": {
    "h": 215.143,
    "s": 57.377,
    "l": 52.157
  },
  "oklch": {
    "l": 0.57747,
    "c": 0.14056,
    "h": 257.4
  },
  "luminance": 0.19043
}

Semantic roles & 50–950 ramp

primary
#3F79CB
secondary
#D1B894
accent
#A147E1
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #3F79CB

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

Preview Lab → · Contrast checker → · Palette generator →

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