#3F43B2#3F43B2

#3F43B2 is a dark, vivid blue. Relative luminance 0.083; OKLCH L 45.0% C 0.173 H 275.4°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#3F43B2
RGBrgb(63, 67, 178)
HSLhsl(238, 48%, 47%)
HSVhsv(238, 65%, 70%)
CMYKcmyk(64.6%, 62.4%, 0%, 30.2%)
CIE-LABlab(34.57, 33.49, -59.63)
CIE-LCHlch(34.57, 68.39, 299.32°)
OKLaboklab(44.95% 0.0163 -0.1718)
OKLCHoklch(44.95% 0.173 275.4)
XYZxyz(12.0903, 8.2844, 43.0728)
Luminance0.0828 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F43B2 #B2AE3F
analogous
#3F7DB2 #3F43B2 #753FB2
triadic
#3F43B2 #B23F43 #43B23F
tetradic
#3F43B2 #B23F7D #B2AE3F #3FB275
square
#3F43B2 #B23F7D #B2AE3F #3FB275
split-complementary
#3F43B2 #B2753F #7DB23F
monochromatic
#1F2158 #2F3285 #3F43B2 #6669C9 #9395D9

Accessibility & contrast

On white

7.90
#3F43B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#3F43B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F43B2
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F43B2#FFFFFF#000000##FFFFFF
##3F43B21.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B6
Deuteranopia (green-blind)
#004CB0
Tritanopia (blue-blind)
#005F74
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #3f43b2;
/* rgb */ color: rgb(63, 67, 178);
/* oklch */ color: oklch(45.0% 0.173 275.4);
Tailwind
colors: {
  custom: {
    50: '#8177ca',
    500: '#3f43b2',
    950: '#000000',
  },
}
SCSS
$custom: #3f43b2;
$custom-light: #8177ca;
$custom-dark: #000000;
JSON
{
  "hex": "#3f43b2",
  "rgb": {
    "r": 63,
    "g": 67,
    "b": 178
  },
  "hsl": {
    "h": 237.913,
    "s": 47.718,
    "l": 47.255
  },
  "oklch": {
    "l": 0.44951,
    "c": 0.17257,
    "h": 275.4
  },
  "luminance": 0.08285
}

Semantic roles & 50–950 ramp

primary
#3F43B2
secondary
#C4C289
accent
#D350D7
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0C0813
muted
#7D7B82

Preview Lab

Preview with #3F43B2

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

Preview Lab → · Contrast checker → · Palette generator →

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