#3A4CC8#3A4CC8

#3A4CC8 is a mid, vivid blue. Relative luminance 0.102; OKLCH L 48.2% C 0.192 H 270.9°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#3A4CC8
RGBrgb(58, 76, 200)
HSLhsl(232, 56%, 51%)
HSVhsv(232, 71%, 78%)
CMYKcmyk(71%, 62%, 0%, 21.6%)
CIE-LABlab(38.26, 34.80, -66.52)
CIE-LCHlch(38.26, 75.07, 297.62°)
OKLaboklab(48.16% 0.0029 -0.1921)
OKLCHoklch(48.16% 0.192 270.9)
XYZxyz(14.7511, 10.2371, 55.8309)
Luminance0.1024 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A4CC8 #C8B63A
analogous
#3A93C8 #3A4CC8 #6F3AC8
triadic
#3A4CC8 #C83A4C #4CC83A
tetradic
#3A4CC8 #C83A93 #C8B63A #3AC86F
square
#3A4CC8 #C83A93 #C8B63A #3AC86F
split-complementary
#3A4CC8 #C86F3A #93C83A
monochromatic
#1E276A #2B399A #3A4CC8 #6A77D5 #9AA3E3

Accessibility & contrast

On white

6.89
#3A4CC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#3A4CC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A4CC8
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A4CC8#FFFFFF#000000##FFFFFF
##3A4CC81.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3a4cc8;
/* rgb */ color: rgb(58, 76, 200);
/* oklch */ color: oklch(48.2% 0.192 270.9);
Tailwind
colors: {
  custom: {
    50: '#837eda',
    500: '#3a4cc8',
    950: '#000000',
  },
}
SCSS
$custom: #3a4cc8;
$custom-light: #837eda;
$custom-dark: #000000;
JSON
{
  "hex": "#3a4cc8",
  "rgb": {
    "r": 58,
    "g": 76,
    "b": 200
  },
  "hsl": {
    "h": 232.394,
    "s": 56.349,
    "l": 50.588
  },
  "oklch": {
    "l": 0.48155,
    "c": 0.19209,
    "h": 270.9
  },
  "luminance": 0.10239
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3A4CC8

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

Preview Lab → · Contrast checker → · Palette generator →

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