#3F5FC9#3F5FC9

#3F5FC9 is a mid, vivid blue. Relative luminance 0.135; OKLCH L 52.1% C 0.169 H 267.5°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#3F5FC9
RGBrgb(63, 95, 201)
HSLhsl(226, 56%, 52%)
HSVhsv(226, 69%, 79%)
CMYKcmyk(68.7%, 52.7%, 0%, 21.2%)
CIE-LABlab(43.44, 23.72, -58.67)
CIE-LCHlch(43.44, 63.28, 292.01°)
OKLaboklab(52.12% -0.0072 -0.1686)
OKLCHoklch(52.12% 0.169 267.5)
XYZxyz(16.6811, 13.4566, 56.9653)
Luminance0.1346 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F5FC9 #C9A93F
analogous
#3FA4C9 #3F5FC9 #643FC9
triadic
#3F5FC9 #C93F5F #5FC93F
tetradic
#3F5FC9 #C93FA4 #C9A93F #3FC964
square
#3F5FC9 #C93FA4 #C9A93F #3FC964
split-complementary
#3F5FC9 #C9643F #A4C93F
monochromatic
#1F326F #2D479E #3F5FC9 #6F87D6 #9FAFE4

Accessibility & contrast

On white

5.69
#3F5FC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#3F5FC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F5FC9
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F5FC9#FFFFFF#000000##FFFFFF
##3F5FC91.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#176DCD
Deuteranopia (green-blind)
#0061C7
Tritanopia (blue-blind)
#00788B
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #3f5fc9;
/* rgb */ color: rgb(63, 95, 201);
/* oklch */ color: oklch(52.1% 0.169 267.5);
Tailwind
colors: {
  custom: {
    50: '#848bda',
    500: '#3f5fc9',
    950: '#000000',
  },
}
SCSS
$custom: #3f5fc9;
$custom-light: #848bda;
$custom-dark: #000000;
JSON
{
  "hex": "#3f5fc9",
  "rgb": {
    "r": 63,
    "g": 95,
    "b": 201
  },
  "hsl": {
    "h": 226.087,
    "s": 56.098,
    "l": 51.765
  },
  "oklch": {
    "l": 0.52116,
    "c": 0.1688,
    "h": 267.5
  },
  "luminance": 0.13458
}

Semantic roles & 50–950 ramp

primary
#3F5FC9
secondary
#D0C294
accent
#BC48DF
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0C15
muted
#7D7D83

Preview Lab

Preview with #3F5FC9

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

Preview Lab → · Contrast checker → · Palette generator →

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