#3A5CC8#3A5CC8

#3A5CC8 is a mid, vivid blue. Relative luminance 0.127; OKLCH L 51.2% C 0.173 H 266.9°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#3A5CC8
RGBrgb(58, 92, 200)
HSLhsl(226, 56%, 51%)
HSVhsv(226, 71%, 78%)
CMYKcmyk(71%, 54%, 0%, 21.6%)
CIE-LABlab(42.34, 24.57, -59.88)
CIE-LCHlch(42.34, 64.73, 292.31°)
OKLaboklab(51.2% -0.0093 -0.1724)
OKLCHoklch(51.2% 0.173 266.9)
XYZxyz(15.9938, 12.7223, 56.2451)
Luminance0.1272 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A5CC8 #C8A63A
analogous
#3AA3C8 #3A5CC8 #5F3AC8
triadic
#3A5CC8 #C83A5C #5CC83A
tetradic
#3A5CC8 #C83AA3 #C8A63A #3AC85F
square
#3A5CC8 #C83AA3 #C8A63A #3AC85F
split-complementary
#3A5CC8 #C85F3A #A3C83A
monochromatic
#1E306A #2B469A #3A5CC8 #6A84D5 #9AABE3

Accessibility & contrast

On white

5.92
#3A5CC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#3A5CC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A5CC8
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A5CC8#FFFFFF#000000##FFFFFF
##3A5CC81.005.923.545.92
#FFFFFF5.921.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#036BCC
Deuteranopia (green-blind)
#005EC6
Tritanopia (blue-blind)
#007689
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #3a5cc8;
/* rgb */ color: rgb(58, 92, 200);
/* oklch */ color: oklch(51.2% 0.173 266.9);
Tailwind
colors: {
  custom: {
    50: '#8289d9',
    500: '#3a5cc8',
    950: '#000000',
  },
}
SCSS
$custom: #3a5cc8;
$custom-light: #8289d9;
$custom-dark: #000000;
JSON
{
  "hex": "#3a5cc8",
  "rgb": {
    "r": 58,
    "g": 92,
    "b": 200
  },
  "hsl": {
    "h": 225.634,
    "s": 56.349,
    "l": 50.588
  },
  "oklch": {
    "l": 0.51198,
    "c": 0.17262,
    "h": 266.9
  },
  "luminance": 0.12724
}

Semantic roles & 50–950 ramp

primary
#3A5CC8
secondary
#CEBF8F
accent
#BB48E0
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #3A5CC8

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

Preview Lab → · Contrast checker → · Palette generator →

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