#3843BF#3843BF

#3843BF is a mid, vivid blue. Relative luminance 0.086; OKLCH L 45.7% C 0.191 H 272.3°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#3843BF
RGBrgb(56, 67, 191)
HSLhsl(235, 55%, 48%)
HSVhsv(235, 71%, 75%)
CMYKcmyk(70.7%, 64.9%, 0%, 25.1%)
CIE-LABlab(35.23, 37.04, -66.23)
CIE-LCHlch(35.23, 75.88, 299.22°)
OKLaboklab(45.66% 0.0075 -0.1913)
OKLCHoklch(45.66% 0.191 272.3)
XYZxyz(13.0388, 8.6154, 50.2559)
Luminance0.0862 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3843BF #BFB438
analogous
#3886BF #3843BF #7038BF
triadic
#3843BF #BF3843 #43BF38
tetradic
#3843BF #BF3886 #BFB438 #38BF70
square
#3843BF #BF3886 #BFB438 #38BF70
split-complementary
#3843BF #BF7038 #86BF38
monochromatic
#1C2260 #2A3290 #3843BF #636CD1 #9299DF

Accessibility & contrast

On white

7.71
#3843BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#3843BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3843BF
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3843BF#FFFFFF#000000##FFFFFF
##3843BF1.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C3
Deuteranopia (green-blind)
#004DBD
Tritanopia (blue-blind)
#00637B
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #3843bf;
/* rgb */ color: rgb(56, 67, 191);
/* oklch */ color: oklch(45.7% 0.191 272.3);
Tailwind
colors: {
  custom: {
    50: '#8177d3',
    500: '#3843bf',
    950: '#000000',
  },
}
SCSS
$custom: #3843bf;
$custom-light: #8177d3;
$custom-dark: #000000;
JSON
{
  "hex": "#3843bf",
  "rgb": {
    "r": 56,
    "g": 67,
    "b": 191
  },
  "hsl": {
    "h": 235.111,
    "s": 54.656,
    "l": 48.431
  },
  "oklch": {
    "l": 0.45663,
    "c": 0.19148,
    "h": 272.3
  },
  "luminance": 0.08617
}

Semantic roles & 50–950 ramp

primary
#3843BF
secondary
#CAC589
accent
#D24ADE
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0814
muted
#7D7B83

Preview Lab

Preview with #3843BF

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

Preview Lab → · Contrast checker → · Palette generator →

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