#3824A7#3824A7

#3824A7 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.7% C 0.194 H 279.1°. Best body text is #FFFFFF at 10.61:1 contrast (WCAG AA passes).

Color values

HEX#3824A7
RGBrgb(56, 36, 167)
HSLhsl(249, 65%, 40%)
HSVhsv(249, 78%, 65%)
CMYKcmyk(66.5%, 78.4%, 0%, 34.5%)
CIE-LABlab(26.42, 47.00, -66.43)
CIE-LCHlch(26.42, 81.37, 305.28°)
OKLaboklab(38.66% 0.0308 -0.1918)
OKLCHoklch(38.66% 0.194 279.1)
XYZxyz(9.2346, 4.8918, 37.0093)
Luminance0.0489 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3824A7 #93A724
analogous
#2452A7 #3824A7 #7924A7
triadic
#3824A7 #A73824 #24A738
tetradic
#3824A7 #A72452 #93A724 #24A779
square
#3824A7 #A72452 #93A724 #24A779
split-complementary
#3824A7 #A77924 #52A724
monochromatic
#160E42 #271975 #3824A7 #4D35D3 #7967DE

Accessibility & contrast

On white

10.61
#3824A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#3824A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3824A7
10.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3824A7#FFFFFF#000000##FFFFFF
##3824A71.0010.611.9810.61
#FFFFFF10.611.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.611.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: #3824a7;
/* rgb */ color: rgb(56, 36, 167);
/* oklch */ color: oklch(38.7% 0.194 279.1);
Tailwind
colors: {
  custom: {
    50: '#7e62c2',
    500: '#3824a7',
    950: '#000000',
  },
}
SCSS
$custom: #3824a7;
$custom-light: #7e62c2;
$custom-dark: #000000;
JSON
{
  "hex": "#3824a7",
  "rgb": {
    "r": 56,
    "g": 36,
    "b": 167
  },
  "hsl": {
    "h": 249.16,
    "s": 64.532,
    "l": 39.804
  },
  "oklch": {
    "l": 0.38656,
    "c": 0.1943,
    "h": 279.1
  },
  "luminance": 0.04893
}

Semantic roles & 50–950 ramp

primary
#3824A7
secondary
#B5C463
accent
#E840CE
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0513
muted
#7C7A82

Preview Lab

Preview with #3824A7

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

Preview Lab → · Contrast checker → · Palette generator →

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