#3839CB#3839CB

#3839CB is a mid, highly saturated blue. Relative luminance 0.081; OKLCH L 45.2% C 0.217 H 273.2°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#3839CB
RGBrgb(56, 57, 203)
HSLhsl(240, 59%, 51%)
HSVhsv(240, 72%, 80%)
CMYKcmyk(72.4%, 71.9%, 0%, 20.4%)
CIE-LABlab(34.14, 47.10, -75.03)
CIE-LCHlch(34.14, 88.59, 302.12°)
OKLaboklab(45.22% 0.0121 -0.2171)
OKLCHoklch(45.22% 0.217 273.2)
XYZxyz(13.8699, 8.0774, 57.3165)
Luminance0.0808 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3839CB #CBCA38
analogous
#3882CB #3839CB #8038CB
triadic
#3839CB #CB3839 #39CB38
tetradic
#3839CB #CB3882 #CBCA38 #38CB80
square
#3839CB #CB3882 #CBCA38 #38CB80
split-complementary
#3839CB #CB8038 #82CB38
monochromatic
#1C1D6C #292A9D #3839CB #6969D8 #999AE4

Accessibility & contrast

On white

8.03
#3839CB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#3839CB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3839CB
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3839CB#FFFFFF#000000##FFFFFF
##3839CB1.008.032.628.03
#FFFFFF8.031.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3839cb;
/* rgb */ color: rgb(56, 57, 203);
/* oklch */ color: oklch(45.2% 0.217 273.2);
Tailwind
colors: {
  custom: {
    50: '#8471dc',
    500: '#3839cb',
    950: '#000000',
  },
}
SCSS
$custom: #3839cb;
$custom-light: #8471dc;
$custom-dark: #000000;
JSON
{
  "hex": "#3839cb",
  "rgb": {
    "r": 56,
    "g": 57,
    "b": 203
  },
  "hsl": {
    "h": 239.592,
    "s": 58.566,
    "l": 50.784
  },
  "oklch": {
    "l": 0.45215,
    "c": 0.2174,
    "h": 273.2
  },
  "luminance": 0.08079
}

Semantic roles & 50–950 ramp

primary
#3839CB
secondary
#D0D08F
accent
#E146E2
background
#F9F6FD
surface
#F1ECFB
border
#CBC7D4
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #3839CB

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

Preview Lab → · Contrast checker → · Palette generator →

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