#3F45C8#3F45C8

#3F45C8 is a mid, vivid blue. Relative luminance 0.095; OKLCH L 47.2% C 0.199 H 273.8°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#3F45C8
RGBrgb(63, 69, 200)
HSLhsl(237, 55%, 52%)
HSVhsv(237, 69%, 78%)
CMYKcmyk(68.5%, 65.5%, 0%, 21.6%)
CIE-LABlab(36.90, 39.78, -68.75)
CIE-LCHlch(36.90, 79.43, 300.05°)
OKLaboklab(47.23% 0.0132 -0.1985)
OKLCHoklch(47.23% 0.199 273.8)
XYZxyz(14.5999, 9.4818, 55.6931)
Luminance0.0948 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F45C8 #C8C23F
analogous
#3F8AC8 #3F45C8 #7E3FC8
triadic
#3F45C8 #C83F45 #45C83F
tetradic
#3F45C8 #C83F8A #C8C23F #3FC87E
square
#3F45C8 #C83F8A #C8C23F #3FC87E
split-complementary
#3F45C8 #C87E3F #8AC83F
monochromatic
#1F236D #2D329D #3F45C8 #6F73D6 #9EA1E3

Accessibility & contrast

On white

7.25
#3F45C8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#3F45C8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F45C8
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F45C8#FFFFFF#000000##FFFFFF
##3F45C81.007.252.907.25
#FFFFFF7.251.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DCC
Deuteranopia (green-blind)
#0051C6
Tritanopia (blue-blind)
#006780
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #3f45c8;
/* rgb */ color: rgb(63, 69, 200);
/* oklch */ color: oklch(47.2% 0.199 273.8);
Tailwind
colors: {
  custom: {
    50: '#8679da',
    500: '#3f45c8',
    950: '#000000',
  },
}
SCSS
$custom: #3f45c8;
$custom-light: #8679da;
$custom-dark: #000000;
JSON
{
  "hex": "#3f45c8",
  "rgb": {
    "r": 63,
    "g": 69,
    "b": 200
  },
  "hsl": {
    "h": 237.372,
    "s": 55.466,
    "l": 51.569
  },
  "oklch": {
    "l": 0.47228,
    "c": 0.19896,
    "h": 273.8
  },
  "luminance": 0.09483
}

Semantic roles & 50–950 ramp

primary
#3F45C8
secondary
#D0CD93
accent
#D849DF
background
#F8F7FD
surface
#F0EDFB
border
#CBC8D4
text
#0D0915
muted
#7D7B83

Preview Lab

Preview with #3F45C8

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

Preview Lab → · Contrast checker → · Palette generator →

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