#3A4DC8#3A4DC8

#3A4DC8 is a mid, vivid blue. Relative luminance 0.104; OKLCH L 48.3% C 0.191 H 270.7°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#3A4DC8
RGBrgb(58, 77, 200)
HSLhsl(232, 56%, 51%)
HSVhsv(232, 71%, 78%)
CMYKcmyk(71%, 61.5%, 0%, 21.6%)
CIE-LABlab(38.51, 34.17, -66.12)
CIE-LCHlch(38.51, 74.43, 297.33°)
OKLaboklab(48.34% 0.0022 -0.1909)
OKLCHoklch(48.34% 0.191 270.7)
XYZxyz(14.8206, 10.3759, 55.8541)
Luminance0.1038 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A4DC8 #C8B53A
analogous
#3A94C8 #3A4DC8 #6E3AC8
triadic
#3A4DC8 #C83A4D #4DC83A
tetradic
#3A4DC8 #C83A94 #C8B53A #3AC86E
square
#3A4DC8 #C83A94 #C8B53A #3AC86E
split-complementary
#3A4DC8 #C86E3A #94C83A
monochromatic
#1E286A #2B3A9A #3A4DC8 #6A78D5 #9AA3E3

Accessibility & contrast

On white

6.83
#3A4DC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#3A4DC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A4DC8
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A4DC8#FFFFFF#000000##FFFFFF
##3A4DC81.006.833.086.83
#FFFFFF6.831.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061CC
Deuteranopia (green-blind)
#0054C6
Tritanopia (blue-blind)
#006C83
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #3a4dc8;
/* rgb */ color: rgb(58, 77, 200);
/* oklch */ color: oklch(48.3% 0.191 270.7);
Tailwind
colors: {
  custom: {
    50: '#837eda',
    500: '#3a4dc8',
    950: '#000000',
  },
}
SCSS
$custom: #3a4dc8;
$custom-light: #837eda;
$custom-dark: #000000;
JSON
{
  "hex": "#3a4dc8",
  "rgb": {
    "r": 58,
    "g": 77,
    "b": 200
  },
  "hsl": {
    "h": 231.972,
    "s": 56.349,
    "l": 50.588
  },
  "oklch": {
    "l": 0.48335,
    "c": 0.1909,
    "h": 270.7
  },
  "luminance": 0.10377
}

Semantic roles & 50–950 ramp

primary
#3A4DC8
secondary
#CEC68F
accent
#CB48E0
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0C0A15
muted
#7D7C83

Preview Lab

Preview with #3A4DC8

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

Preview Lab → · Contrast checker → · Palette generator →

#3A4DC8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva