#39318F#39318F

#39318F is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.3% C 0.149 H 280.5°. Best body text is #FFFFFF at 10.45:1 contrast (WCAG AA passes).

Color values

HEX#39318F
RGBrgb(57, 49, 143)
HSLhsl(245, 49%, 38%)
HSVhsv(245, 66%, 56%)
CMYKcmyk(60.1%, 65.7%, 0%, 43.9%)
CIE-LABlab(26.87, 31.94, -51.02)
CIE-LCHlch(26.87, 60.20, 302.04°)
OKLaboklab(38.3% 0.0272 -0.1468)
OKLCHoklch(38.3% 0.149 280.5)
XYZxyz(7.7420, 5.0491, 26.5479)
Luminance0.0505 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39318F #878F31
analogous
#31588F #39318F #68318F
triadic
#39318F #8F3931 #318F39
tetradic
#39318F #8F3158 #878F31 #318F68
square
#39318F #8F3158 #878F31 #318F68
split-complementary
#39318F #8F6831 #588F31
monochromatic
#151234 #272161 #39318F #4B41BD #756DCD

Accessibility & contrast

On white

10.45
#39318F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#39318F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39318F
10.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39318F#FFFFFF#000000##FFFFFF
##39318F1.0010.452.0110.45
#FFFFFF10.451.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004392
Deuteranopia (green-blind)
#003C8D
Tritanopia (blue-blind)
#00495B
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #39318f;
/* rgb */ color: rgb(57, 49, 143);
/* oklch */ color: oklch(38.3% 0.149 280.5);
Tailwind
colors: {
  custom: {
    50: '#796ab1',
    500: '#39318f',
    950: '#000000',
  },
}
SCSS
$custom: #39318f;
$custom-light: #796ab1;
$custom-dark: #000000;
JSON
{
  "hex": "#39318f",
  "rgb": {
    "r": 57,
    "g": 49,
    "b": 143
  },
  "hsl": {
    "h": 245.106,
    "s": 48.958,
    "l": 37.647
  },
  "oklch": {
    "l": 0.38297,
    "c": 0.1493,
    "h": 280.5
  },
  "luminance": 0.0505
}

Semantic roles & 50–950 ramp

primary
#39318F
secondary
#AEB567
accent
#D94FCD
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #39318F

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

Preview Lab → · Contrast checker → · Palette generator →

#39318F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva