#3F5ACA#3F5ACA

#3F5ACA is a mid, vivid blue. Relative luminance 0.126; OKLCH L 51.2% C 0.176 H 269.0°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#3F5ACA
RGBrgb(63, 90, 202)
HSLhsl(228, 57%, 52%)
HSVhsv(228, 69%, 79%)
CMYKcmyk(68.8%, 55.4%, 0%, 20.8%)
CIE-LABlab(42.20, 27.27, -61.25)
CIE-LCHlch(42.20, 67.05, 294.00°)
OKLaboklab(51.2% -0.0029 -0.1763)
OKLCHoklch(51.2% 0.176 269)
XYZxyz(16.3631, 12.6318, 57.4415)
Luminance0.1263 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F5ACA #CAAF3F
analogous
#3FA0CA #3F5ACA #693FCA
triadic
#3F5ACA #CA3F5A #5ACA3F
tetradic
#3F5ACA #CA3FA0 #CAAF3F #3FCA69
square
#3F5ACA #CA3FA0 #CAAF3F #3FCA69
split-complementary
#3F5ACA #CA693F #A0CA3F
monochromatic
#1F2F70 #2C43A0 #3F5ACA #6F83D7 #9FACE4

Accessibility & contrast

On white

5.95
#3F5ACA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#3F5ACA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F5ACA
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F5ACA#FFFFFF#000000##FFFFFF
##3F5ACA1.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ACE
Deuteranopia (green-blind)
#005DC8
Tritanopia (blue-blind)
#007589
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #3f5aca;
/* rgb */ color: rgb(63, 90, 202);
/* oklch */ color: oklch(51.2% 0.176 269.0);
Tailwind
colors: {
  custom: {
    50: '#8488db',
    500: '#3f5aca',
    950: '#000000',
  },
}
SCSS
$custom: #3f5aca;
$custom-light: #8488db;
$custom-dark: #000000;
JSON
{
  "hex": "#3f5aca",
  "rgb": {
    "r": 63,
    "g": 90,
    "b": 202
  },
  "hsl": {
    "h": 228.345,
    "s": 56.735,
    "l": 51.961
  },
  "oklch": {
    "l": 0.51204,
    "c": 0.17634,
    "h": 269
  },
  "luminance": 0.12633
}

Semantic roles & 50–950 ramp

primary
#3F5ACA
secondary
#D1C594
accent
#C248E0
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #3F5ACA

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

Preview Lab → · Contrast checker → · Palette generator →

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