#3A5FBB#3A5FBB

#3A5FBB is a mid, vivid blue. Relative luminance 0.127; OKLCH L 50.9% C 0.151 H 265.0°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#3A5FBB
RGBrgb(58, 95, 187)
HSLhsl(223, 53%, 48%)
HSVhsv(223, 69%, 73%)
CMYKcmyk(69%, 49.2%, 0%, 26.7%)
CIE-LABlab(42.26, 17.89, -52.47)
CIE-LCHlch(42.26, 55.43, 288.82°)
OKLaboklab(50.85% -0.0132 -0.1505)
OKLCHoklch(50.85% 0.151 265)
XYZxyz(14.8036, 12.6703, 48.6695)
Luminance0.1267 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A5FBB #BB963A
analogous
#3A9FBB #3A5FBB #563ABB
triadic
#3A5FBB #BB3A5F #5FBB3A
tetradic
#3A5FBB #BB3A9F #BB963A #3ABB56
square
#3A5FBB #BB3A9F #BB963A #3ABB56
split-complementary
#3A5FBB #BB563A #9FBB3A
monochromatic
#1D305E #2C478C #3A5FBB #6382CF #92A8DD

Accessibility & contrast

On white

5.94
#3A5FBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#3A5FBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A5FBB
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A5FBB#FFFFFF#000000##FFFFFF
##3A5FBB1.005.943.535.94
#FFFFFF5.941.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C6ABE
Deuteranopia (green-blind)
#025EB9
Tritanopia (blue-blind)
#007584
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #3a5fbb;
/* rgb */ color: rgb(58, 95, 187);
/* oklch */ color: oklch(50.9% 0.151 265.0);
Tailwind
colors: {
  custom: {
    50: '#7f8bd0',
    500: '#3a5fbb',
    950: '#000000',
  },
}
SCSS
$custom: #3a5fbb;
$custom-light: #7f8bd0;
$custom-dark: #000000;
JSON
{
  "hex": "#3a5fbb",
  "rgb": {
    "r": 58,
    "g": 95,
    "b": 187
  },
  "hsl": {
    "h": 222.791,
    "s": 52.653,
    "l": 48.039
  },
  "oklch": {
    "l": 0.50854,
    "c": 0.15107,
    "h": 265
  },
  "luminance": 0.12672
}

Semantic roles & 50–950 ramp

primary
#3A5FBB
secondary
#C8B688
accent
#B34CDC
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0C14
muted
#7C7D82

Preview Lab

Preview with #3A5FBB

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

Preview Lab → · Contrast checker → · Palette generator →

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