#3839AF#3839AF

#3839AF is a dark, vivid blue. Relative luminance 0.069; OKLCH L 42.5% C 0.182 H 275.0°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#3839AF
RGBrgb(56, 57, 175)
HSLhsl(239, 52%, 45%)
HSVhsv(239, 68%, 69%)
CMYKcmyk(68%, 67.4%, 0%, 31.4%)
CIE-LABlab(31.49, 37.70, -62.90)
CIE-LCHlch(31.49, 73.33, 300.94°)
OKLaboklab(42.5% 0.016 -0.1816)
OKLCHoklch(42.5% 0.182 275)
XYZxyz(10.8293, 6.8612, 41.3028)
Luminance0.0686 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3839AF #AFAE38
analogous
#3874AF #3839AF #7338AF
triadic
#3839AF #AF3839 #39AF38
tetradic
#3839AF #AF3874 #AFAE38 #38AF73
square
#3839AF #AF3874 #AFAE38 #38AF73
split-complementary
#3839AF #AF7338 #74AF38
monochromatic
#1A1B52 #292A81 #3839AF #5A5BCA #8889D9

Accessibility & contrast

On white

8.85
#3839AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#3839AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3839AF
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3839AF#FFFFFF#000000##FFFFFF
##3839AF1.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B3
Deuteranopia (green-blind)
#0045AD
Tritanopia (blue-blind)
#00586F
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #3839af;
/* rgb */ color: rgb(56, 57, 175);
/* oklch */ color: oklch(42.5% 0.182 275.0);
Tailwind
colors: {
  custom: {
    50: '#7e70c8',
    500: '#3839af',
    950: '#000000',
  },
}
SCSS
$custom: #3839af;
$custom-light: #7e70c8;
$custom-dark: #000000;
JSON
{
  "hex": "#3839af",
  "rgb": {
    "r": 56,
    "g": 57,
    "b": 175
  },
  "hsl": {
    "h": 239.496,
    "s": 51.515,
    "l": 45.294
  },
  "oklch": {
    "l": 0.42501,
    "c": 0.18232,
    "h": 275
  },
  "luminance": 0.06862
}

Semantic roles & 50–950 ramp

primary
#3839AF
secondary
#C3C380
accent
#DA4DDB
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #3839AF

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

Preview Lab → · Contrast checker → · Palette generator →

#3839AF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva