#3823A8#3823A8

#3823A8 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.6% C 0.196 H 279.1°. Best body text is #FFFFFF at 10.64:1 contrast (WCAG AA passes).

Color values

HEX#3823A8
RGBrgb(56, 35, 168)
HSLhsl(249, 66%, 40%)
HSVhsv(249, 79%, 66%)
CMYKcmyk(66.7%, 79.2%, 0%, 34.1%)
CIE-LABlab(26.36, 47.80, -67.14)
CIE-LCHlch(26.36, 82.42, 305.45°)
OKLaboklab(38.64% 0.0311 -0.1939)
OKLCHoklch(38.64% 0.196 279.1)
XYZxyz(9.2975, 4.8692, 37.4881)
Luminance0.0487 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3823A8 #93A823
analogous
#2350A8 #3823A8 #7B23A8
triadic
#3823A8 #A83823 #23A838
tetradic
#3823A8 #A82350 #93A823 #23A87B
square
#3823A8 #A82350 #93A823 #23A87B
split-complementary
#3823A8 #A87B23 #50A823
monochromatic
#160E43 #271875 #3823A8 #4D34D5 #7966DF

Accessibility & contrast

On white

10.64
#3823A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3823A8
10.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3823A8#FFFFFF#000000##FFFFFF
##3823A81.0010.641.9710.64
#FFFFFF10.641.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.641.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3823a8;
/* rgb */ color: rgb(56, 35, 168);
/* oklch */ color: oklch(38.6% 0.196 279.1);
Tailwind
colors: {
  custom: {
    50: '#7f62c3',
    500: '#3823a8',
    950: '#000000',
  },
}
SCSS
$custom: #3823a8;
$custom-light: #7f62c3;
$custom-dark: #000000;
JSON
{
  "hex": "#3823a8",
  "rgb": {
    "r": 56,
    "g": 35,
    "b": 168
  },
  "hsl": {
    "h": 249.474,
    "s": 65.517,
    "l": 39.804
  },
  "oklch": {
    "l": 0.38642,
    "c": 0.19638,
    "h": 279.1
  },
  "luminance": 0.0487
}

Semantic roles & 50–950 ramp

primary
#3823A8
secondary
#B5C562
accent
#E83FCE
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0B0513
muted
#7C7A82

Preview Lab

Preview with #3823A8

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

Preview Lab → · Contrast checker → · Palette generator →

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