#3839CF#3839CF

#3839CF is a mid, highly saturated blue. Relative luminance 0.083; OKLCH L 45.6% C 0.222 H 273.0°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#3839CF
RGBrgb(56, 57, 207)
HSLhsl(240, 61%, 52%)
HSVhsv(240, 73%, 81%)
CMYKcmyk(72.9%, 72.5%, 0%, 18.8%)
CIE-LABlab(34.54, 48.41, -76.70)
CIE-LCHlch(34.54, 90.70, 302.26°)
OKLaboklab(45.62% 0.0115 -0.2219)
OKLCHoklch(45.62% 0.222 273)
XYZxyz(14.3527, 8.2705, 59.8593)
Luminance0.0827 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3839CF #CFCE38
analogous
#3885CF #3839CF #8338CF
triadic
#3839CF #CF3839 #39CF38
tetradic
#3839CF #CF3885 #CFCE38 #38CF83
square
#3839CF #CF3885 #CFCE38 #38CF83
split-complementary
#3839CF #CF8338 #85CF38
monochromatic
#1B1C71 #2728A3 #3839CF #696ADB #9B9BE7

Accessibility & contrast

On white

7.91
#3839CF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#3839CF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3839CF
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3839CF#FFFFFF#000000##FFFFFF
##3839CF1.007.912.657.91
#FFFFFF7.911.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058D3
Deuteranopia (green-blind)
#004ACC
Tritanopia (blue-blind)
#006481
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #3839cf;
/* rgb */ color: rgb(56, 57, 207);
/* oklch */ color: oklch(45.6% 0.222 273.0);
Tailwind
colors: {
  custom: {
    50: '#8571df',
    500: '#3839cf',
    950: '#000000',
  },
}
SCSS
$custom: #3839cf;
$custom-light: #8571df;
$custom-dark: #000000;
JSON
{
  "hex": "#3839cf",
  "rgb": {
    "r": 56,
    "g": 57,
    "b": 207
  },
  "hsl": {
    "h": 239.603,
    "s": 61.134,
    "l": 51.569
  },
  "oklch": {
    "l": 0.45616,
    "c": 0.22222,
    "h": 273
  },
  "luminance": 0.08272
}

Semantic roles & 50–950 ramp

primary
#3839CF
secondary
#D3D290
accent
#E344E4
background
#F9F6FD
surface
#F1ECFB
border
#CBC7D4
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #3839CF

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

Preview Lab → · Contrast checker → · Palette generator →

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