#39308D#39308D

#39308D is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.9% C 0.148 H 281.1°. Best body text is #FFFFFF at 10.60:1 contrast (WCAG AA passes).

Color values

HEX#39308D
RGBrgb(57, 48, 141)
HSLhsl(246, 49%, 37%)
HSVhsv(246, 66%, 55%)
CMYKcmyk(59.6%, 66%, 0%, 44.7%)
CIE-LABlab(26.47, 31.90, -50.45)
CIE-LCHlch(26.47, 59.69, 302.30°)
OKLaboklab(37.95% 0.0284 -0.1451)
OKLCHoklch(37.95% 0.148 281.1)
XYZxyz(7.5505, 4.9063, 25.7433)
Luminance0.0491 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39308D #848D30
analogous
#30568D #39308D #67308D
triadic
#39308D #8D3930 #308D39
tetradic
#39308D #8D3056 #848D30 #308D67
square
#39308D #8D3056 #848D30 #308D67
split-complementary
#39308D #8D6730 #568D30
monochromatic
#141132 #27205F #39308D #4B40BB #746BCD

Accessibility & contrast

On white

10.60
#39308D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#39308D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39308D
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39308D#FFFFFF#000000##FFFFFF
##39308D1.0010.601.9810.60
#FFFFFF10.601.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004290
Deuteranopia (green-blind)
#003B8B
Tritanopia (blue-blind)
#05475A
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #39308d;
/* rgb */ color: rgb(57, 48, 141);
/* oklch */ color: oklch(37.9% 0.148 281.1);
Tailwind
colors: {
  custom: {
    50: '#7969af',
    500: '#39308d',
    950: '#000000',
  },
}
SCSS
$custom: #39308d;
$custom-light: #7969af;
$custom-dark: #000000;
JSON
{
  "hex": "#39308d",
  "rgb": {
    "r": 57,
    "g": 48,
    "b": 141
  },
  "hsl": {
    "h": 245.806,
    "s": 49.206,
    "l": 37.059
  },
  "oklch": {
    "l": 0.37947,
    "c": 0.14787,
    "h": 281.1
  },
  "luminance": 0.04907
}

Semantic roles & 50–950 ramp

primary
#39308D
secondary
#ACB465
accent
#D94FCB
background
#F7F6FA
surface
#EEEBF5
border
#C9C6CF
text
#0A0610
muted
#7C7A7F

Preview Lab

Preview with #39308D

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

Preview Lab → · Contrast checker → · Palette generator →

#39308D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva