#3834CF#3834CF

#3834CF is a dark, highly saturated blue. Relative luminance 0.078; OKLCH L 44.9% C 0.227 H 273.5°. Best body text is #FFFFFF at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#3834CF
RGBrgb(56, 52, 207)
HSLhsl(242, 62%, 51%)
HSVhsv(242, 75%, 81%)
CMYKcmyk(72.9%, 74.9%, 0%, 18.8%)
CIE-LABlab(33.56, 51.16, -78.31)
CIE-LCHlch(33.56, 93.54, 303.16°)
OKLaboklab(44.92% 0.0138 -0.2266)
OKLCHoklch(44.92% 0.227 273.5)
XYZxyz(14.1176, 7.8003, 59.7810)
Luminance0.0780 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3834CF #CBCF34
analogous
#347ECF #3834CF #8534CF
triadic
#3834CF #CF3834 #34CF38
tetradic
#3834CF #CF347E #CBCF34 #34CF85
square
#3834CF #CF347E #CBCF34 #34CF85
split-complementary
#3834CF #CF8534 #7ECF34
monochromatic
#1C1A6E #2926A0 #3834CF #6965DB #9997E6

Accessibility & contrast

On white

8.20
#3834CF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#3834CF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3834CF
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3834CF#FFFFFF#000000##FFFFFF
##3834CF1.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056D3
Deuteranopia (green-blind)
#0047CC
Tritanopia (blue-blind)
#00627F
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #3834cf;
/* rgb */ color: rgb(56, 52, 207);
/* oklch */ color: oklch(44.9% 0.227 273.5);
Tailwind
colors: {
  custom: {
    50: '#866edf',
    500: '#3834cf',
    950: '#000000',
  },
}
SCSS
$custom: #3834cf;
$custom-light: #866edf;
$custom-dark: #000000;
JSON
{
  "hex": "#3834cf",
  "rgb": {
    "r": 56,
    "g": 52,
    "b": 207
  },
  "hsl": {
    "h": 241.548,
    "s": 61.753,
    "l": 50.784
  },
  "oklch": {
    "l": 0.44923,
    "c": 0.227,
    "h": 273.5
  },
  "luminance": 0.07802
}

Semantic roles & 50–950 ramp

primary
#3834CF
secondary
#D0D28D
accent
#E543E1
background
#F9F6FD
surface
#F1ECFB
border
#CBC7D4
text
#0D0715
muted
#7E7A83

Preview Lab

Preview with #3834CF

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

Preview Lab → · Contrast checker → · Palette generator →

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