#3823AF#3823AF

#3823AF is a dark, highly saturated blue. Relative luminance 0.051; OKLCH L 39.4% C 0.205 H 278.2°. Best body text is #FFFFFF at 10.36:1 contrast (WCAG AA passes).

Color values

HEX#3823AF
RGBrgb(56, 35, 175)
HSLhsl(249, 67%, 41%)
HSVhsv(249, 80%, 69%)
CMYKcmyk(68%, 80%, 0%, 31.4%)
CIE-LABlab(27.12, 49.92, -70.09)
CIE-LCHlch(27.12, 86.05, 305.46°)
OKLaboklab(39.4% 0.0291 -0.2025)
OKLCHoklch(39.4% 0.205 278.2)
XYZxyz(9.9673, 5.1371, 41.0154)
Luminance0.0514 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3823AF #9AAF23
analogous
#2354AF #3823AF #7E23AF
triadic
#3823AF #AF3823 #23AF38
tetradic
#3823AF #AF2354 #9AAF23 #23AF7E
square
#3823AF #AF2354 #9AAF23 #23AF7E
split-complementary
#3823AF #AF7E23 #54AF23
monochromatic
#170F49 #28197C #3823AF #5038D7 #7D6BE1

Accessibility & contrast

On white

10.36
#3823AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#3823AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3823AF
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3823AF#FFFFFF#000000##FFFFFF
##3823AF1.0010.362.0310.36
#FFFFFF10.361.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045B3
Deuteranopia (green-blind)
#003AAD
Tritanopia (blue-blind)
#004E69
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #3823af;
/* rgb */ color: rgb(56, 35, 175);
/* oklch */ color: oklch(39.4% 0.205 278.2);
Tailwind
colors: {
  custom: {
    50: '#8062c8',
    500: '#3823af',
    950: '#000000',
  },
}
SCSS
$custom: #3823af;
$custom-light: #8062c8;
$custom-dark: #000000;
JSON
{
  "hex": "#3823af",
  "rgb": {
    "r": 56,
    "g": 35,
    "b": 175
  },
  "hsl": {
    "h": 249,
    "s": 66.667,
    "l": 41.176
  },
  "oklch": {
    "l": 0.39398,
    "c": 0.20456,
    "h": 278.2
  },
  "luminance": 0.05138
}

Semantic roles & 50–950 ramp

primary
#3823AF
secondary
#B9C766
accent
#EA3ED0
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0513
muted
#7D7A82

Preview Lab

Preview with #3823AF

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

Preview Lab → · Contrast checker → · Palette generator →

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