#3845CD#3845CD

#3845CD is a mid, highly saturated blue. Relative luminance 0.095; OKLCH L 47.3% C 0.207 H 271.4°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#3845CD
RGBrgb(56, 69, 205)
HSLhsl(235, 60%, 51%)
HSVhsv(235, 73%, 80%)
CMYKcmyk(72.7%, 66.3%, 0%, 19.6%)
CIE-LABlab(36.94, 40.67, -71.60)
CIE-LCHlch(36.94, 82.35, 299.60°)
OKLaboklab(47.29% 0.0052 -0.207)
OKLCHoklch(47.29% 0.207 271.4)
XYZxyz(14.7747, 9.5033, 58.8014)
Luminance0.0950 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3845CD #CDC038
analogous
#388FCD #3845CD #7538CD
triadic
#3845CD #CD3845 #45CD38
tetradic
#3845CD #CD388F #CDC038 #38CD75
square
#3845CD #CD388F #CDC038 #38CD75
split-complementary
#3845CD #CD7538 #8FCD38
monochromatic
#1C236F #2833A0 #3845CD #6973D9 #9AA0E6

Accessibility & contrast

On white

7.24
#3845CD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#3845CD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3845CD
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3845CD#FFFFFF#000000##FFFFFF
##3845CD1.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ED1
Deuteranopia (green-blind)
#0050CA
Tritanopia (blue-blind)
#006983
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #3845cd;
/* rgb */ color: rgb(56, 69, 205);
/* oklch */ color: oklch(47.3% 0.207 271.4);
Tailwind
colors: {
  custom: {
    50: '#8479dd',
    500: '#3845cd',
    950: '#000000',
  },
}
SCSS
$custom: #3845cd;
$custom-light: #8479dd;
$custom-dark: #000000;
JSON
{
  "hex": "#3845cd",
  "rgb": {
    "r": 56,
    "g": 69,
    "b": 205
  },
  "hsl": {
    "h": 234.765,
    "s": 59.839,
    "l": 51.176
  },
  "oklch": {
    "l": 0.47285,
    "c": 0.2071,
    "h": 271.4
  },
  "luminance": 0.09505
}

Semantic roles & 50–950 ramp

primary
#3845CD
secondary
#D1CC8F
accent
#D545E3
background
#F8F7FD
surface
#F0EDFB
border
#CBC8D4
text
#0C0915
muted
#7D7B83

Preview Lab

Preview with #3845CD

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

Preview Lab → · Contrast checker → · Palette generator →

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