#3F45CC#3F45CC

#3F45CC is a mid, highly saturated blue. Relative luminance 0.097; OKLCH L 47.6% C 0.204 H 273.6°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#3F45CC
RGBrgb(63, 69, 204)
HSLhsl(237, 58%, 52%)
HSVhsv(237, 69%, 80%)
CMYKcmyk(69.1%, 66.2%, 0%, 20%)
CIE-LABlab(37.25, 41.13, -70.50)
CIE-LCHlch(37.25, 81.62, 300.26°)
OKLaboklab(47.59% 0.0128 -0.2036)
OKLCHoklch(47.59% 0.204 273.6)
XYZxyz(15.0735, 9.6712, 58.1874)
Luminance0.0967 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F45CC #CCC63F
analogous
#3F8BCC #3F45CC #803FCC
triadic
#3F45CC #CC3F45 #45CC3F
tetradic
#3F45CC #CC3F8B #CCC63F #3FCC80
square
#3F45CC #CC3F8B #CCC63F #3FCC80
split-complementary
#3F45CC #CC803F #8BCC3F
monochromatic
#1E2272 #2B30A3 #3F45CC #6F74D9 #A0A3E6

Accessibility & contrast

On white

7.16
#3F45CC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#3F45CC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F45CC
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F45CC#FFFFFF#000000##FFFFFF
##3F45CC1.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ED0
Deuteranopia (green-blind)
#0051C9
Tritanopia (blue-blind)
#006982
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #3f45cc;
/* rgb */ color: rgb(63, 69, 204);
/* oklch */ color: oklch(47.6% 0.204 273.6);
Tailwind
colors: {
  custom: {
    50: '#8679dd',
    500: '#3f45cc',
    950: '#000000',
  },
}
SCSS
$custom: #3f45cc;
$custom-light: #8679dd;
$custom-dark: #000000;
JSON
{
  "hex": "#3f45cc",
  "rgb": {
    "r": 63,
    "g": 69,
    "b": 204
  },
  "hsl": {
    "h": 237.447,
    "s": 58.025,
    "l": 52.353
  },
  "oklch": {
    "l": 0.4759,
    "c": 0.20405,
    "h": 273.6
  },
  "luminance": 0.09673
}

Semantic roles & 50–950 ramp

primary
#3F45CC
secondary
#D2CF95
accent
#DB47E1
background
#F9F7FD
surface
#F1EDFB
border
#CBC8D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #3F45CC

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

Preview Lab → · Contrast checker → · Palette generator →

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