#3F4AC8#3F4AC8

#3F4AC8 is a mid, vivid blue. Relative luminance 0.101; OKLCH L 48.1% C 0.193 H 272.9°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#3F4AC8
RGBrgb(63, 74, 200)
HSLhsl(235, 55%, 52%)
HSVhsv(235, 69%, 78%)
CMYKcmyk(68.5%, 63%, 0%, 21.6%)
CIE-LABlab(38.06, 36.70, -66.84)
CIE-LCHlch(38.06, 76.25, 298.77°)
OKLaboklab(48.08% 0.0096 -0.1929)
OKLCHoklch(48.08% 0.193 272.9)
XYZxyz(14.9205, 10.1230, 55.8000)
Luminance0.1012 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F4AC8 #C8BD3F
analogous
#3F8FC8 #3F4AC8 #783FC8
triadic
#3F4AC8 #C83F4A #4AC83F
tetradic
#3F4AC8 #C83F8F #C8BD3F #3FC878
square
#3F4AC8 #C83F8F #C8BD3F #3FC878
split-complementary
#3F4AC8 #C8783F #8FC83F
monochromatic
#1F266D #2D369D #3F4AC8 #6F77D6 #9EA4E3

Accessibility & contrast

On white

6.94
#3F4AC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#3F4AC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F4AC8
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F4AC8#FFFFFF#000000##FFFFFF
##3F4AC81.006.943.026.94
#FFFFFF6.941.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CC
Deuteranopia (green-blind)
#0053C6
Tritanopia (blue-blind)
#006A82
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #3f4ac8;
/* rgb */ color: rgb(63, 74, 200);
/* oklch */ color: oklch(48.1% 0.193 272.9);
Tailwind
colors: {
  custom: {
    50: '#857cda',
    500: '#3f4ac8',
    950: '#000000',
  },
}
SCSS
$custom: #3f4ac8;
$custom-light: #857cda;
$custom-dark: #000000;
JSON
{
  "hex": "#3f4ac8",
  "rgb": {
    "r": 63,
    "g": 74,
    "b": 200
  },
  "hsl": {
    "h": 235.182,
    "s": 55.466,
    "l": 51.569
  },
  "oklch": {
    "l": 0.48081,
    "c": 0.19314,
    "h": 272.9
  },
  "luminance": 0.10124
}

Semantic roles & 50–950 ramp

primary
#3F4AC8
secondary
#D0CB93
accent
#D349DF
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0C0915
muted
#7D7B83

Preview Lab

Preview with #3F4AC8

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

Preview Lab → · Contrast checker → · Palette generator →

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