#3843BC#3843BC

#3843BC is a mid, vivid blue. Relative luminance 0.085; OKLCH L 45.4% C 0.188 H 272.4°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#3843BC
RGBrgb(56, 67, 188)
HSLhsl(235, 54%, 48%)
HSVhsv(235, 70%, 74%)
CMYKcmyk(70.2%, 64.4%, 0%, 26.3%)
CIE-LABlab(34.97, 35.99, -64.89)
CIE-LCHlch(34.97, 74.21, 299.01°)
OKLaboklab(45.39% 0.0077 -0.1874)
OKLCHoklch(45.39% 0.188 272.4)
XYZxyz(12.7121, 8.4847, 48.5350)
Luminance0.0849 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3843BC #BCB138
analogous
#3885BC #3843BC #6F38BC
triadic
#3843BC #BC3843 #43BC38
tetradic
#3843BC #BC3885 #BCB138 #38BC6F
square
#3843BC #BC3885 #BCB138 #38BC6F
split-complementary
#3843BC #BC6F38 #85BC38
monochromatic
#1C215E #2A328D #3843BC #616AD0 #9097DE

Accessibility & contrast

On white

7.79
#3843BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#3843BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3843BC
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3843BC#FFFFFF#000000##FFFFFF
##3843BC1.007.792.707.79
#FFFFFF7.791.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C0
Deuteranopia (green-blind)
#004CBA
Tritanopia (blue-blind)
#006279
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #3843bc;
/* rgb */ color: rgb(56, 67, 188);
/* oklch */ color: oklch(45.4% 0.188 272.4);
Tailwind
colors: {
  custom: {
    50: '#8077d1',
    500: '#3843bc',
    950: '#000000',
  },
}
SCSS
$custom: #3843bc;
$custom-light: #8077d1;
$custom-dark: #000000;
JSON
{
  "hex": "#3843bc",
  "rgb": {
    "r": 56,
    "g": 67,
    "b": 188
  },
  "hsl": {
    "h": 235,
    "s": 54.098,
    "l": 47.843
  },
  "oklch": {
    "l": 0.45393,
    "c": 0.18758,
    "h": 272.4
  },
  "luminance": 0.08486
}

Semantic roles & 50–950 ramp

primary
#3843BC
secondary
#C9C387
accent
#D14ADD
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0814
muted
#7D7B83

Preview Lab

Preview with #3843BC

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

Preview Lab → · Contrast checker → · Palette generator →

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