#3F308C#3F308C

#3F308C is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.4% C 0.146 H 284.7°. Best body text is #FFFFFF at 10.43:1 contrast (WCAG AA passes).

Color values

HEX#3F308C
RGBrgb(63, 48, 140)
HSLhsl(250, 49%, 37%)
HSVhsv(250, 66%, 55%)
CMYKcmyk(55%, 65.7%, 0%, 45.1%)
CIE-LABlab(26.92, 32.66, -49.08)
CIE-LCHlch(26.92, 58.95, 303.64°)
OKLaboklab(38.38% 0.0369 -0.1409)
OKLCHoklch(38.38% 0.146 284.7)
XYZxyz(7.8390, 5.0637, 25.3702)
Luminance0.0506 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F308C #7D8C30
analogous
#304F8C #3F308C #6D308C
triadic
#3F308C #8C3F30 #308C3F
tetradic
#3F308C #8C304F #7D8C30 #308C6D
square
#3F308C #8C304F #7D8C30 #308C6D
split-complementary
#3F308C #8C6D30 #4F8C30
monochromatic
#161131 #2A205E #3F308C #5440BA #7A6ACC

Accessibility & contrast

On white

10.43
#3F308C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#3F308C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F308C
10.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F308C#FFFFFF#000000##FFFFFF
##3F308C1.0010.432.0110.43
#FFFFFF10.431.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428F
Deuteranopia (green-blind)
#003D8A
Tritanopia (blue-blind)
#1E4759
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #3f308c;
/* rgb */ color: rgb(63, 48, 140);
/* oklch */ color: oklch(38.4% 0.146 284.7);
Tailwind
colors: {
  custom: {
    50: '#7c69ae',
    500: '#3f308c',
    950: '#000000',
  },
}
SCSS
$custom: #3f308c;
$custom-light: #7c69ae;
$custom-dark: #000000;
JSON
{
  "hex": "#3f308c",
  "rgb": {
    "r": 63,
    "g": 48,
    "b": 140
  },
  "hsl": {
    "h": 249.783,
    "s": 48.936,
    "l": 36.863
  },
  "oklch": {
    "l": 0.38379,
    "c": 0.14563,
    "h": 284.7
  },
  "luminance": 0.05064
}

Semantic roles & 50–950 ramp

primary
#3F308C
secondary
#A6B364
accent
#D84FC2
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0610
muted
#7C7A7F

Preview Lab

Preview with #3F308C

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

Preview Lab → · Contrast checker → · Palette generator →

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