#3F5DBA#3F5DBA

#3F5DBA is a mid, vivid blue. Relative luminance 0.124; OKLCH L 50.6% C 0.151 H 267.4°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#3F5DBA
RGBrgb(63, 93, 186)
HSLhsl(225, 49%, 49%)
HSVhsv(225, 66%, 73%)
CMYKcmyk(66.1%, 50%, 0%, 27.1%)
CIE-LABlab(41.89, 19.61, -52.47)
CIE-LCHlch(41.89, 56.02, 290.50°)
OKLaboklab(50.62% -0.0069 -0.1504)
OKLCHoklch(50.62% 0.151 267.4)
XYZxyz(14.8241, 12.4292, 48.0627)
Luminance0.1243 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F5DBA #BA9C3F
analogous
#3F9BBA #3F5DBA #5F3FBA
triadic
#3F5DBA #BA3F5D #5DBA3F
tetradic
#3F5DBA #BA3F9B #BA9C3F #3FBA5F
square
#3F5DBA #BA3F9B #BA9C3F #3FBA5F
split-complementary
#3F5DBA #BA5F3F #9BBA3F
monochromatic
#202F5F #30468C #3F5DBA #6A82CC #97A8DC

Accessibility & contrast

On white

6.02
#3F5DBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#3F5DBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F5DBA
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F5DBA#FFFFFF#000000##FFFFFF
##3F5DBA1.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2969BD
Deuteranopia (green-blind)
#025EB8
Tritanopia (blue-blind)
#007383
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #3f5dba;
/* rgb */ color: rgb(63, 93, 186);
/* oklch */ color: oklch(50.6% 0.151 267.4);
Tailwind
colors: {
  custom: {
    50: '#818acf',
    500: '#3f5dba',
    950: '#000000',
  },
}
SCSS
$custom: #3f5dba;
$custom-light: #818acf;
$custom-dark: #000000;
JSON
{
  "hex": "#3f5dba",
  "rgb": {
    "r": 63,
    "g": 93,
    "b": 186
  },
  "hsl": {
    "h": 225.366,
    "s": 49.398,
    "l": 48.824
  },
  "oklch": {
    "l": 0.50615,
    "c": 0.1506,
    "h": 267.4
  },
  "luminance": 0.12431
}

Semantic roles & 50–950 ramp

primary
#3F5DBA
secondary
#C8B98D
accent
#B74FD9
background
#F8F8FC
surface
#F0F0F9
border
#CBCBD2
text
#0B0B14
muted
#7C7C82

Preview Lab

Preview with #3F5DBA

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

Preview Lab → · Contrast checker → · Palette generator →

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