#3846CA#3846CA

#3846CA is a mid, highly saturated blue. Relative luminance 0.095; OKLCH L 47.2% C 0.202 H 271.4°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#3846CA
RGBrgb(56, 70, 202)
HSLhsl(234, 58%, 51%)
HSVhsv(234, 72%, 79%)
CMYKcmyk(72.3%, 65.3%, 0%, 20.8%)
CIE-LABlab(36.90, 39.01, -69.92)
CIE-LCHlch(36.90, 80.07, 299.16°)
OKLaboklab(47.18% 0.0048 -0.2021)
OKLCHoklch(47.18% 0.202 271.4)
XYZxyz(14.4781, 9.4839, 56.9332)
Luminance0.0949 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3846CA #CABC38
analogous
#388FCA #3846CA #7338CA
triadic
#3846CA #CA3846 #46CA38
tetradic
#3846CA #CA388F #CABC38 #38CA73
square
#3846CA #CA388F #CABC38 #38CA73
split-complementary
#3846CA #CA7338 #8FCA38
monochromatic
#1D246B #29349B #3846CA #6873D7 #99A0E4

Accessibility & contrast

On white

7.25
#3846CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#3846CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3846CA
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3846CA#FFFFFF#000000##FFFFFF
##3846CA1.007.252.907.25
#FFFFFF7.251.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ECE
Deuteranopia (green-blind)
#0050C8
Tritanopia (blue-blind)
#006982
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #3846ca;
/* rgb */ color: rgb(56, 70, 202);
/* oklch */ color: oklch(47.2% 0.202 271.4);
Tailwind
colors: {
  custom: {
    50: '#8379db',
    500: '#3846ca',
    950: '#000000',
  },
}
SCSS
$custom: #3846ca;
$custom-light: #8379db;
$custom-dark: #000000;
JSON
{
  "hex": "#3846ca",
  "rgb": {
    "r": 56,
    "g": 70,
    "b": 202
  },
  "hsl": {
    "h": 234.247,
    "s": 57.937,
    "l": 50.588
  },
  "oklch": {
    "l": 0.47177,
    "c": 0.20218,
    "h": 271.4
  },
  "luminance": 0.09485
}

Semantic roles & 50–950 ramp

primary
#3846CA
secondary
#CFC98E
accent
#D247E1
background
#F8F7FD
surface
#F0EDFB
border
#CBC8D4
text
#0C0915
muted
#7D7B83

Preview Lab

Preview with #3846CA

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

Preview Lab → · Contrast checker → · Palette generator →

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