#3F45D2#3F45D2

#3F45D2 is a mid, highly saturated blue. Relative luminance 0.100; OKLCH L 48.1% C 0.212 H 273.3°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#3F45D2
RGBrgb(63, 69, 210)
HSLhsl(238, 62%, 54%)
HSVhsv(238, 70%, 82%)
CMYKcmyk(70%, 67.1%, 0%, 17.6%)
CIE-LABlab(37.78, 43.16, -73.09)
CIE-LCHlch(37.78, 84.88, 300.56°)
OKLaboklab(48.14% 0.0122 -0.2112)
OKLCHoklch(48.14% 0.212 273.3)
XYZxyz(15.8070, 9.9646, 62.0506)
Luminance0.0997 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F45D2 #D2CC3F
analogous
#3F8ED2 #3F45D2 #823FD2
triadic
#3F45D2 #D23F45 #45D23F
tetradic
#3F45D2 #D23F8E #D2CC3F #3FD282
square
#3F45D2 #D23F8E #D2CC3F #3FD282
split-complementary
#3F45D2 #D2823F #8ED23F
monochromatic
#1D207A #282EAC #3F45D2 #7175DE #A2A5E9

Accessibility & contrast

On white

7.02
#3F45D2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#3F45D2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F45D2
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F45D2#FFFFFF#000000##FFFFFF
##3F45D21.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060D6
Deuteranopia (green-blind)
#0052CF
Tritanopia (blue-blind)
#006B86
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #3f45d2;
/* rgb */ color: rgb(63, 69, 210);
/* oklch */ color: oklch(48.1% 0.212 273.3);
Tailwind
colors: {
  custom: {
    50: '#8879e1',
    500: '#3f45d2',
    950: '#000000',
  },
}
SCSS
$custom: #3f45d2;
$custom-light: #8879e1;
$custom-dark: #000000;
JSON
{
  "hex": "#3f45d2",
  "rgb": {
    "r": 63,
    "g": 69,
    "b": 210
  },
  "hsl": {
    "h": 237.551,
    "s": 62.025,
    "l": 53.529
  },
  "oklch": {
    "l": 0.4814,
    "c": 0.21159,
    "h": 273.3
  },
  "luminance": 0.09966
}

Semantic roles & 50–950 ramp

primary
#3F45D2
secondary
#D6D397
accent
#DE43E5
background
#F9F7FD
surface
#F1EDFB
border
#CBC8D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #3F45D2

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

Preview Lab → · Contrast checker → · Palette generator →

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