#3F5EBD#3F5EBD

#3F5EBD is a mid, vivid blue. Relative luminance 0.127; OKLCH L 51.0% C 0.154 H 267.2°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#3F5EBD
RGBrgb(63, 94, 189)
HSLhsl(225, 50%, 49%)
HSVhsv(225, 67%, 74%)
CMYKcmyk(66.7%, 50.3%, 0%, 25.9%)
CIE-LABlab(42.36, 20.05, -53.46)
CIE-LCHlch(42.36, 57.10, 290.56°)
OKLaboklab(51.04% -0.0075 -0.1533)
OKLCHoklch(51.04% 0.154 267.2)
XYZxyz(15.2347, 12.7348, 49.7894)
Luminance0.1274 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F5EBD #BD9E3F
analogous
#3F9DBD #3F5EBD #5F3FBD
triadic
#3F5EBD #BD3F5E #5EBD3F
tetradic
#3F5EBD #BD3F9D #BD9E3F #3FBD5F
square
#3F5EBD #BD3F9D #BD9E3F #3FBD5F
split-complementary
#3F5EBD #BD5F3F #9DBD3F
monochromatic
#203061 #30478F #3F5EBD #6B84CE #99AADD

Accessibility & contrast

On white

5.92
#3F5EBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#3F5EBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F5EBD
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F5EBD#FFFFFF#000000##FFFFFF
##3F5EBD1.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#286AC0
Deuteranopia (green-blind)
#005FBB
Tritanopia (blue-blind)
#007484
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #3f5ebd;
/* rgb */ color: rgb(63, 94, 189);
/* oklch */ color: oklch(51.0% 0.154 267.2);
Tailwind
colors: {
  custom: {
    50: '#828bd1',
    500: '#3f5ebd',
    950: '#000000',
  },
}
SCSS
$custom: #3f5ebd;
$custom-light: #828bd1;
$custom-dark: #000000;
JSON
{
  "hex": "#3f5ebd",
  "rgb": {
    "r": 63,
    "g": 94,
    "b": 189
  },
  "hsl": {
    "h": 225.238,
    "s": 50,
    "l": 49.412
  },
  "oklch": {
    "l": 0.51037,
    "c": 0.15352,
    "h": 267.2
  },
  "luminance": 0.12736
}

Semantic roles & 50–950 ramp

primary
#3F5EBD
secondary
#C9BB8F
accent
#B74EDA
background
#F8F8FC
surface
#F0F0F9
border
#CBCBD2
text
#0C0B14
muted
#7D7C82

Preview Lab

Preview with #3F5EBD

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

Preview Lab → · Contrast checker → · Palette generator →

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