#3F7ACD#3F7ACD

#3F7ACD is a mid, vivid blue. Relative luminance 0.194; OKLCH L 58.1% C 0.142 H 257.3°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#3F7ACD
RGBrgb(63, 122, 205)
HSLhsl(215, 59%, 53%)
HSVhsv(215, 69%, 80%)
CMYKcmyk(69.3%, 40.5%, 0%, 19.6%)
CIE-LABlab(51.13, 8.16, -48.62)
CIE-LCHlch(51.13, 49.30, 279.53°)
OKLaboklab(58.09% -0.0311 -0.1387)
OKLCHoklch(58.09% 0.142 257.3)
XYZxyz(20.0249, 19.3815, 60.4314)
Luminance0.1938 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F7ACD #CD923F
analogous
#3FC1CD #3F7ACD #4B3FCD
triadic
#3F7ACD #CD3F7A #7ACD3F
tetradic
#3F7ACD #CD3FC1 #CD923F #3FCD4B
square
#3F7ACD #CD3FC1 #CD923F #3FCD4B
split-complementary
#3F7ACD #CD4B3F #C1CD3F
monochromatic
#1E4274 #2B5DA4 #3F7ACD #709CDA #A0BDE6

Accessibility & contrast

On white

4.31
#3F7ACD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#3F7ACD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3F7ACD
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F7ACD#FFFFFF#000000##000000
##3F7ACD1.004.314.884.88
#FFFFFF4.311.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5381D0
Deuteranopia (green-blind)
#3D74CB
Tritanopia (blue-blind)
#008D99
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #3f7acd;
/* rgb */ color: rgb(63, 122, 205);
/* oklch */ color: oklch(58.1% 0.142 257.3);
Tailwind
colors: {
  custom: {
    50: '#849fdd',
    500: '#3f7acd',
    950: '#000000',
  },
}
SCSS
$custom: #3f7acd;
$custom-light: #849fdd;
$custom-dark: #000000;
JSON
{
  "hex": "#3f7acd",
  "rgb": {
    "r": 63,
    "g": 122,
    "b": 205
  },
  "hsl": {
    "h": 215.07,
    "s": 58.678,
    "l": 52.549
  },
  "oklch": {
    "l": 0.5809,
    "c": 0.14212,
    "h": 257.3
  },
  "luminance": 0.19384
}

Semantic roles & 50–950 ramp

primary
#3F7ACD
secondary
#D3B995
accent
#A146E2
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #3F7ACD

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

Preview Lab → · Contrast checker → · Palette generator →

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