#3945B0#3945B0

#3945B0 is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.8% C 0.169 H 272.7°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#3945B0
RGBrgb(57, 69, 176)
HSLhsl(234, 51%, 46%)
HSVhsv(234, 68%, 69%)
CMYKcmyk(67.6%, 60.8%, 0%, 31%)
CIE-LABlab(34.52, 30.62, -58.54)
CIE-LCHlch(34.52, 66.06, 297.61°)
OKLaboklab(44.76% 0.0078 -0.1687)
OKLCHoklch(44.76% 0.169 272.7)
XYZxyz(11.6493, 8.2596, 42.0462)
Luminance0.0826 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3945B0 #B0A439
analogous
#3980B0 #3945B0 #6939B0
triadic
#3945B0 #B03945 #45B039
tetradic
#3945B0 #B03980 #B0A439 #39B069
square
#3945B0 #B03980 #B0A439 #39B069
split-complementary
#3945B0 #B06939 #80B039
monochromatic
#1B2154 #2A3382 #3945B0 #5C67CA #8A92D9

Accessibility & contrast

On white

7.92
#3945B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#3945B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3945B0
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3945B0#FFFFFF#000000##FFFFFF
##3945B01.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B4
Deuteranopia (green-blind)
#004CAE
Tritanopia (blue-blind)
#006074
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #3945b0;
/* rgb */ color: rgb(57, 69, 176);
/* oklch */ color: oklch(44.8% 0.169 272.7);
Tailwind
colors: {
  custom: {
    50: '#7e78c8',
    500: '#3945b0',
    950: '#000000',
  },
}
SCSS
$custom: #3945b0;
$custom-light: #7e78c8;
$custom-dark: #000000;
JSON
{
  "hex": "#3945b0",
  "rgb": {
    "r": 57,
    "g": 69,
    "b": 176
  },
  "hsl": {
    "h": 233.95,
    "s": 51.073,
    "l": 45.686
  },
  "oklch": {
    "l": 0.44763,
    "c": 0.16892,
    "h": 272.7
  },
  "luminance": 0.08261
}

Semantic roles & 50–950 ramp

primary
#3945B0
secondary
#C4BD81
accent
#CC4DDB
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #3945B0

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

Preview Lab → · Contrast checker → · Palette generator →

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