#3F55AB#3F55AB

#3F55AB is a mid, vivid blue. Relative luminance 0.105; OKLCH L 47.9% C 0.140 H 269.7°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#3F55AB
RGBrgb(63, 85, 171)
HSLhsl(228, 46%, 46%)
HSVhsv(228, 63%, 67%)
CMYKcmyk(63.2%, 50.3%, 0%, 32.9%)
CIE-LABlab(38.71, 19.43, -48.76)
CIE-LCHlch(38.71, 52.49, 291.72°)
OKLaboklab(47.89% -0.0008 -0.1396)
OKLCHoklch(47.89% 0.14 269.7)
XYZxyz(12.6466, 10.4929, 39.8791)
Luminance0.1049 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F55AB #AB953F
analogous
#3F8BAB #3F55AB #5F3FAB
triadic
#3F55AB #AB3F55 #55AB3F
tetradic
#3F55AB #AB3F8B #AB953F #3FAB5F
square
#3F55AB #AB3F8B #AB953F #3FAB5F
split-complementary
#3F55AB #AB5F3F #8BAB3F
monochromatic
#1E2952 #2F3F7E #3F55AB #6276C5 #8F9DD6

Accessibility & contrast

On white

6.78
#3F55AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#3F55AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F55AB
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F55AB#FFFFFF#000000##FFFFFF
##3F55AB1.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2660AE
Deuteranopia (green-blind)
#0C57A9
Tritanopia (blue-blind)
#006978
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #3f55ab;
/* rgb */ color: rgb(63, 85, 171);
/* oklch */ color: oklch(47.9% 0.140 269.7);
Tailwind
colors: {
  custom: {
    50: '#7f84c5',
    500: '#3f55ab',
    950: '#000000',
  },
}
SCSS
$custom: #3f55ab;
$custom-light: #7f84c5;
$custom-dark: #000000;
JSON
{
  "hex": "#3f55ab",
  "rgb": {
    "r": 63,
    "g": 85,
    "b": 171
  },
  "hsl": {
    "h": 227.778,
    "s": 46.154,
    "l": 45.882
  },
  "oklch": {
    "l": 0.47885,
    "c": 0.13964,
    "h": 269.7
  },
  "luminance": 0.10494
}

Semantic roles & 50–950 ramp

primary
#3F55AB
secondary
#C1B585
accent
#BB52D6
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #3F55AB

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

Preview Lab → · Contrast checker → · Palette generator →

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