#3F45CB#3F45CB

#3F45CB is a mid, highly saturated blue. Relative luminance 0.096; OKLCH L 47.5% C 0.203 H 273.7°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#3F45CB
RGBrgb(63, 69, 203)
HSLhsl(237, 57%, 52%)
HSVhsv(237, 69%, 80%)
CMYKcmyk(69%, 66%, 0%, 20.4%)
CIE-LABlab(37.16, 40.80, -70.06)
CIE-LCHlch(37.16, 81.07, 300.21°)
OKLaboklab(47.5% 0.0129 -0.2024)
OKLCHoklch(47.5% 0.203 273.7)
XYZxyz(14.9539, 9.6234, 57.5578)
Luminance0.0963 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F45CB #CBC53F
analogous
#3F8BCB #3F45CB #7F3FCB
triadic
#3F45CB #CB3F45 #45CB3F
tetradic
#3F45CB #CB3F8B #CBC53F #3FCB7F
square
#3F45CB #CB3F8B #CBC53F #3FCB7F
split-complementary
#3F45CB #CB7F3F #8BCB3F
monochromatic
#1F2271 #2C31A1 #3F45CB #6F74D8 #9FA2E5

Accessibility & contrast

On white

7.18
#3F45CB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F45CB
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F45CB#FFFFFF#000000##FFFFFF
##3F45CB1.007.182.937.18
#FFFFFF7.181.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ECF
Deuteranopia (green-blind)
#0051C8
Tritanopia (blue-blind)
#006882
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #3f45cb;
/* rgb */ color: rgb(63, 69, 203);
/* oklch */ color: oklch(47.5% 0.203 273.7);
Tailwind
colors: {
  custom: {
    50: '#8679dc',
    500: '#3f45cb',
    950: '#000000',
  },
}
SCSS
$custom: #3f45cb;
$custom-light: #8679dc;
$custom-dark: #000000;
JSON
{
  "hex": "#3f45cb",
  "rgb": {
    "r": 63,
    "g": 69,
    "b": 203
  },
  "hsl": {
    "h": 237.429,
    "s": 57.377,
    "l": 52.157
  },
  "oklch": {
    "l": 0.47499,
    "c": 0.20278,
    "h": 273.7
  },
  "luminance": 0.09625
}

Semantic roles & 50–950 ramp

primary
#3F45CB
secondary
#D1CF94
accent
#DA47E1
background
#F9F7FD
surface
#F1EDFB
border
#CBC8D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #3F45CB

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

Preview Lab → · Contrast checker → · Palette generator →

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