#39337F#39337F

#39337F is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.3% C 0.124 H 282.1°. Best body text is #FFFFFF at 10.75:1 contrast (WCAG AA passes).

Color values

HEX#39337F
RGBrgb(57, 51, 127)
HSLhsl(245, 43%, 35%)
HSVhsv(245, 60%, 50%)
CMYKcmyk(55.1%, 59.8%, 0%, 50.2%)
CIE-LABlab(26.07, 25.23, -42.36)
CIE-LCHlch(26.07, 49.31, 300.77°)
OKLaboklab(37.3% 0.026 -0.1213)
OKLCHoklch(37.3% 0.124 282.1)
XYZxyz(6.7008, 4.7694, 20.6421)
Luminance0.0477 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39337F #797F33
analogous
#33537F #39337F #5F337F
triadic
#39337F #7F3933 #337F39
tetradic
#39337F #7F3353 #797F33 #337F5F
square
#39337F #7F3353 #797F33 #337F5F
split-complementary
#39337F #7F5F33 #537F33
monochromatic
#121028 #252153 #39337F #4D45AB #7169C3

Accessibility & contrast

On white

10.75
#39337F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#39337F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39337F
10.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39337F#FFFFFF#000000##FFFFFF
##39337F1.0010.751.9510.75
#FFFFFF10.751.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004082
Deuteranopia (green-blind)
#003B7D
Tritanopia (blue-blind)
#1B4554
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #39337f;
/* rgb */ color: rgb(57, 51, 127);
/* oklch */ color: oklch(37.3% 0.124 282.1);
Tailwind
colors: {
  custom: {
    50: '#766ba5',
    500: '#39337f',
    950: '#000000',
  },
}
SCSS
$custom: #39337f;
$custom-light: #766ba5;
$custom-dark: #000000;
JSON
{
  "hex": "#39337f",
  "rgb": {
    "r": 57,
    "g": 51,
    "b": 127
  },
  "hsl": {
    "h": 244.737,
    "s": 42.697,
    "l": 34.902
  },
  "oklch": {
    "l": 0.37297,
    "c": 0.12409,
    "h": 282.1
  },
  "luminance": 0.0477
}

Semantic roles & 50–950 ramp

primary
#39337F
secondary
#A5AB63
accent
#D255C9
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#09060F
muted
#7B7A7F

Preview Lab

Preview with #39337F

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

Preview Lab → · Contrast checker → · Palette generator →

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