#3A4DC3#3A4DC3

#3A4DC3 is a mid, vivid blue. Relative luminance 0.101; OKLCH L 47.9% C 0.184 H 270.7°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#3A4DC3
RGBrgb(58, 77, 195)
HSLhsl(232, 54%, 50%)
HSVhsv(232, 70%, 76%)
CMYKcmyk(70.3%, 60.5%, 0%, 23.5%)
CIE-LABlab(38.10, 32.39, -63.87)
CIE-LCHlch(38.10, 71.62, 296.89°)
OKLaboklab(47.91% 0.0023 -0.1843)
OKLCHoklch(47.91% 0.184 270.7)
XYZxyz(14.2458, 10.1460, 52.8268)
Luminance0.1015 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A4DC3 #C3B03A
analogous
#3A92C3 #3A4DC3 #6C3AC3
triadic
#3A4DC3 #C33A4D #4DC33A
tetradic
#3A4DC3 #C33A92 #C3B03A #3AC36C
square
#3A4DC3 #C33A92 #C3B03A #3AC36C
split-complementary
#3A4DC3 #C36C3A #92C33A
monochromatic
#1E2865 #2C3A94 #3A4DC3 #6877D2 #97A1E0

Accessibility & contrast

On white

6.93
#3A4DC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#3A4DC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A4DC3
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A4DC3#FFFFFF#000000##FFFFFF
##3A4DC31.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C7
Deuteranopia (green-blind)
#0054C1
Tritanopia (blue-blind)
#006B80
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #3a4dc3;
/* rgb */ color: rgb(58, 77, 195);
/* oklch */ color: oklch(47.9% 0.184 270.7);
Tailwind
colors: {
  custom: {
    50: '#827ed6',
    500: '#3a4dc3',
    950: '#000000',
  },
}
SCSS
$custom: #3a4dc3;
$custom-light: #827ed6;
$custom-dark: #000000;
JSON
{
  "hex": "#3a4dc3",
  "rgb": {
    "r": 58,
    "g": 77,
    "b": 195
  },
  "hsl": {
    "h": 231.679,
    "s": 54.15,
    "l": 49.608
  },
  "oklch": {
    "l": 0.47909,
    "c": 0.1843,
    "h": 270.7
  },
  "luminance": 0.10147
}

Semantic roles & 50–950 ramp

primary
#3A4DC3
secondary
#CCC38D
accent
#C94ADE
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0A14
muted
#7D7C83

Preview Lab

Preview with #3A4DC3

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

Preview Lab → · Contrast checker → · Palette generator →

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