#3943A7#3943A7

#3943A7 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.6% C 0.159 H 273.5°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#3943A7
RGBrgb(57, 67, 167)
HSLhsl(235, 49%, 44%)
HSVhsv(235, 66%, 65%)
CMYKcmyk(65.9%, 59.9%, 0%, 34.5%)
CIE-LABlab(33.29, 28.71, -55.17)
CIE-LCHlch(33.29, 62.19, 297.49°)
OKLaboklab(43.63% 0.0097 -0.1588)
OKLCHoklch(43.63% 0.159 273.5)
XYZxyz(10.6672, 7.6733, 37.4707)
Luminance0.0767 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3943A7 #A79D39
analogous
#397AA7 #3943A7 #6639A7
triadic
#3943A7 #A73943 #43A739
tetradic
#3943A7 #A7397A #A79D39 #39A766
square
#3943A7 #A7397A #A79D39 #39A766
split-complementary
#3943A7 #A76639 #7AA739
monochromatic
#1A1E4C #293179 #3943A7 #5761C6 #858CD5

Accessibility & contrast

On white

8.28
#3943A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#3943A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3943A7
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3943A7#FFFFFF#000000##FFFFFF
##3943A71.008.282.538.28
#FFFFFF8.281.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053AA
Deuteranopia (green-blind)
#0049A5
Tritanopia (blue-blind)
#005C6E
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #3943a7;
/* rgb */ color: rgb(57, 67, 167);
/* oklch */ color: oklch(43.6% 0.159 273.5);
Tailwind
colors: {
  custom: {
    50: '#7c77c2',
    500: '#3943a7',
    950: '#000000',
  },
}
SCSS
$custom: #3943a7;
$custom-light: #7c77c2;
$custom-dark: #000000;
JSON
{
  "hex": "#3943a7",
  "rgb": {
    "r": 57,
    "g": 67,
    "b": 167
  },
  "hsl": {
    "h": 234.545,
    "s": 49.107,
    "l": 43.922
  },
  "oklch": {
    "l": 0.43631,
    "c": 0.15913,
    "h": 273.5
  },
  "luminance": 0.07674
}

Semantic roles & 50–950 ramp

primary
#3943A7
secondary
#BFB97D
accent
#CC4FD9
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0812
muted
#7C7B81

Preview Lab

Preview with #3943A7

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

Preview Lab → · Contrast checker → · Palette generator →

#3943A7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva