#3A5CBA#3A5CBA

#3A5CBA is a mid, vivid blue. Relative luminance 0.121; OKLCH L 50.2% C 0.153 H 266.1°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#3A5CBA
RGBrgb(58, 92, 186)
HSLhsl(224, 52%, 48%)
HSVhsv(224, 69%, 73%)
CMYKcmyk(68.8%, 50.5%, 0%, 27.1%)
CIE-LABlab(41.37, 19.46, -53.32)
CIE-LCHlch(41.37, 56.76, 290.05°)
OKLaboklab(50.15% -0.0106 -0.1531)
OKLCHoklch(50.15% 0.153 266.1)
XYZxyz(14.4319, 12.0976, 48.0193)
Luminance0.1210 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A5CBA #BA983A
analogous
#3A9CBA #3A5CBA #583ABA
triadic
#3A5CBA #BA3A5C #5CBA3A
tetradic
#3A5CBA #BA3A9C #BA983A #3ABA58
square
#3A5CBA #BA3A9C #BA983A #3ABA58
split-complementary
#3A5CBA #BA583A #9CBA3A
monochromatic
#1D2E5D #2B458B #3A5CBA #637FCE #92A6DD

Accessibility & contrast

On white

6.14
#3A5CBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#3A5CBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A5CBA
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A5CBA#FFFFFF#000000##FFFFFF
##3A5CBA1.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2568BD
Deuteranopia (green-blind)
#005CB8
Tritanopia (blue-blind)
#007282
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #3a5cba;
/* rgb */ color: rgb(58, 92, 186);
/* oklch */ color: oklch(50.2% 0.153 266.1);
Tailwind
colors: {
  custom: {
    50: '#7f89cf',
    500: '#3a5cba',
    950: '#000000',
  },
}
SCSS
$custom: #3a5cba;
$custom-light: #7f89cf;
$custom-dark: #000000;
JSON
{
  "hex": "#3a5cba",
  "rgb": {
    "r": 58,
    "g": 92,
    "b": 186
  },
  "hsl": {
    "h": 224.063,
    "s": 52.459,
    "l": 47.843
  },
  "oklch": {
    "l": 0.50153,
    "c": 0.15342,
    "h": 266.1
  },
  "luminance": 0.12099
}

Semantic roles & 50–950 ramp

primary
#3A5CBA
secondary
#C8B788
accent
#B64CDC
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0B14
muted
#7C7C82

Preview Lab

Preview with #3A5CBA

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

Preview Lab → · Contrast checker → · Palette generator →

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