#3F43AF#3F43AF

#3F43AF is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.7% C 0.169 H 275.6°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#3F43AF
RGBrgb(63, 67, 175)
HSLhsl(238, 47%, 47%)
HSVhsv(238, 64%, 69%)
CMYKcmyk(64%, 61.7%, 0%, 31.4%)
CIE-LABlab(34.32, 32.46, -58.25)
CIE-LCHlch(34.32, 66.68, 299.13°)
OKLaboklab(44.7% 0.0164 -0.1677)
OKLCHoklch(44.7% 0.169 275.6)
XYZxyz(11.7924, 8.1652, 41.5037)
Luminance0.0817 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F43AF #AFAB3F
analogous
#3F7BAF #3F43AF #733FAF
triadic
#3F43AF #AF3F43 #43AF3F
tetradic
#3F43AF #AF3F7B #AFAB3F #3FAF73
square
#3F43AF #AF3F7B #AFAB3F #3FAF73
split-complementary
#3F43AF #AF733F #7BAF3F
monochromatic
#1F2155 #2F3282 #3F43AF #6468C7 #9194D7

Accessibility & contrast

On white

7.98
#3F43AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#3F43AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F43AF
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F43AF#FFFFFF#000000##FFFFFF
##3F43AF1.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B3
Deuteranopia (green-blind)
#004CAD
Tritanopia (blue-blind)
#005E72
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #3f43af;
/* rgb */ color: rgb(63, 67, 175);
/* oklch */ color: oklch(44.7% 0.169 275.6);
Tailwind
colors: {
  custom: {
    50: '#8177c8',
    500: '#3f43af',
    950: '#000000',
  },
}
SCSS
$custom: #3f43af;
$custom-light: #8177c8;
$custom-dark: #000000;
JSON
{
  "hex": "#3f43af",
  "rgb": {
    "r": 63,
    "g": 67,
    "b": 175
  },
  "hsl": {
    "h": 237.857,
    "s": 47.059,
    "l": 46.667
  },
  "oklch": {
    "l": 0.44696,
    "c": 0.16853,
    "h": 275.6
  },
  "luminance": 0.08166
}

Semantic roles & 50–950 ramp

primary
#3F43AF
secondary
#C3C087
accent
#D251D7
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #3F43AF

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

Preview Lab → · Contrast checker → · Palette generator →

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