#3F45D3#3F45D3

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

Color values

HEX#3F45D3
RGBrgb(63, 69, 211)
HSLhsl(238, 63%, 54%)
HSVhsv(238, 70%, 83%)
CMYKcmyk(70.1%, 67.3%, 0%, 17.3%)
CIE-LABlab(37.87, 43.49, -73.52)
CIE-LCHlch(37.87, 85.42, 300.61°)
OKLaboklab(48.23% 0.0121 -0.2125)
OKLCHoklch(48.23% 0.213 273.3)
XYZxyz(15.9320, 10.0146, 62.7088)
Luminance0.1002 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F45D3 #D3CD3F
analogous
#3F8FD3 #3F45D3 #833FD3
triadic
#3F45D3 #D33F45 #45D33F
tetradic
#3F45D3 #D33F8F #D3CD3F #3FD383
square
#3F45D3 #D33F8F #D3CD3F #3FD383
split-complementary
#3F45D3 #D3833F #8FD33F
monochromatic
#1C207B #282DAD #3F45D3 #7175DE #A3A5EA

Accessibility & contrast

On white

6.99
#3F45D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.00
#3F45D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F45D3
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F45D3#FFFFFF#000000##FFFFFF
##3F45D31.006.993.006.99
#FFFFFF6.991.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3f45d3;
/* rgb */ color: rgb(63, 69, 211);
/* oklch */ color: oklch(48.2% 0.213 273.3);
Tailwind
colors: {
  custom: {
    50: '#8879e2',
    500: '#3f45d3',
    950: '#000000',
  },
}
SCSS
$custom: #3f45d3;
$custom-light: #8879e2;
$custom-dark: #000000;
JSON
{
  "hex": "#3f45d3",
  "rgb": {
    "r": 63,
    "g": 69,
    "b": 211
  },
  "hsl": {
    "h": 237.568,
    "s": 62.712,
    "l": 53.725
  },
  "oklch": {
    "l": 0.48232,
    "c": 0.21285,
    "h": 273.3
  },
  "luminance": 0.10016
}

Semantic roles & 50–950 ramp

primary
#3F45D3
secondary
#D7D497
accent
#DF42E6
background
#F9F7FE
surface
#F1EDFC
border
#CBC8D5
text
#0D0915
muted
#7E7B84

Preview Lab

Preview with #3F45D3

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

Preview Lab → · Contrast checker → · Palette generator →

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