#3843AF#3843AF

#3843AF is a dark, vivid blue. Relative luminance 0.080; OKLCH L 44.2% C 0.170 H 272.8°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#3843AF
RGBrgb(56, 67, 175)
HSLhsl(234, 52%, 45%)
HSVhsv(234, 68%, 69%)
CMYKcmyk(68%, 61.7%, 0%, 31.4%)
CIE-LABlab(33.88, 31.40, -59.00)
CIE-LCHlch(33.88, 66.83, 298.03°)
OKLaboklab(44.25% 0.0084 -0.1701)
OKLCHoklch(44.25% 0.17 272.8)
XYZxyz(11.3733, 7.9492, 41.4841)
Luminance0.0795 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3843AF #AFA438
analogous
#387EAF #3843AF #6938AF
triadic
#3843AF #AF3843 #43AF38
tetradic
#3843AF #AF387E #AFA438 #38AF69
square
#3843AF #AF387E #AFA438 #38AF69
split-complementary
#3843AF #AF6938 #7EAF38
monochromatic
#1A1F52 #293181 #3843AF #5A64CA #8890D9

Accessibility & contrast

On white

8.11
#3843AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#3843AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3843AF
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3843AF#FFFFFF#000000##FFFFFF
##3843AF1.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B3
Deuteranopia (green-blind)
#004AAD
Tritanopia (blue-blind)
#005E72
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #3843af;
/* rgb */ color: rgb(56, 67, 175);
/* oklch */ color: oklch(44.2% 0.170 272.8);
Tailwind
colors: {
  custom: {
    50: '#7d77c8',
    500: '#3843af',
    950: '#000000',
  },
}
SCSS
$custom: #3843af;
$custom-light: #7d77c8;
$custom-dark: #000000;
JSON
{
  "hex": "#3843af",
  "rgb": {
    "r": 56,
    "g": 67,
    "b": 175
  },
  "hsl": {
    "h": 234.454,
    "s": 51.515,
    "l": 45.294
  },
  "oklch": {
    "l": 0.44248,
    "c": 0.17032,
    "h": 272.8
  },
  "luminance": 0.0795
}

Semantic roles & 50–950 ramp

primary
#3843AF
secondary
#C3BD80
accent
#CE4DDB
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #3843AF

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

Preview Lab → · Contrast checker → · Palette generator →

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