#39337E#39337E

#39337E is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.2% C 0.123 H 282.3°. Best body text is #FFFFFF at 10.78:1 contrast (WCAG AA passes).

Color values

HEX#39337E
RGBrgb(57, 51, 126)
HSLhsl(245, 42%, 35%)
HSVhsv(245, 60%, 49%)
CMYKcmyk(54.8%, 59.5%, 0%, 50.6%)
CIE-LABlab(25.99, 24.89, -41.86)
CIE-LCHlch(25.99, 48.70, 300.74°)
OKLaboklab(37.22% 0.026 -0.1198)
OKLCHoklch(37.22% 0.123 282.3)
XYZxyz(6.6359, 4.7435, 20.3005)
Luminance0.0474 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39337E #787E33
analogous
#33537E #39337E #5F337E
triadic
#39337E #7E3933 #337E39
tetradic
#39337E #7E3353 #787E33 #337E5F
square
#39337E #7E3353 #787E33 #337E5F
split-complementary
#39337E #7E5F33 #537E33
monochromatic
#121027 #252152 #39337E #4D45AA #7069C2

Accessibility & contrast

On white

10.78
#39337E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #39337E
10.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39337E#FFFFFF#000000##FFFFFF
##39337E1.0010.781.9510.78
#FFFFFF10.781.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004081
Deuteranopia (green-blind)
#003B7C
Tritanopia (blue-blind)
#1C4453
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #39337e;
/* rgb */ color: rgb(57, 51, 126);
/* oklch */ color: oklch(37.2% 0.123 282.3);
Tailwind
colors: {
  custom: {
    50: '#766ba4',
    500: '#39337e',
    950: '#000000',
  },
}
SCSS
$custom: #39337e;
$custom-light: #766ba4;
$custom-dark: #000000;
JSON
{
  "hex": "#39337e",
  "rgb": {
    "r": 57,
    "g": 51,
    "b": 126
  },
  "hsl": {
    "h": 244.8,
    "s": 42.373,
    "l": 34.706
  },
  "oklch": {
    "l": 0.37216,
    "c": 0.12264,
    "h": 282.3
  },
  "luminance": 0.04744
}

Semantic roles & 50–950 ramp

primary
#39337E
secondary
#A4AA63
accent
#D256C8
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#09060F
muted
#7B7A7F

Preview Lab

Preview with #39337E

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

Preview Lab → · Contrast checker → · Palette generator →

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