#3F5FCA#3F5FCA

#3F5FCA is a mid, vivid blue. Relative luminance 0.135; OKLCH L 52.2% C 0.170 H 267.6°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#3F5FCA
RGBrgb(63, 95, 202)
HSLhsl(226, 57%, 52%)
HSVhsv(226, 69%, 79%)
CMYKcmyk(68.8%, 53%, 0%, 20.8%)
CIE-LABlab(43.51, 24.08, -59.13)
CIE-LCHlch(43.51, 63.85, 292.16°)
OKLaboklab(52.19% -0.0071 -0.17)
OKLCHoklch(52.19% 0.17 267.6)
XYZxyz(16.7991, 13.5038, 57.5868)
Luminance0.1351 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F5FCA #CAAA3F
analogous
#3FA5CA #3F5FCA #653FCA
triadic
#3F5FCA #CA3F5F #5FCA3F
tetradic
#3F5FCA #CA3FA5 #CAAA3F #3FCA65
square
#3F5FCA #CA3FA5 #CAAA3F #3FCA65
split-complementary
#3F5FCA #CA653F #A5CA3F
monochromatic
#1F3170 #2C47A0 #3F5FCA #6F87D7 #9FAFE4

Accessibility & contrast

On white

5.67
#3F5FCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#3F5FCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F5FCA
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F5FCA#FFFFFF#000000##FFFFFF
##3F5FCA1.005.673.705.67
#FFFFFF5.671.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#146DCE
Deuteranopia (green-blind)
#0061C8
Tritanopia (blue-blind)
#00798B
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #3f5fca;
/* rgb */ color: rgb(63, 95, 202);
/* oklch */ color: oklch(52.2% 0.170 267.6);
Tailwind
colors: {
  custom: {
    50: '#848cdb',
    500: '#3f5fca',
    950: '#000000',
  },
}
SCSS
$custom: #3f5fca;
$custom-light: #848cdb;
$custom-dark: #000000;
JSON
{
  "hex": "#3f5fca",
  "rgb": {
    "r": 63,
    "g": 95,
    "b": 202
  },
  "hsl": {
    "h": 226.187,
    "s": 56.735,
    "l": 51.961
  },
  "oklch": {
    "l": 0.52191,
    "c": 0.17016,
    "h": 267.6
  },
  "luminance": 0.13505
}

Semantic roles & 50–950 ramp

primary
#3F5FCA
secondary
#D1C394
accent
#BD48E0
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0C15
muted
#7D7D83

Preview Lab

Preview with #3F5FCA

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

Preview Lab → · Contrast checker → · Palette generator →

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