#3823A7#3823A7

#3823A7 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 38.5% C 0.195 H 279.2°. Best body text is #FFFFFF at 10.68:1 contrast (WCAG AA passes).

Color values

HEX#3823A7
RGBrgb(56, 35, 167)
HSLhsl(250, 65%, 40%)
HSVhsv(250, 79%, 65%)
CMYKcmyk(66.5%, 79%, 0%, 34.5%)
CIE-LABlab(26.25, 47.50, -66.72)
CIE-LCHlch(26.25, 81.90, 305.45°)
OKLaboklab(38.54% 0.0314 -0.1927)
OKLCHoklch(38.54% 0.195 279.2)
XYZxyz(9.2047, 4.8321, 36.9993)
Luminance0.0483 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3823A7 #92A723
analogous
#2350A7 #3823A7 #7A23A7
triadic
#3823A7 #A73823 #23A738
tetradic
#3823A7 #A72350 #92A723 #23A77A
square
#3823A7 #A72350 #92A723 #23A77A
split-complementary
#3823A7 #A77A23 #50A723
monochromatic
#160E42 #271874 #3823A7 #4D33D4 #7966DF

Accessibility & contrast

On white

10.68
#3823A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#3823A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3823A7
10.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3823A7#FFFFFF#000000##FFFFFF
##3823A71.0010.681.9710.68
#FFFFFF10.681.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043AB
Deuteranopia (green-blind)
#0039A5
Tritanopia (blue-blind)
#004B65
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #3823a7;
/* rgb */ color: rgb(56, 35, 167);
/* oklch */ color: oklch(38.5% 0.195 279.2);
Tailwind
colors: {
  custom: {
    50: '#7e62c2',
    500: '#3823a7',
    950: '#000000',
  },
}
SCSS
$custom: #3823a7;
$custom-light: #7e62c2;
$custom-dark: #000000;
JSON
{
  "hex": "#3823a7",
  "rgb": {
    "r": 56,
    "g": 35,
    "b": 167
  },
  "hsl": {
    "h": 249.545,
    "s": 65.347,
    "l": 39.608
  },
  "oklch": {
    "l": 0.38535,
    "c": 0.1952,
    "h": 279.2
  },
  "luminance": 0.04833
}

Semantic roles & 50–950 ramp

primary
#3823A7
secondary
#B5C461
accent
#E83FCD
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0B0513
muted
#7C7A82

Preview Lab

Preview with #3823A7

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

Preview Lab → · Contrast checker → · Palette generator →

#3823A7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva