#3F5ACB#3F5ACB

#3F5ACB is a mid, vivid blue. Relative luminance 0.127; OKLCH L 51.3% C 0.178 H 269.1°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#3F5ACB
RGBrgb(63, 90, 203)
HSLhsl(228, 57%, 52%)
HSVhsv(228, 69%, 80%)
CMYKcmyk(69%, 55.7%, 0%, 20.4%)
CIE-LABlab(42.28, 27.63, -61.71)
CIE-LCHlch(42.28, 67.62, 294.12°)
OKLaboklab(51.28% -0.0029 -0.1777)
OKLCHoklch(51.28% 0.178 269.1)
XYZxyz(16.4819, 12.6793, 58.0671)
Luminance0.1268 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F5ACB #CBB03F
analogous
#3FA0CB #3F5ACB #6A3FCB
triadic
#3F5ACB #CB3F5A #5ACB3F
tetradic
#3F5ACB #CB3FA0 #CBB03F #3FCB6A
square
#3F5ACB #CB3FA0 #CBB03F #3FCB6A
split-complementary
#3F5ACB #CB6A3F #A0CB3F
monochromatic
#1F2E71 #2C42A1 #3F5ACB #6F83D8 #9FADE5

Accessibility & contrast

On white

5.94
#3F5ACB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#3F5ACB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F5ACB
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F5ACB#FFFFFF#000000##FFFFFF
##3F5ACB1.005.943.545.94
#FFFFFF5.941.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ACF
Deuteranopia (green-blind)
#005EC9
Tritanopia (blue-blind)
#00758A
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #3f5acb;
/* rgb */ color: rgb(63, 90, 203);
/* oklch */ color: oklch(51.3% 0.178 269.1);
Tailwind
colors: {
  custom: {
    50: '#8588dc',
    500: '#3f5acb',
    950: '#000000',
  },
}
SCSS
$custom: #3f5acb;
$custom-light: #8588dc;
$custom-dark: #000000;
JSON
{
  "hex": "#3f5acb",
  "rgb": {
    "r": 63,
    "g": 90,
    "b": 203
  },
  "hsl": {
    "h": 228.429,
    "s": 57.377,
    "l": 52.157
  },
  "oklch": {
    "l": 0.51282,
    "c": 0.17769,
    "h": 269.1
  },
  "luminance": 0.12681
}

Semantic roles & 50–950 ramp

primary
#3F5ACB
secondary
#D1C694
accent
#C347E1
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #3F5ACB

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

Preview Lab → · Contrast checker → · Palette generator →

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