#3F5EBA#3F5EBA

#3F5EBA is a mid, vivid blue. Relative luminance 0.126; OKLCH L 50.8% C 0.149 H 267.0°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#3F5EBA
RGBrgb(63, 94, 186)
HSLhsl(225, 49%, 49%)
HSVhsv(225, 66%, 73%)
CMYKcmyk(66.1%, 49.5%, 0%, 27.1%)
CIE-LABlab(42.16, 18.97, -52.03)
CIE-LCHlch(42.16, 55.38, 290.03°)
OKLaboklab(50.82% -0.0078 -0.1491)
OKLCHoklch(50.82% 0.149 267)
XYZxyz(14.9125, 12.6059, 48.0922)
Luminance0.1261 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F5EBA #BA9B3F
analogous
#3F9CBA #3F5EBA #5E3FBA
triadic
#3F5EBA #BA3F5E #5EBA3F
tetradic
#3F5EBA #BA3F9C #BA9B3F #3FBA5E
square
#3F5EBA #BA3F9C #BA9B3F #3FBA5E
split-complementary
#3F5EBA #BA5E3F #9CBA3F
monochromatic
#20305F #30478C #3F5EBA #6A83CC #97A9DC

Accessibility & contrast

On white

5.96
#3F5EBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#3F5EBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F5EBA
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F5EBA#FFFFFF#000000##FFFFFF
##3F5EBA1.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C69BD
Deuteranopia (green-blind)
#095EB8
Tritanopia (blue-blind)
#007383
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #3f5eba;
/* rgb */ color: rgb(63, 94, 186);
/* oklch */ color: oklch(50.8% 0.149 267.0);
Tailwind
colors: {
  custom: {
    50: '#818bcf',
    500: '#3f5eba',
    950: '#000000',
  },
}
SCSS
$custom: #3f5eba;
$custom-light: #818bcf;
$custom-dark: #000000;
JSON
{
  "hex": "#3f5eba",
  "rgb": {
    "r": 63,
    "g": 94,
    "b": 186
  },
  "hsl": {
    "h": 224.878,
    "s": 49.398,
    "l": 48.824
  },
  "oklch": {
    "l": 0.50823,
    "c": 0.14934,
    "h": 267
  },
  "luminance": 0.12607
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3F5EBA

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

Preview Lab → · Contrast checker → · Palette generator →

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