#3A5CCF#3A5CCF

#3A5CCF is a mid, vivid blue. Relative luminance 0.131; OKLCH L 51.7% C 0.182 H 267.2°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#3A5CCF
RGBrgb(58, 92, 207)
HSLhsl(226, 61%, 52%)
HSVhsv(226, 72%, 81%)
CMYKcmyk(72%, 55.6%, 0%, 18.8%)
CIE-LABlab(42.85, 27.11, -63.10)
CIE-LCHlch(42.85, 68.68, 293.25°)
OKLaboklab(51.74% -0.0088 -0.1818)
OKLCHoklch(51.74% 0.182 267.2)
XYZxyz(16.8306, 13.0571, 60.6526)
Luminance0.1306 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A5CCF #CFAD3A
analogous
#3AA6CF #3A5CCF #633ACF
triadic
#3A5CCF #CF3A5C #5CCF3A
tetradic
#3A5CCF #CF3AA6 #CFAD3A #3ACF63
square
#3A5CCF #CF3AA6 #CFAD3A #3ACF63
split-complementary
#3A5CCF #CF633A #A6CF3A
monochromatic
#1C3073 #2844A4 #3A5CCF #6B85DB #9CADE7

Accessibility & contrast

On white

5.81
#3A5CCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#3A5CCF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A5CCF
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A5CCF#FFFFFF#000000##FFFFFF
##3A5CCF1.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD3
Deuteranopia (green-blind)
#005FCD
Tritanopia (blue-blind)
#00788C
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #3a5ccf;
/* rgb */ color: rgb(58, 92, 207);
/* oklch */ color: oklch(51.7% 0.182 267.2);
Tailwind
colors: {
  custom: {
    50: '#8389de',
    500: '#3a5ccf',
    950: '#000000',
  },
}
SCSS
$custom: #3a5ccf;
$custom-light: #8389de;
$custom-dark: #000000;
JSON
{
  "hex": "#3a5ccf",
  "rgb": {
    "r": 58,
    "g": 92,
    "b": 207
  },
  "hsl": {
    "h": 226.309,
    "s": 60.816,
    "l": 51.961
  },
  "oklch": {
    "l": 0.5174,
    "c": 0.18203,
    "h": 267.2
  },
  "luminance": 0.13059
}

Semantic roles & 50–950 ramp

primary
#3A5CCF
secondary
#D3C492
accent
#BF44E4
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #3A5CCF

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

Preview Lab → · Contrast checker → · Palette generator →

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