#3945CA#3945CA

#3945CA is a mid, highly saturated blue. Relative luminance 0.094; OKLCH L 47.1% C 0.203 H 271.8°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#3945CA
RGBrgb(57, 69, 202)
HSLhsl(235, 58%, 51%)
HSVhsv(235, 72%, 79%)
CMYKcmyk(71.8%, 65.8%, 0%, 20.8%)
CIE-LABlab(36.72, 39.74, -70.21)
CIE-LCHlch(36.72, 80.68, 299.51°)
OKLaboklab(47.06% 0.0065 -0.2029)
OKLCHoklch(47.06% 0.203 271.8)
XYZxyz(14.4725, 9.3889, 56.9152)
Luminance0.0939 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3945CA #CABE39
analogous
#398ECA #3945CA #7539CA
triadic
#3945CA #CA3945 #45CA39
tetradic
#3945CA #CA398E #CABE39 #39CA75
square
#3945CA #CA398E #CABE39 #39CA75
split-complementary
#3945CA #CA7539 #8ECA39
monochromatic
#1D236C #2A339C #3945CA #6972D7 #9AA0E4

Accessibility & contrast

On white

7.30
#3945CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#3945CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3945CA
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3945CA#FFFFFF#000000##FFFFFF
##3945CA1.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DCE
Deuteranopia (green-blind)
#0050C7
Tritanopia (blue-blind)
#006881
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #3945ca;
/* rgb */ color: rgb(57, 69, 202);
/* oklch */ color: oklch(47.1% 0.203 271.8);
Tailwind
colors: {
  custom: {
    50: '#8479db',
    500: '#3945ca',
    950: '#000000',
  },
}
SCSS
$custom: #3945ca;
$custom-light: #8479db;
$custom-dark: #000000;
JSON
{
  "hex": "#3945ca",
  "rgb": {
    "r": 57,
    "g": 69,
    "b": 202
  },
  "hsl": {
    "h": 235.034,
    "s": 57.769,
    "l": 50.784
  },
  "oklch": {
    "l": 0.47063,
    "c": 0.20304,
    "h": 271.8
  },
  "luminance": 0.0939
}

Semantic roles & 50–950 ramp

primary
#3945CA
secondary
#D0CA8F
accent
#D447E1
background
#F8F7FD
surface
#F0EDFB
border
#CBC8D4
text
#0C0915
muted
#7D7B83

Preview Lab

Preview with #3945CA

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

Preview Lab → · Contrast checker → · Palette generator →

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