#3A5ABE#3A5ABE

#3A5ABE is a mid, vivid blue. Relative luminance 0.119; OKLCH L 50.0% C 0.161 H 267.0°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#3A5ABE
RGBrgb(58, 90, 190)
HSLhsl(225, 53%, 49%)
HSVhsv(225, 69%, 75%)
CMYKcmyk(69.5%, 52.6%, 0%, 25.5%)
CIE-LABlab(41.10, 22.21, -56.09)
CIE-LCHlch(41.10, 60.33, 291.60°)
OKLaboklab(50.04% -0.0084 -0.1612)
OKLCHoklch(50.04% 0.161 267)
XYZxyz(14.6921, 11.9281, 50.2333)
Luminance0.1193 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A5ABE #BE9E3A
analogous
#3A9CBE #3A5ABE #5C3ABE
triadic
#3A5ABE #BE3A5A #5ABE3A
tetradic
#3A5ABE #BE3A9C #BE9E3A #3ABE5C
square
#3A5ABE #BE3A9C #BE9E3A #3ABE5C
split-complementary
#3A5ABE #BE5C3A #9CBE3A
monochromatic
#1D2E60 #2C448F #3A5ABE #657FD0 #94A6DE

Accessibility & contrast

On white

6.20
#3A5ABE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#3A5ABE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A5ABE
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A5ABE#FFFFFF#000000##FFFFFF
##3A5ABE1.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1767C2
Deuteranopia (green-blind)
#005BBC
Tritanopia (blue-blind)
#007283
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #3a5abe;
/* rgb */ color: rgb(58, 90, 190);
/* oklch */ color: oklch(50.0% 0.161 267.0);
Tailwind
colors: {
  custom: {
    50: '#8088d2',
    500: '#3a5abe',
    950: '#000000',
  },
}
SCSS
$custom: #3a5abe;
$custom-light: #8088d2;
$custom-dark: #000000;
JSON
{
  "hex": "#3a5abe",
  "rgb": {
    "r": 58,
    "g": 90,
    "b": 190
  },
  "hsl": {
    "h": 225.455,
    "s": 53.226,
    "l": 48.627
  },
  "oklch": {
    "l": 0.50037,
    "c": 0.16145,
    "h": 267
  },
  "luminance": 0.1193
}

Semantic roles & 50–950 ramp

primary
#3A5ABE
secondary
#CABA8A
accent
#B94BDD
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0B0B14
muted
#7C7C83

Preview Lab

Preview with #3A5ABE

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

Preview Lab → · Contrast checker → · Palette generator →

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