#3F5DCB#3F5DCB

#3F5DCB is a mid, vivid blue. Relative luminance 0.132; OKLCH L 51.9% C 0.174 H 268.2°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#3F5DCB
RGBrgb(63, 93, 203)
HSLhsl(227, 57%, 52%)
HSVhsv(227, 69%, 80%)
CMYKcmyk(69%, 54.2%, 0%, 20.4%)
CIE-LABlab(43.06, 25.72, -60.45)
CIE-LCHlch(43.06, 65.69, 293.05°)
OKLaboklab(51.87% -0.0054 -0.1739)
OKLCHoklch(51.87% 0.174 268.2)
XYZxyz(16.7400, 13.1956, 58.1531)
Luminance0.1320 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F5DCB #CBAD3F
analogous
#3FA3CB #3F5DCB #673FCB
triadic
#3F5DCB #CB3F5D #5DCB3F
tetradic
#3F5DCB #CB3FA3 #CBAD3F #3FCB67
square
#3F5DCB #CB3FA3 #CBAD3F #3FCB67
split-complementary
#3F5DCB #CB673F #A3CB3F
monochromatic
#1F3071 #2C45A1 #3F5DCB #6F86D8 #9FAEE5

Accessibility & contrast

On white

5.77
#3F5DCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#3F5DCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F5DCB
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F5DCB#FFFFFF#000000##FFFFFF
##3F5DCB1.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#016CCF
Deuteranopia (green-blind)
#0060C9
Tritanopia (blue-blind)
#00778B
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #3f5dcb;
/* rgb */ color: rgb(63, 93, 203);
/* oklch */ color: oklch(51.9% 0.174 268.2);
Tailwind
colors: {
  custom: {
    50: '#858adc',
    500: '#3f5dcb',
    950: '#000000',
  },
}
SCSS
$custom: #3f5dcb;
$custom-light: #858adc;
$custom-dark: #000000;
JSON
{
  "hex": "#3f5dcb",
  "rgb": {
    "r": 63,
    "g": 93,
    "b": 203
  },
  "hsl": {
    "h": 227.143,
    "s": 57.377,
    "l": 52.157
  },
  "oklch": {
    "l": 0.51869,
    "c": 0.17399,
    "h": 268.2
  },
  "luminance": 0.13197
}

Semantic roles & 50–950 ramp

primary
#3F5DCB
secondary
#D1C494
accent
#C047E1
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #3F5DCB

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

Preview Lab → · Contrast checker → · Palette generator →

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