#3F308D#3F308D

#3F308D is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.5% C 0.147 H 284.5°. Best body text is #FFFFFF at 10.40:1 contrast (WCAG AA passes).

Color values

HEX#3F308D
RGBrgb(63, 48, 141)
HSLhsl(250, 49%, 37%)
HSVhsv(250, 66%, 55%)
CMYKcmyk(55.3%, 66%, 0%, 44.7%)
CIE-LABlab(27.00, 32.99, -49.56)
CIE-LCHlch(27.00, 59.53, 303.65°)
OKLaboklab(38.47% 0.0368 -0.1423)
OKLCHoklch(38.47% 0.147 284.5)
XYZxyz(7.9131, 5.0933, 25.7603)
Luminance0.0509 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F308D #7E8D30
analogous
#30508D #3F308D #6D308D
triadic
#3F308D #8D3F30 #308D3F
tetradic
#3F308D #8D3050 #7E8D30 #308D6D
square
#3F308D #8D3050 #7E8D30 #308D6D
split-complementary
#3F308D #8D6D30 #508D30
monochromatic
#161132 #2B205F #3F308D #5340BB #7B6BCD

Accessibility & contrast

On white

10.40
#3F308D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#3F308D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F308D
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F308D#FFFFFF#000000##FFFFFF
##3F308D1.0010.402.0210.40
#FFFFFF10.401.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004390
Deuteranopia (green-blind)
#003D8B
Tritanopia (blue-blind)
#1D475A
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #3f308d;
/* rgb */ color: rgb(63, 48, 141);
/* oklch */ color: oklch(38.5% 0.147 284.5);
Tailwind
colors: {
  custom: {
    50: '#7c69af',
    500: '#3f308d',
    950: '#000000',
  },
}
SCSS
$custom: #3f308d;
$custom-light: #7c69af;
$custom-dark: #000000;
JSON
{
  "hex": "#3f308d",
  "rgb": {
    "r": 63,
    "g": 48,
    "b": 141
  },
  "hsl": {
    "h": 249.677,
    "s": 49.206,
    "l": 37.059
  },
  "oklch": {
    "l": 0.38466,
    "c": 0.14698,
    "h": 284.5
  },
  "luminance": 0.05094
}

Semantic roles & 50–950 ramp

primary
#3F308D
secondary
#A7B465
accent
#D94FC3
background
#F7F6FA
surface
#EEEBF5
border
#C9C6CF
text
#0A0610
muted
#7C7A7F

Preview Lab

Preview with #3F308D

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

Preview Lab → · Contrast checker → · Palette generator →

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