#3935A8#3935A8

#3935A8 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 41.3% C 0.178 H 276.8°. Best body text is #FFFFFF at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#3935A8
RGBrgb(57, 53, 168)
HSLhsl(242, 52%, 43%)
HSVhsv(242, 68%, 66%)
CMYKcmyk(66.1%, 68.5%, 0%, 34.1%)
CIE-LABlab(30.02, 37.90, -61.12)
CIE-LCHlch(30.02, 71.92, 301.80°)
OKLaboklab(41.26% 0.021 -0.1764)
OKLCHoklch(41.26% 0.178 276.8)
XYZxyz(10.0260, 6.2424, 37.7147)
Luminance0.0624 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3935A8 #A4A835
analogous
#356AA8 #3935A8 #7235A8
triadic
#3935A8 #A83935 #35A839
tetradic
#3935A8 #A8356A #A4A835 #35A872
square
#3935A8 #A8356A #A4A835 #35A872
split-complementary
#3935A8 #A87235 #6AA835
monochromatic
#19184B #292679 #3935A8 #5652C8 #8380D7

Accessibility & contrast

On white

9.34
#3935A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#3935A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3935A8
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3935A8#FFFFFF#000000##FFFFFF
##3935A81.009.342.259.34
#FFFFFF9.341.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CAC
Deuteranopia (green-blind)
#0042A6
Tritanopia (blue-blind)
#00546A
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #3935a8;
/* rgb */ color: rgb(57, 53, 168);
/* oklch */ color: oklch(41.3% 0.178 276.8);
Tailwind
colors: {
  custom: {
    50: '#7e6dc3',
    500: '#3935a8',
    950: '#000000',
  },
}
SCSS
$custom: #3935a8;
$custom-light: #7e6dc3;
$custom-dark: #000000;
JSON
{
  "hex": "#3935a8",
  "rgb": {
    "r": 57,
    "g": 53,
    "b": 168
  },
  "hsl": {
    "h": 242.087,
    "s": 52.036,
    "l": 43.333
  },
  "oklch": {
    "l": 0.41259,
    "c": 0.17763,
    "h": 276.8
  },
  "luminance": 0.06243
}

Semantic roles & 50–950 ramp

primary
#3935A8
secondary
#BEC078
accent
#DB4CD6
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #3935A8

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

Preview Lab → · Contrast checker → · Palette generator →

#3935A8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva