#3F5FD0#3F5FD0

#3F5FD0 is a mid, vivid blue. Relative luminance 0.138; OKLCH L 52.6% C 0.178 H 267.8°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#3F5FD0
RGBrgb(63, 95, 208)
HSLhsl(227, 61%, 53%)
HSVhsv(227, 70%, 82%)
CMYKcmyk(69.7%, 54.3%, 0%, 18.4%)
CIE-LABlab(43.94, 26.23, -61.90)
CIE-LCHlch(43.94, 67.23, 292.97°)
OKLaboklab(52.64% -0.0067 -0.1781)
OKLCHoklch(52.64% 0.178 267.8)
XYZxyz(17.5233, 13.7935, 61.4012)
Luminance0.1379 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F5FD0 #D0B03F
analogous
#3FA7D0 #3F5FD0 #683FD0
triadic
#3F5FD0 #D03F5F #5FD03F
tetradic
#3F5FD0 #D03FA7 #D0B03F #3FD068
square
#3F5FD0 #D03FA7 #D0B03F #3FD068
split-complementary
#3F5FD0 #D0683F #A7D03F
monochromatic
#1D3177 #2945A9 #3F5FD0 #7088DC #A1B1E8

Accessibility & contrast

On white

5.59
#3F5FD0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#3F5FD0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F5FD0
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F5FD0#FFFFFF#000000##FFFFFF
##3F5FD01.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FD4
Deuteranopia (green-blind)
#0061CE
Tritanopia (blue-blind)
#007A8E
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #3f5fd0;
/* rgb */ color: rgb(63, 95, 208);
/* oklch */ color: oklch(52.6% 0.178 267.8);
Tailwind
colors: {
  custom: {
    50: '#858cdf',
    500: '#3f5fd0',
    950: '#000000',
  },
}
SCSS
$custom: #3f5fd0;
$custom-light: #858cdf;
$custom-dark: #000000;
JSON
{
  "hex": "#3f5fd0",
  "rgb": {
    "r": 63,
    "g": 95,
    "b": 208
  },
  "hsl": {
    "h": 226.759,
    "s": 60.669,
    "l": 53.137
  },
  "oklch": {
    "l": 0.52643,
    "c": 0.17828,
    "h": 267.8
  },
  "luminance": 0.13795
}

Semantic roles & 50–950 ramp

primary
#3F5FD0
secondary
#D5C796
accent
#C144E4
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0C15
muted
#7D7D83

Preview Lab

Preview with #3F5FD0

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

Preview Lab → · Contrast checker → · Palette generator →

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