#3839CA#3839CA

#3839CA is a mid, highly saturated blue. Relative luminance 0.080; OKLCH L 45.1% C 0.216 H 273.2°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#3839CA
RGBrgb(56, 57, 202)
HSLhsl(240, 58%, 51%)
HSVhsv(240, 72%, 79%)
CMYKcmyk(72.3%, 71.8%, 0%, 20.8%)
CIE-LABlab(34.05, 46.77, -74.61)
CIE-LCHlch(34.05, 88.06, 302.08°)
OKLaboklab(45.12% 0.0123 -0.2158)
OKLCHoklch(45.12% 0.216 273.2)
XYZxyz(13.7511, 8.0299, 56.6909)
Luminance0.0803 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3839CA #CAC938
analogous
#3882CA #3839CA #8038CA
triadic
#3839CA #CA3839 #39CA38
tetradic
#3839CA #CA3882 #CAC938 #38CA80
square
#3839CA #CA3882 #CAC938 #38CA80
split-complementary
#3839CA #CA8038 #82CA38
monochromatic
#1D1D6B #292A9B #3839CA #6869D7 #9999E4

Accessibility & contrast

On white

8.06
#3839CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#3839CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3839CA
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3839CA#FFFFFF#000000##FFFFFF
##3839CA1.008.062.618.06
#FFFFFF8.061.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057CE
Deuteranopia (green-blind)
#0049C7
Tritanopia (blue-blind)
#00627E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #3839ca;
/* rgb */ color: rgb(56, 57, 202);
/* oklch */ color: oklch(45.1% 0.216 273.2);
Tailwind
colors: {
  custom: {
    50: '#8471db',
    500: '#3839ca',
    950: '#000000',
  },
}
SCSS
$custom: #3839ca;
$custom-light: #8471db;
$custom-dark: #000000;
JSON
{
  "hex": "#3839ca",
  "rgb": {
    "r": 56,
    "g": 57,
    "b": 202
  },
  "hsl": {
    "h": 239.589,
    "s": 57.937,
    "l": 50.588
  },
  "oklch": {
    "l": 0.45115,
    "c": 0.21618,
    "h": 273.2
  },
  "luminance": 0.08031
}

Semantic roles & 50–950 ramp

primary
#3839CA
secondary
#CFCF8E
accent
#E047E1
background
#F8F6FD
surface
#F0ECFB
border
#CBC7D4
text
#0D0815
muted
#7D7B83

Preview Lab

Preview with #3839CA

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

Preview Lab → · Contrast checker → · Palette generator →

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