#3F5BAF#3F5BAF

#3F5BAF is a mid, vivid blue. Relative luminance 0.116; OKLCH L 49.4% C 0.138 H 267.4°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#3F5BAF
RGBrgb(63, 91, 175)
HSLhsl(225, 47%, 47%)
HSVhsv(225, 64%, 69%)
CMYKcmyk(64%, 48%, 0%, 31.4%)
CIE-LABlab(40.63, 16.96, -48.05)
CIE-LCHlch(40.63, 50.96, 289.45°)
OKLaboklab(49.42% -0.0063 -0.1375)
OKLCHoklch(49.42% 0.138 267.4)
XYZxyz(13.5262, 11.6329, 42.0817)
Luminance0.1163 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F5BAF #AF933F
analogous
#3F93AF #3F5BAF #5B3FAF
triadic
#3F5BAF #AF3F5B #5BAF3F
tetradic
#3F5BAF #AF3F93 #AF933F #3FAF5B
square
#3F5BAF #AF3F93 #AF933F #3FAF5B
split-complementary
#3F5BAF #AF5B3F #93AF3F
monochromatic
#1F2C55 #2F4482 #3F5BAF #647DC7 #91A3D7

Accessibility & contrast

On white

6.31
#3F5BAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#3F5BAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F5BAF
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F5BAF#FFFFFF#000000##FFFFFF
##3F5BAF1.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3065B2
Deuteranopia (green-blind)
#1A5BAD
Tritanopia (blue-blind)
#006E7C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #3f5baf;
/* rgb */ color: rgb(63, 91, 175);
/* oklch */ color: oklch(49.4% 0.138 267.4);
Tailwind
colors: {
  custom: {
    50: '#7f89c7',
    500: '#3f5baf',
    950: '#000000',
  },
}
SCSS
$custom: #3f5baf;
$custom-light: #7f89c7;
$custom-dark: #000000;
JSON
{
  "hex": "#3f5baf",
  "rgb": {
    "r": 63,
    "g": 91,
    "b": 175
  },
  "hsl": {
    "h": 225,
    "s": 47.059,
    "l": 46.667
  },
  "oklch": {
    "l": 0.49424,
    "c": 0.13762,
    "h": 267.4
  },
  "luminance": 0.11634
}

Semantic roles & 50–950 ramp

primary
#3F5BAF
secondary
#C3B487
accent
#B551D7
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0B0B13
muted
#7C7C82

Preview Lab

Preview with #3F5BAF

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

Preview Lab → · Contrast checker → · Palette generator →

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