#3F7CDC#3F7CDC

#3F7CDC is a mid, vivid blue. Relative luminance 0.206; OKLCH L 59.5% C 0.160 H 259.2°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#3F7CDC
RGBrgb(63, 124, 220)
HSLhsl(217, 69%, 55%)
HSVhsv(217, 71%, 86%)
CMYKcmyk(71.4%, 43.6%, 0%, 13.7%)
CIE-LABlab(52.55, 12.32, -54.84)
CIE-LCHlch(52.55, 56.21, 282.66°)
OKLaboklab(59.47% -0.0299 -0.1569)
OKLCHoklch(59.47% 0.16 259.2)
XYZxyz(22.1711, 20.6370, 70.5111)
Luminance0.2064 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F7CDC #DC9F3F
analogous
#3FCADC #3F7CDC #503FDC
triadic
#3F7CDC #DC3F7C #7CDC3F
tetradic
#3F7CDC #DC3FCA #DC9F3F #3FDC50
square
#3F7CDC #DC3FCA #DC9F3F #3FDC50
split-complementary
#3F7CDC #DC503F #CADC3F
monochromatic
#194488 #225EBC #3F7CDC #739FE5 #A7C3EF

Accessibility & contrast

On white

4.10
#3F7CDC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#3F7CDC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3F7CDC
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F7CDC#FFFFFF#000000##000000
##3F7CDC1.004.105.135.13
#FFFFFF4.101.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C85E0
Deuteranopia (green-blind)
#2F77DA
Tritanopia (blue-blind)
#0092A1
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #3f7cdc;
/* rgb */ color: rgb(63, 124, 220);
/* oklch */ color: oklch(59.5% 0.160 259.2);
Tailwind
colors: {
  custom: {
    50: '#87a1e7',
    500: '#3f7cdc',
    950: '#000000',
  },
}
SCSS
$custom: #3f7cdc;
$custom-light: #87a1e7;
$custom-dark: #000000;
JSON
{
  "hex": "#3f7cdc",
  "rgb": {
    "r": 63,
    "g": 124,
    "b": 220
  },
  "hsl": {
    "h": 216.688,
    "s": 69.163,
    "l": 55.49
  },
  "oklch": {
    "l": 0.59467,
    "c": 0.15976,
    "h": 259.2
  },
  "luminance": 0.20639
}

Semantic roles & 50–950 ramp

primary
#3F7CDC
secondary
#DCC39B
accent
#A83CEC
background
#F9F9FE
surface
#F1F2FC
border
#CBCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #3F7CDC

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

Preview Lab → · Contrast checker → · Palette generator →

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