#3F43CB#3F43CB

#3F43CB is a mid, highly saturated blue. Relative luminance 0.094; OKLCH L 47.2% C 0.205 H 274.0°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#3F43CB
RGBrgb(63, 67, 203)
HSLhsl(238, 57%, 52%)
HSVhsv(238, 69%, 80%)
CMYKcmyk(69%, 67%, 0%, 20.4%)
CIE-LABlab(36.71, 42.00, -70.80)
CIE-LCHlch(36.71, 82.32, 300.68°)
OKLaboklab(47.17% 0.0143 -0.2045)
OKLCHoklch(47.17% 0.205 274)
XYZxyz(14.8330, 9.3815, 57.5174)
Luminance0.0938 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F43CB #CBC73F
analogous
#3F89CB #3F43CB #813FCB
triadic
#3F43CB #CB3F43 #43CB3F
tetradic
#3F43CB #CB3F89 #CBC73F #3FCB81
square
#3F43CB #CB3F89 #CBC73F #3FCB81
split-complementary
#3F43CB #CB813F #89CB3F
monochromatic
#1F2171 #2C2FA1 #3F43CB #6F72D8 #9FA1E5

Accessibility & contrast

On white

7.30
#3F43CB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#3F43CB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F43CB
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F43CB#FFFFFF#000000##FFFFFF
##3F43CB1.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DCF
Deuteranopia (green-blind)
#0050C8
Tritanopia (blue-blind)
#006781
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #3f43cb;
/* rgb */ color: rgb(63, 67, 203);
/* oklch */ color: oklch(47.2% 0.205 274.0);
Tailwind
colors: {
  custom: {
    50: '#8678dc',
    500: '#3f43cb',
    950: '#000000',
  },
}
SCSS
$custom: #3f43cb;
$custom-light: #8678dc;
$custom-dark: #000000;
JSON
{
  "hex": "#3f43cb",
  "rgb": {
    "r": 63,
    "g": 67,
    "b": 203
  },
  "hsl": {
    "h": 238.286,
    "s": 57.377,
    "l": 52.157
  },
  "oklch": {
    "l": 0.47173,
    "c": 0.20503,
    "h": 274
  },
  "luminance": 0.09383
}

Semantic roles & 50–950 ramp

primary
#3F43CB
secondary
#D1D094
accent
#DC47E1
background
#F9F7FD
surface
#F1EDFB
border
#CBC8D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #3F43CB

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

Preview Lab → · Contrast checker → · Palette generator →

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