#3839CC#3839CC

#3839CC is a mid, highly saturated blue. Relative luminance 0.081; OKLCH L 45.3% C 0.219 H 273.1°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#3839CC
RGBrgb(56, 57, 204)
HSLhsl(240, 59%, 51%)
HSVhsv(240, 73%, 80%)
CMYKcmyk(72.5%, 72.1%, 0%, 20%)
CIE-LABlab(34.24, 47.43, -75.45)
CIE-LCHlch(34.24, 89.12, 302.15°)
OKLaboklab(45.32% 0.0119 -0.2183)
OKLCHoklch(45.32% 0.219 273.1)
XYZxyz(13.9894, 8.1252, 57.9461)
Luminance0.0813 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3839CC #CCCB38
analogous
#3883CC #3839CC #8138CC
triadic
#3839CC #CC3839 #39CC38
tetradic
#3839CC #CC3883 #CCCB38 #38CC81
square
#3839CC #CC3883 #CCCB38 #38CC81
split-complementary
#3839CC #CC8138 #83CC38
monochromatic
#1C1D6E #29299E #3839CC #6969D8 #999AE5

Accessibility & contrast

On white

8.00
#3839CC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#3839CC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3839CC
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3839CC#FFFFFF#000000##FFFFFF
##3839CC1.008.002.638.00
#FFFFFF8.001.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058D0
Deuteranopia (green-blind)
#0049C9
Tritanopia (blue-blind)
#00637F
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #3839cc;
/* rgb */ color: rgb(56, 57, 204);
/* oklch */ color: oklch(45.3% 0.219 273.1);
Tailwind
colors: {
  custom: {
    50: '#8571dd',
    500: '#3839cc',
    950: '#000000',
  },
}
SCSS
$custom: #3839cc;
$custom-light: #8571dd;
$custom-dark: #000000;
JSON
{
  "hex": "#3839cc",
  "rgb": {
    "r": 56,
    "g": 57,
    "b": 204
  },
  "hsl": {
    "h": 239.595,
    "s": 59.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.45315,
    "c": 0.21861,
    "h": 273.1
  },
  "luminance": 0.08127
}

Semantic roles & 50–950 ramp

primary
#3839CC
secondary
#D1D08F
accent
#E145E2
background
#F9F6FD
surface
#F1ECFB
border
#CBC7D4
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #3839CC

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

Preview Lab → · Contrast checker → · Palette generator →

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