#3848AF#3848AF

#3848AF is a mid, vivid blue. Relative luminance 0.086; OKLCH L 45.2% C 0.164 H 271.5°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#3848AF
RGBrgb(56, 72, 175)
HSLhsl(232, 52%, 45%)
HSVhsv(232, 68%, 69%)
CMYKcmyk(68%, 58.9%, 0%, 31.4%)
CIE-LABlab(35.14, 28.17, -56.93)
CIE-LCHlch(35.14, 63.52, 296.32°)
OKLaboklab(45.18% 0.0043 -0.164)
OKLCHoklch(45.18% 0.164 271.5)
XYZxyz(11.6835, 8.5695, 41.5875)
Luminance0.0857 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3848AF #AF9F38
analogous
#3883AF #3848AF #6438AF
triadic
#3848AF #AF3848 #48AF38
tetradic
#3848AF #AF3883 #AF9F38 #38AF64
square
#3848AF #AF3883 #AF9F38 #38AF64
split-complementary
#3848AF #AF6438 #83AF38
monochromatic
#1A2252 #293581 #3848AF #5A69CA #8893D9

Accessibility & contrast

On white

7.74
#3848AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#3848AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3848AF
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3848AF#FFFFFF#000000##FFFFFF
##3848AF1.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B2
Deuteranopia (green-blind)
#004DAD
Tritanopia (blue-blind)
#006174
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #3848af;
/* rgb */ color: rgb(56, 72, 175);
/* oklch */ color: oklch(45.2% 0.164 271.5);
Tailwind
colors: {
  custom: {
    50: '#7d7ac8',
    500: '#3848af',
    950: '#000000',
  },
}
SCSS
$custom: #3848af;
$custom-light: #7d7ac8;
$custom-dark: #000000;
JSON
{
  "hex": "#3848af",
  "rgb": {
    "r": 56,
    "g": 72,
    "b": 175
  },
  "hsl": {
    "h": 231.933,
    "s": 51.515,
    "l": 45.294
  },
  "oklch": {
    "l": 0.45185,
    "c": 0.16407,
    "h": 271.5
  },
  "luminance": 0.08571
}

Semantic roles & 50–950 ramp

primary
#3848AF
secondary
#C3BA80
accent
#C84DDB
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #3848AF

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

Preview Lab → · Contrast checker → · Palette generator →

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