#3A5BBB#3A5BBB

#3A5BBB is a mid, vivid blue. Relative luminance 0.120; OKLCH L 50.0% C 0.156 H 266.5°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#3A5BBB
RGBrgb(58, 91, 187)
HSLhsl(225, 53%, 48%)
HSVhsv(225, 69%, 73%)
CMYKcmyk(69%, 51.3%, 0%, 26.7%)
CIE-LABlab(41.17, 20.47, -54.24)
CIE-LCHlch(41.17, 57.97, 290.68°)
OKLaboklab(50.02% -0.0096 -0.1558)
OKLCHoklch(50.02% 0.156 266.5)
XYZxyz(14.4525, 11.9681, 48.5525)
Luminance0.1197 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A5BBB #BB9A3A
analogous
#3A9BBB #3A5BBB #593ABB
triadic
#3A5BBB #BB3A5B #5BBB3A
tetradic
#3A5BBB #BB3A9B #BB9A3A #3ABB59
square
#3A5BBB #BB3A9B #BB9A3A #3ABB59
split-complementary
#3A5BBB #BB593A #9BBB3A
monochromatic
#1D2E5E #2C448C #3A5BBB #637FCF #92A5DD

Accessibility & contrast

On white

6.19
#3A5BBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #3A5BBB
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A5BBB#FFFFFF#000000##FFFFFF
##3A5BBB1.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2067BE
Deuteranopia (green-blind)
#005BB9
Tritanopia (blue-blind)
#007282
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #3a5bbb;
/* rgb */ color: rgb(58, 91, 187);
/* oklch */ color: oklch(50.0% 0.156 266.5);
Tailwind
colors: {
  custom: {
    50: '#7f88d0',
    500: '#3a5bbb',
    950: '#000000',
  },
}
SCSS
$custom: #3a5bbb;
$custom-light: #7f88d0;
$custom-dark: #000000;
JSON
{
  "hex": "#3a5bbb",
  "rgb": {
    "r": 58,
    "g": 91,
    "b": 187
  },
  "hsl": {
    "h": 224.651,
    "s": 52.653,
    "l": 48.039
  },
  "oklch": {
    "l": 0.50019,
    "c": 0.15606,
    "h": 266.5
  },
  "luminance": 0.1197
}

Semantic roles & 50–950 ramp

primary
#3A5BBB
secondary
#C8B888
accent
#B74CDC
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0B14
muted
#7C7C82

Preview Lab

Preview with #3A5BBB

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

Preview Lab → · Contrast checker → · Palette generator →

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