#3825A8#3825A8

#3825A8 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.9% C 0.195 H 278.9°. Best body text is #FFFFFF at 10.51:1 contrast (WCAG AA passes).

Color values

HEX#3825A8
RGBrgb(56, 37, 168)
HSLhsl(249, 64%, 40%)
HSVhsv(249, 78%, 66%)
CMYKcmyk(66.7%, 78%, 0%, 34.1%)
CIE-LABlab(26.71, 46.80, -66.57)
CIE-LCHlch(26.71, 81.37, 305.11°)
OKLaboklab(38.89% 0.03 -0.1922)
OKLCHoklch(38.89% 0.195 278.9)
XYZxyz(9.3581, 4.9903, 37.5083)
Luminance0.0499 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3825A8 #95A825
analogous
#2554A8 #3825A8 #7925A8
triadic
#3825A8 #A83825 #25A838
tetradic
#3825A8 #A82554 #95A825 #25A879
square
#3825A8 #A82554 #95A825 #25A879
split-complementary
#3825A8 #A87925 #54A825
monochromatic
#170F44 #271A76 #3825A8 #4E37D3 #7A69DE

Accessibility & contrast

On white

10.51
#3825A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#3825A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3825A8
10.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3825A8#FFFFFF#000000##FFFFFF
##3825A81.0010.512.0010.51
#FFFFFF10.511.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044AC
Deuteranopia (green-blind)
#003AA6
Tritanopia (blue-blind)
#004C66
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #3825a8;
/* rgb */ color: rgb(56, 37, 168);
/* oklch */ color: oklch(38.9% 0.195 278.9);
Tailwind
colors: {
  custom: {
    50: '#7f63c3',
    500: '#3825a8',
    950: '#000000',
  },
}
SCSS
$custom: #3825a8;
$custom-light: #7f63c3;
$custom-dark: #000000;
JSON
{
  "hex": "#3825a8",
  "rgb": {
    "r": 56,
    "g": 37,
    "b": 168
  },
  "hsl": {
    "h": 248.702,
    "s": 63.902,
    "l": 40.196
  },
  "oklch": {
    "l": 0.38885,
    "c": 0.19458,
    "h": 278.9
  },
  "luminance": 0.04991
}

Semantic roles & 50–950 ramp

primary
#3825A8
secondary
#B6C465
accent
#E741CF
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0B0513
muted
#7C7A82

Preview Lab

Preview with #3825A8

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

Preview Lab → · Contrast checker → · Palette generator →

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