#3F5ECB#3F5ECB

#3F5ECB is a mid, vivid blue. Relative luminance 0.134; OKLCH L 52.1% C 0.173 H 267.9°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#3F5ECB
RGBrgb(63, 94, 203)
HSLhsl(227, 57%, 52%)
HSVhsv(227, 69%, 80%)
CMYKcmyk(69%, 53.7%, 0%, 20.4%)
CIE-LABlab(43.32, 25.08, -60.02)
CIE-LCHlch(43.32, 65.05, 292.67°)
OKLaboklab(52.07% -0.0062 -0.1726)
OKLCHoklch(52.07% 0.173 267.9)
XYZxyz(16.8284, 13.3723, 58.1826)
Luminance0.1337 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F5ECB #CBAC3F
analogous
#3FA4CB #3F5ECB #663FCB
triadic
#3F5ECB #CB3F5E #5ECB3F
tetradic
#3F5ECB #CB3FA4 #CBAC3F #3FCB66
square
#3F5ECB #CB3FA4 #CBAC3F #3FCB66
split-complementary
#3F5ECB #CB663F #A4CB3F
monochromatic
#1F3171 #2C46A1 #3F5ECB #6F86D8 #9FAFE5

Accessibility & contrast

On white

5.71
#3F5ECB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#3F5ECB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F5ECB
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F5ECB#FFFFFF#000000##FFFFFF
##3F5ECB1.005.713.675.71
#FFFFFF5.711.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A6DCF
Deuteranopia (green-blind)
#0060C9
Tritanopia (blue-blind)
#00788B
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #3f5ecb;
/* rgb */ color: rgb(63, 94, 203);
/* oklch */ color: oklch(52.1% 0.173 267.9);
Tailwind
colors: {
  custom: {
    50: '#848bdc',
    500: '#3f5ecb',
    950: '#000000',
  },
}
SCSS
$custom: #3f5ecb;
$custom-light: #848bdc;
$custom-dark: #000000;
JSON
{
  "hex": "#3f5ecb",
  "rgb": {
    "r": 63,
    "g": 94,
    "b": 203
  },
  "hsl": {
    "h": 226.714,
    "s": 57.377,
    "l": 52.157
  },
  "oklch": {
    "l": 0.52067,
    "c": 0.17275,
    "h": 267.9
  },
  "luminance": 0.13374
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3F5ECB

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

Preview Lab → · Contrast checker → · Palette generator →

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