#3A5CB2#3A5CB2

#3A5CB2 is a mid, vivid blue. Relative luminance 0.118; OKLCH L 49.6% C 0.142 H 265.3°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#3A5CB2
RGBrgb(58, 92, 178)
HSLhsl(223, 51%, 46%)
HSVhsv(223, 67%, 70%)
CMYKcmyk(67.4%, 48.3%, 0%, 30.2%)
CIE-LABlab(40.84, 16.54, -49.48)
CIE-LCHlch(40.84, 52.17, 288.48°)
OKLaboklab(49.58% -0.0116 -0.1418)
OKLCHoklch(49.58% 0.142 265.3)
XYZxyz(13.6052, 11.7669, 43.6651)
Luminance0.1177 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A5CB2 #B2903A
analogous
#3A98B2 #3A5CB2 #543AB2
triadic
#3A5CB2 #B23A5C #5CB23A
tetradic
#3A5CB2 #B23A98 #B2903A #3AB254
square
#3A5CB2 #B23A98 #B2903A #3AB254
split-complementary
#3A5CB2 #B2543A #98B23A
monochromatic
#1C2C56 #2B4484 #3A5CB2 #5F7DCB #8DA2DA

Accessibility & contrast

On white

6.26
#3A5CB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#3A5CB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A5CB2
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A5CB2#FFFFFF#000000##FFFFFF
##3A5CB21.006.263.356.26
#FFFFFF6.261.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F66B5
Deuteranopia (green-blind)
#125BB0
Tritanopia (blue-blind)
#00707E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #3a5cb2;
/* rgb */ color: rgb(58, 92, 178);
/* oklch */ color: oklch(49.6% 0.142 265.3);
Tailwind
colors: {
  custom: {
    50: '#7d89c9',
    500: '#3a5cb2',
    950: '#000000',
  },
}
SCSS
$custom: #3a5cb2;
$custom-light: #7d89c9;
$custom-dark: #000000;
JSON
{
  "hex": "#3a5cb2",
  "rgb": {
    "r": 58,
    "g": 92,
    "b": 178
  },
  "hsl": {
    "h": 223,
    "s": 50.847,
    "l": 46.275
  },
  "oklch": {
    "l": 0.49582,
    "c": 0.14223,
    "h": 265.3
  },
  "luminance": 0.11768
}

Semantic roles & 50–950 ramp

primary
#3A5CB2
secondary
#C4B283
accent
#B24DDA
background
#F8F8FC
surface
#EFF0F8
border
#CACBD1
text
#0B0B13
muted
#7C7C82

Preview Lab

Preview with #3A5CB2

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

Preview Lab → · Contrast checker → · Palette generator →

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