#3824A8#3824A8

#3824A8 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.8% C 0.195 H 279.0°. Best body text is #FFFFFF at 10.57:1 contrast (WCAG AA passes).

Color values

HEX#3824A8
RGBrgb(56, 36, 168)
HSLhsl(249, 65%, 40%)
HSVhsv(249, 79%, 66%)
CMYKcmyk(66.7%, 78.6%, 0%, 34.1%)
CIE-LABlab(26.53, 47.30, -66.86)
CIE-LCHlch(26.53, 81.90, 305.28°)
OKLaboklab(38.76% 0.0306 -0.1931)
OKLCHoklch(38.76% 0.195 279)
XYZxyz(9.3274, 4.9289, 37.4980)
Luminance0.0493 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3824A8 #94A824
analogous
#2452A8 #3824A8 #7A24A8
triadic
#3824A8 #A83824 #24A838
tetradic
#3824A8 #A82452 #94A824 #24A87A
square
#3824A8 #A82452 #94A824 #24A87A
split-complementary
#3824A8 #A87A24 #52A824
monochromatic
#160E43 #271976 #3824A8 #4D35D4 #7A68DF

Accessibility & contrast

On white

10.57
#3824A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#3824A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3824A8
10.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3824A8#FFFFFF#000000##FFFFFF
##3824A81.0010.571.9910.57
#FFFFFF10.571.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.571.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3824a8;
/* rgb */ color: rgb(56, 36, 168);
/* oklch */ color: oklch(38.8% 0.195 279.0);
Tailwind
colors: {
  custom: {
    50: '#7f62c3',
    500: '#3824a8',
    950: '#000000',
  },
}
SCSS
$custom: #3824a8;
$custom-light: #7f62c3;
$custom-dark: #000000;
JSON
{
  "hex": "#3824a8",
  "rgb": {
    "r": 56,
    "g": 36,
    "b": 168
  },
  "hsl": {
    "h": 249.091,
    "s": 64.706,
    "l": 40
  },
  "oklch": {
    "l": 0.38762,
    "c": 0.19548,
    "h": 279
  },
  "luminance": 0.0493
}

Semantic roles & 50–950 ramp

primary
#3824A8
secondary
#B6C463
accent
#E840CE
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0B0513
muted
#7C7A82

Preview Lab

Preview with #3824A8

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

Preview Lab → · Contrast checker → · Palette generator →

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