#3943B8#3943B8

#3943B8 is a mid, vivid blue. Relative luminance 0.083; OKLCH L 45.1% C 0.182 H 272.9°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#3943B8
RGBrgb(57, 67, 184)
HSLhsl(235, 53%, 47%)
HSVhsv(235, 69%, 72%)
CMYKcmyk(69%, 63.6%, 0%, 27.8%)
CIE-LABlab(34.69, 34.72, -63.00)
CIE-LCHlch(34.69, 71.93, 298.86°)
OKLaboklab(45.1% 0.0091 -0.1818)
OKLCHoklch(45.1% 0.182 272.9)
XYZxyz(12.3433, 8.3437, 46.2981)
Luminance0.0834 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3943B8 #B8AE39
analogous
#3982B8 #3943B8 #6F39B8
triadic
#3943B8 #B83943 #43B839
tetradic
#3943B8 #B83982 #B8AE39 #39B86F
square
#3943B8 #B83982 #B8AE39 #39B86F
split-complementary
#3943B8 #B86F39 #82B839
monochromatic
#1C215B #2B3289 #3943B8 #6069CE #8F95DC

Accessibility & contrast

On white

7.87
#3943B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#3943B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3943B8
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3943B8#FFFFFF#000000##FFFFFF
##3943B81.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057BC
Deuteranopia (green-blind)
#004CB6
Tritanopia (blue-blind)
#006177
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #3943b8;
/* rgb */ color: rgb(57, 67, 184);
/* oklch */ color: oklch(45.1% 0.182 272.9);
Tailwind
colors: {
  custom: {
    50: '#8077ce',
    500: '#3943b8',
    950: '#000000',
  },
}
SCSS
$custom: #3943b8;
$custom-light: #8077ce;
$custom-dark: #000000;
JSON
{
  "hex": "#3943b8",
  "rgb": {
    "r": 57,
    "g": 67,
    "b": 184
  },
  "hsl": {
    "h": 235.276,
    "s": 52.697,
    "l": 47.255
  },
  "oklch": {
    "l": 0.45095,
    "c": 0.18207,
    "h": 272.9
  },
  "luminance": 0.08345
}

Semantic roles & 50–950 ramp

primary
#3943B8
secondary
#C7C286
accent
#D14CDC
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0C0814
muted
#7D7B82

Preview Lab

Preview with #3943B8

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

Preview Lab → · Contrast checker → · Palette generator →

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