#3A5FBD#3A5FBD

#3A5FBD is a mid, vivid blue. Relative luminance 0.128; OKLCH L 51.0% C 0.154 H 265.2°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#3A5FBD
RGBrgb(58, 95, 189)
HSLhsl(223, 53%, 48%)
HSVhsv(223, 69%, 74%)
CMYKcmyk(69.3%, 49.7%, 0%, 25.9%)
CIE-LABlab(42.39, 18.62, -53.42)
CIE-LCHlch(42.39, 56.57, 289.21°)
OKLaboklab(51% -0.0129 -0.1533)
OKLCHoklch(51% 0.154 265.2)
XYZxyz(15.0192, 12.7566, 49.8050)
Luminance0.1276 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A5FBD #BD983A
analogous
#3AA0BD #3A5FBD #563ABD
triadic
#3A5FBD #BD3A5F #5FBD3A
tetradic
#3A5FBD #BD3AA0 #BD983A #3ABD56
square
#3A5FBD #BD3AA0 #BD983A #3ABD56
split-complementary
#3A5FBD #BD563A #A0BD3A
monochromatic
#1D305F #2C478E #3A5FBD #6583D0 #93A8DE

Accessibility & contrast

On white

5.91
#3A5FBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#3A5FBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A5FBD
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A5FBD#FFFFFF#000000##FFFFFF
##3A5FBD1.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#296AC0
Deuteranopia (green-blind)
#005EBB
Tritanopia (blue-blind)
#007585
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #3a5fbd;
/* rgb */ color: rgb(58, 95, 189);
/* oklch */ color: oklch(51.0% 0.154 265.2);
Tailwind
colors: {
  custom: {
    50: '#7f8bd1',
    500: '#3a5fbd',
    950: '#000000',
  },
}
SCSS
$custom: #3a5fbd;
$custom-light: #7f8bd1;
$custom-dark: #000000;
JSON
{
  "hex": "#3a5fbd",
  "rgb": {
    "r": 58,
    "g": 95,
    "b": 189
  },
  "hsl": {
    "h": 223.053,
    "s": 53.036,
    "l": 48.431
  },
  "oklch": {
    "l": 0.50996,
    "c": 0.15384,
    "h": 265.2
  },
  "luminance": 0.12758
}

Semantic roles & 50–950 ramp

primary
#3A5FBD
secondary
#C9B78A
accent
#B34BDC
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0C14
muted
#7C7D82

Preview Lab

Preview with #3A5FBD

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

Preview Lab → · Contrast checker → · Palette generator →

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