#3945B8#3945B8

#3945B8 is a mid, vivid blue. Relative luminance 0.086; OKLCH L 45.5% C 0.180 H 272.4°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#3945B8
RGBrgb(57, 69, 184)
HSLhsl(234, 53%, 47%)
HSVhsv(234, 69%, 72%)
CMYKcmyk(69%, 62.5%, 0%, 27.8%)
CIE-LABlab(35.17, 33.45, -62.21)
CIE-LCHlch(35.17, 70.63, 298.27°)
OKLaboklab(45.45% 0.0076 -0.1795)
OKLCHoklch(45.45% 0.18 272.4)
XYZxyz(12.4643, 8.5856, 46.3384)
Luminance0.0859 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3945B8 #B8AC39
analogous
#3984B8 #3945B8 #6D39B8
triadic
#3945B8 #B83945 #45B839
tetradic
#3945B8 #B83984 #B8AC39 #39B86D
square
#3945B8 #B83984 #B8AC39 #39B86D
split-complementary
#3945B8 #B86D39 #84B839
monochromatic
#1C225B #2B3389 #3945B8 #606BCE #8F96DC

Accessibility & contrast

On white

7.73
#3945B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#3945B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3945B8
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3945B8#FFFFFF#000000##FFFFFF
##3945B81.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BC
Deuteranopia (green-blind)
#004DB6
Tritanopia (blue-blind)
#006278
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #3945b8;
/* rgb */ color: rgb(57, 69, 184);
/* oklch */ color: oklch(45.5% 0.180 272.4);
Tailwind
colors: {
  custom: {
    50: '#8078ce',
    500: '#3945b8',
    950: '#000000',
  },
}
SCSS
$custom: #3945b8;
$custom-light: #8078ce;
$custom-dark: #000000;
JSON
{
  "hex": "#3945b8",
  "rgb": {
    "r": 57,
    "g": 69,
    "b": 184
  },
  "hsl": {
    "h": 234.331,
    "s": 52.697,
    "l": 47.255
  },
  "oklch": {
    "l": 0.45451,
    "c": 0.17966,
    "h": 272.4
  },
  "luminance": 0.08587
}

Semantic roles & 50–950 ramp

primary
#3945B8
secondary
#C7C186
accent
#CE4CDC
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0B0914
muted
#7C7B82

Preview Lab

Preview with #3945B8

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

Preview Lab → · Contrast checker → · Palette generator →

#3945B8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva