#3846AF#3846AF

#3846AF is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.8% C 0.167 H 272.0°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#3846AF
RGBrgb(56, 70, 175)
HSLhsl(233, 52%, 45%)
HSVhsv(233, 68%, 69%)
CMYKcmyk(68%, 60%, 0%, 31.4%)
CIE-LABlab(34.63, 29.47, -57.77)
CIE-LCHlch(34.63, 64.85, 297.03°)
OKLaboklab(44.81% 0.0059 -0.1665)
OKLCHoklch(44.81% 0.167 272)
XYZxyz(11.5563, 8.3151, 41.5451)
Luminance0.0832 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3846AF #AFA138
analogous
#3881AF #3846AF #6538AF
triadic
#3846AF #AF3846 #46AF38
tetradic
#3846AF #AF3881 #AFA138 #38AF65
square
#3846AF #AF3881 #AFA138 #38AF65
split-complementary
#3846AF #AF6538 #81AF38
monochromatic
#1A2152 #293381 #3846AF #5A67CA #8892D9

Accessibility & contrast

On white

7.89
#3846AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#3846AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3846AF
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3846AF#FFFFFF#000000##FFFFFF
##3846AF1.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B2
Deuteranopia (green-blind)
#004CAD
Tritanopia (blue-blind)
#006073
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #3846af;
/* rgb */ color: rgb(56, 70, 175);
/* oklch */ color: oklch(44.8% 0.167 272.0);
Tailwind
colors: {
  custom: {
    50: '#7d79c8',
    500: '#3846af',
    950: '#000000',
  },
}
SCSS
$custom: #3846af;
$custom-light: #7d79c8;
$custom-dark: #000000;
JSON
{
  "hex": "#3846af",
  "rgb": {
    "r": 56,
    "g": 70,
    "b": 175
  },
  "hsl": {
    "h": 232.941,
    "s": 51.515,
    "l": 45.294
  },
  "oklch": {
    "l": 0.44806,
    "c": 0.16659,
    "h": 272
  },
  "luminance": 0.08316
}

Semantic roles & 50–950 ramp

primary
#3846AF
secondary
#C3BB80
accent
#CA4DDB
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #3846AF

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

Preview Lab → · Contrast checker → · Palette generator →

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