#3843CD#3843CD

#3843CD is a mid, highly saturated blue. Relative luminance 0.093; OKLCH L 47.0% C 0.209 H 271.7°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#3843CD
RGBrgb(56, 67, 205)
HSLhsl(236, 60%, 51%)
HSVhsv(236, 73%, 80%)
CMYKcmyk(72.7%, 67.3%, 0%, 19.6%)
CIE-LABlab(36.48, 41.89, -72.34)
CIE-LCHlch(36.48, 83.60, 300.07°)
OKLaboklab(46.96% 0.0064 -0.2092)
OKLCHoklch(46.96% 0.209 271.7)
XYZxyz(14.6538, 9.2613, 58.7611)
Luminance0.0926 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3843CD #CDC238
analogous
#388ECD #3843CD #7738CD
triadic
#3843CD #CD3843 #43CD38
tetradic
#3843CD #CD388E #CDC238 #38CD77
square
#3843CD #CD388E #CDC238 #38CD77
split-complementary
#3843CD #CD7738 #8ECD38
monochromatic
#1C226F #2831A0 #3843CD #6971D9 #9A9FE6

Accessibility & contrast

On white

7.36
#3843CD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#3843CD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3843CD
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3843CD#FFFFFF#000000##FFFFFF
##3843CD1.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DD1
Deuteranopia (green-blind)
#004FCA
Tritanopia (blue-blind)
#006882
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #3843cd;
/* rgb */ color: rgb(56, 67, 205);
/* oklch */ color: oklch(47.0% 0.209 271.7);
Tailwind
colors: {
  custom: {
    50: '#8477dd',
    500: '#3843cd',
    950: '#000000',
  },
}
SCSS
$custom: #3843cd;
$custom-light: #8477dd;
$custom-dark: #000000;
JSON
{
  "hex": "#3843cd",
  "rgb": {
    "r": 56,
    "g": 67,
    "b": 205
  },
  "hsl": {
    "h": 235.57,
    "s": 59.839,
    "l": 51.176
  },
  "oklch": {
    "l": 0.46956,
    "c": 0.20932,
    "h": 271.7
  },
  "luminance": 0.09263
}

Semantic roles & 50–950 ramp

primary
#3843CD
secondary
#D1CC8F
accent
#D745E3
background
#F8F7FD
surface
#F0EDFB
border
#CBC8D4
text
#0D0915
muted
#7D7B83

Preview Lab

Preview with #3843CD

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

Preview Lab → · Contrast checker → · Palette generator →

#3843CD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva