#3F308B#3F308B

#3F308B is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.3% C 0.144 H 284.8°. Best body text is #FFFFFF at 10.46:1 contrast (WCAG AA passes).

Color values

HEX#3F308B
RGBrgb(63, 48, 139)
HSLhsl(250, 49%, 37%)
HSVhsv(250, 65%, 55%)
CMYKcmyk(54.7%, 65.5%, 0%, 45.5%)
CIE-LABlab(26.83, 32.34, -48.59)
CIE-LCHlch(26.83, 58.37, 303.64°)
OKLaboklab(38.29% 0.037 -0.1395)
OKLCHoklch(38.29% 0.144 284.8)
XYZxyz(7.7656, 5.0343, 24.9836)
Luminance0.0503 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F308B #7C8B30
analogous
#304F8B #3F308B #6D308B
triadic
#3F308B #8B3F30 #308B3F
tetradic
#3F308B #8B304F #7C8B30 #308B6D
square
#3F308B #8B304F #7C8B30 #308B6D
split-complementary
#3F308B #8B6D30 #4F8B30
monochromatic
#161130 #2A205E #3F308B #5440B8 #7A6ACC

Accessibility & contrast

On white

10.46
#3F308B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F308B
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F308B#FFFFFF#000000##FFFFFF
##3F308B1.0010.462.0110.46
#FFFFFF10.461.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428E
Deuteranopia (green-blind)
#003D89
Tritanopia (blue-blind)
#1F4659
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #3f308b;
/* rgb */ color: rgb(63, 48, 139);
/* oklch */ color: oklch(38.3% 0.144 284.8);
Tailwind
colors: {
  custom: {
    50: '#7c69ae',
    500: '#3f308b',
    950: '#000000',
  },
}
SCSS
$custom: #3f308b;
$custom-light: #7c69ae;
$custom-dark: #000000;
JSON
{
  "hex": "#3f308b",
  "rgb": {
    "r": 63,
    "g": 48,
    "b": 139
  },
  "hsl": {
    "h": 249.89,
    "s": 48.663,
    "l": 36.667
  },
  "oklch": {
    "l": 0.38293,
    "c": 0.14427,
    "h": 284.8
  },
  "luminance": 0.05035
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3F308B

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

Preview Lab → · Contrast checker → · Palette generator →

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