#3945E2#3945E2

#3945E2 is a mid, highly saturated blue. Relative luminance 0.106; OKLCH L 49.3% C 0.233 H 271.0°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#3945E2
RGBrgb(57, 69, 226)
HSLhsl(236, 74%, 55%)
HSVhsv(236, 75%, 89%)
CMYKcmyk(74.8%, 69.5%, 0%, 11.4%)
CIE-LABlab(38.92, 47.91, -80.40)
CIE-LCHlch(38.92, 93.59, 300.79°)
OKLaboklab(49.33% 0.0041 -0.2327)
OKLCHoklch(49.33% 0.233 271)
XYZxyz(17.5383, 10.6152, 73.0614)
Luminance0.1062 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3945E2 #E2D639
analogous
#3999E2 #3945E2 #8239E2
triadic
#3945E2 #E23945 #45E239
tetradic
#3945E2 #E23999 #E2D639 #39E282
square
#3945E2 #E23999 #E2D639 #39E282
split-complementary
#3945E2 #E28239 #99E239
monochromatic
#151D8C #1C28C1 #3945E2 #6E77EA #A4A9F2

Accessibility & contrast

On white

6.72
#3945E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#3945E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3945E2
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3945E2#FFFFFF#000000##FFFFFF
##3945E21.006.723.126.72
#FFFFFF6.721.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064E7
Deuteranopia (green-blind)
#0053DF
Tritanopia (blue-blind)
#00718E
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #3945e2;
/* rgb */ color: rgb(57, 69, 226);
/* oklch */ color: oklch(49.3% 0.233 271.0);
Tailwind
colors: {
  custom: {
    50: '#8979ec',
    500: '#3945e2',
    950: '#000000',
  },
}
SCSS
$custom: #3945e2;
$custom-light: #8979ec;
$custom-dark: #000000;
JSON
{
  "hex": "#3945e2",
  "rgb": {
    "r": 57,
    "g": 69,
    "b": 226
  },
  "hsl": {
    "h": 235.74,
    "s": 74.449,
    "l": 55.49
  },
  "oklch": {
    "l": 0.49326,
    "c": 0.23274,
    "h": 271
  },
  "luminance": 0.10617
}

Semantic roles & 50–950 ramp

primary
#3945E2
secondary
#DFDA98
accent
#E437F1
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #3945E2

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

Preview Lab → · Contrast checker → · Palette generator →

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