#3A5CB0#3A5CB0

#3A5CB0 is a mid, vivid blue. Relative luminance 0.117; OKLCH L 49.4% C 0.139 H 265.1°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#3A5CB0
RGBrgb(58, 92, 176)
HSLhsl(223, 50%, 46%)
HSVhsv(223, 67%, 69%)
CMYKcmyk(67%, 47.7%, 0%, 31%)
CIE-LABlab(40.71, 15.81, -48.51)
CIE-LCHlch(40.71, 51.02, 288.05°)
OKLaboklab(49.44% -0.0119 -0.1389)
OKLCHoklch(49.44% 0.139 265.1)
XYZxyz(13.4058, 11.6871, 42.6152)
Luminance0.1169 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A5CB0 #B08E3A
analogous
#3A97B0 #3A5CB0 #533AB0
triadic
#3A5CB0 #B03A5C #5CB03A
tetradic
#3A5CB0 #B03A97 #B08E3A #3AB053
square
#3A5CB0 #B03A97 #B08E3A #3AB053
split-complementary
#3A5CB0 #B0533A #97B03A
monochromatic
#1C2C54 #2B4482 #3A5CB0 #5D7DCA #8BA2D9

Accessibility & contrast

On white

6.29
#3A5CB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#3A5CB0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A5CB0
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A5CB0#FFFFFF#000000##FFFFFF
##3A5CB01.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3166B3
Deuteranopia (green-blind)
#175BAE
Tritanopia (blue-blind)
#006F7D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #3a5cb0;
/* rgb */ color: rgb(58, 92, 176);
/* oklch */ color: oklch(49.4% 0.139 265.1);
Tailwind
colors: {
  custom: {
    50: '#7d89c8',
    500: '#3a5cb0',
    950: '#000000',
  },
}
SCSS
$custom: #3a5cb0;
$custom-light: #7d89c8;
$custom-dark: #000000;
JSON
{
  "hex": "#3a5cb0",
  "rgb": {
    "r": 58,
    "g": 92,
    "b": 176
  },
  "hsl": {
    "h": 222.712,
    "s": 50.427,
    "l": 45.882
  },
  "oklch": {
    "l": 0.49443,
    "c": 0.13942,
    "h": 265.1
  },
  "luminance": 0.11688
}

Semantic roles & 50–950 ramp

primary
#3A5CB0
secondary
#C3B182
accent
#B24EDA
background
#F8F8FC
surface
#EFF0F8
border
#CACBD1
text
#0B0B13
muted
#7C7C82

Preview Lab

Preview with #3A5CB0

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

Preview Lab → · Contrast checker → · Palette generator →

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