#3A5FBE#3A5FBE

#3A5FBE is a mid, vivid blue. Relative luminance 0.128; OKLCH L 51.1% C 0.155 H 265.3°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#3A5FBE
RGBrgb(58, 95, 190)
HSLhsl(223, 53%, 49%)
HSVhsv(223, 69%, 75%)
CMYKcmyk(69.5%, 50%, 0%, 25.5%)
CIE-LABlab(42.46, 18.98, -53.89)
CIE-LCHlch(42.46, 57.14, 289.40°)
OKLaboklab(51.07% -0.0128 -0.1547)
OKLCHoklch(51.07% 0.155 265.3)
XYZxyz(15.1281, 12.8001, 50.3786)
Luminance0.1280 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A5FBE #BE993A
analogous
#3AA1BE #3A5FBE #573ABE
triadic
#3A5FBE #BE3A5F #5FBE3A
tetradic
#3A5FBE #BE3AA1 #BE993A #3ABE57
square
#3A5FBE #BE3AA1 #BE993A #3ABE57
split-complementary
#3A5FBE #BE573A #A1BE3A
monochromatic
#1D3060 #2C488F #3A5FBE #6583D0 #94A9DE

Accessibility & contrast

On white

5.90
#3A5FBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#3A5FBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A5FBE
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A5FBE#FFFFFF#000000##FFFFFF
##3A5FBE1.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#286BC1
Deuteranopia (green-blind)
#005FBC
Tritanopia (blue-blind)
#007585
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #3a5fbe;
/* rgb */ color: rgb(58, 95, 190);
/* oklch */ color: oklch(51.1% 0.155 265.3);
Tailwind
colors: {
  custom: {
    50: '#808bd2',
    500: '#3a5fbe',
    950: '#000000',
  },
}
SCSS
$custom: #3a5fbe;
$custom-light: #808bd2;
$custom-dark: #000000;
JSON
{
  "hex": "#3a5fbe",
  "rgb": {
    "r": 58,
    "g": 95,
    "b": 190
  },
  "hsl": {
    "h": 223.182,
    "s": 53.226,
    "l": 48.627
  },
  "oklch": {
    "l": 0.51068,
    "c": 0.15523,
    "h": 265.3
  },
  "luminance": 0.12802
}

Semantic roles & 50–950 ramp

primary
#3A5FBE
secondary
#CAB88A
accent
#B44BDD
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0B0C14
muted
#7C7D83

Preview Lab

Preview with #3A5FBE

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

Preview Lab → · Contrast checker → · Palette generator →

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