#3A5BB9#3A5BB9

#3A5BB9 is a mid, vivid blue. Relative luminance 0.119; OKLCH L 49.9% C 0.153 H 266.3°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#3A5BB9
RGBrgb(58, 91, 185)
HSLhsl(224, 52%, 48%)
HSVhsv(224, 69%, 73%)
CMYKcmyk(68.6%, 50.8%, 0%, 27.5%)
CIE-LABlab(41.03, 19.74, -53.29)
CIE-LCHlch(41.03, 56.82, 290.33°)
OKLaboklab(49.87% -0.0098 -0.153)
OKLCHoklch(49.87% 0.153 266.3)
XYZxyz(14.2399, 11.8831, 47.4327)
Luminance0.1188 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A5BB9 #B9983A
analogous
#3A9BB9 #3A5BB9 #583AB9
triadic
#3A5BB9 #B93A5B #5BB93A
tetradic
#3A5BB9 #B93A9B #B9983A #3AB958
square
#3A5BB9 #B93A9B #B9983A #3AB958
split-complementary
#3A5BB9 #B9583A #9BB93A
monochromatic
#1D2D5C #2B448A #3A5BB9 #627ECE #91A5DC

Accessibility & contrast

On white

6.22
#3A5BB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#3A5BB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A5BB9
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A5BB9#FFFFFF#000000##FFFFFF
##3A5BB91.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2367BC
Deuteranopia (green-blind)
#005BB7
Tritanopia (blue-blind)
#007181
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #3a5bb9;
/* rgb */ color: rgb(58, 91, 185);
/* oklch */ color: oklch(49.9% 0.153 266.3);
Tailwind
colors: {
  custom: {
    50: '#7f88cf',
    500: '#3a5bb9',
    950: '#000000',
  },
}
SCSS
$custom: #3a5bb9;
$custom-light: #7f88cf;
$custom-dark: #000000;
JSON
{
  "hex": "#3a5bb9",
  "rgb": {
    "r": 58,
    "g": 91,
    "b": 185
  },
  "hsl": {
    "h": 224.409,
    "s": 52.263,
    "l": 47.647
  },
  "oklch": {
    "l": 0.49873,
    "c": 0.15328,
    "h": 266.3
  },
  "luminance": 0.11884
}

Semantic roles & 50–950 ramp

primary
#3A5BB9
secondary
#C7B787
accent
#B64CDC
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0B14
muted
#7C7C82

Preview Lab

Preview with #3A5BB9

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

Preview Lab → · Contrast checker → · Palette generator →

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