#3F45CF#3F45CF

#3F45CF is a mid, highly saturated blue. Relative luminance 0.098; OKLCH L 47.9% C 0.208 H 273.5°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#3F45CF
RGBrgb(63, 69, 207)
HSLhsl(238, 60%, 53%)
HSVhsv(238, 70%, 81%)
CMYKcmyk(69.6%, 66.7%, 0%, 18.8%)
CIE-LABlab(37.51, 42.15, -71.80)
CIE-LCHlch(37.51, 83.26, 300.41°)
OKLaboklab(47.86% 0.0125 -0.2075)
OKLCHoklch(47.86% 0.208 273.5)
XYZxyz(15.4367, 9.8165, 60.1006)
Luminance0.0982 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F45CF #CFC93F
analogous
#3F8DCF #3F45CF #813FCF
triadic
#3F45CF #CF3F45 #45CF3F
tetradic
#3F45CF #CF3F8D #CFC93F #3FCF81
square
#3F45CF #CF3F8D #CFC93F #3FCF81
split-complementary
#3F45CF #CF813F #8DCF3F
monochromatic
#1E2176 #2A2FA7 #3F45CF #7074DB #A1A4E7

Accessibility & contrast

On white

7.09
#3F45CF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#3F45CF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F45CF
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F45CF#FFFFFF#000000##FFFFFF
##3F45CF1.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FD3
Deuteranopia (green-blind)
#0052CC
Tritanopia (blue-blind)
#006A84
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #3f45cf;
/* rgb */ color: rgb(63, 69, 207);
/* oklch */ color: oklch(47.9% 0.208 273.5);
Tailwind
colors: {
  custom: {
    50: '#8779df',
    500: '#3f45cf',
    950: '#000000',
  },
}
SCSS
$custom: #3f45cf;
$custom-light: #8779df;
$custom-dark: #000000;
JSON
{
  "hex": "#3f45cf",
  "rgb": {
    "r": 63,
    "g": 69,
    "b": 207
  },
  "hsl": {
    "h": 237.5,
    "s": 60,
    "l": 52.941
  },
  "oklch": {
    "l": 0.47864,
    "c": 0.20784,
    "h": 273.5
  },
  "luminance": 0.09818
}

Semantic roles & 50–950 ramp

primary
#3F45CF
secondary
#D4D196
accent
#DD45E3
background
#F9F7FD
surface
#F1EDFB
border
#CBC8D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #3F45CF

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

Preview Lab → · Contrast checker → · Palette generator →

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