#3A5BBC#3A5BBC

#3A5BBC is a mid, vivid blue. Relative luminance 0.120; OKLCH L 50.1% C 0.157 H 266.6°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#3A5BBC
RGBrgb(58, 91, 188)
HSLhsl(225, 53%, 48%)
HSVhsv(225, 69%, 74%)
CMYKcmyk(69.1%, 51.6%, 0%, 26.3%)
CIE-LABlab(41.23, 20.84, -54.71)
CIE-LCHlch(41.23, 58.54, 290.85°)
OKLaboklab(50.09% -0.0095 -0.1572)
OKLCHoklch(50.09% 0.157 266.6)
XYZxyz(14.5600, 12.0111, 49.1183)
Luminance0.1201 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A5BBC #BC9B3A
analogous
#3A9CBC #3A5BBC #5A3ABC
triadic
#3A5BBC #BC3A5B #5BBC3A
tetradic
#3A5BBC #BC3A9C #BC9B3A #3ABC5A
square
#3A5BBC #BC3A9C #BC9B3A #3ABC5A
split-complementary
#3A5BBC #BC5A3A #9CBC3A
monochromatic
#1D2E5E #2C448D #3A5BBC #647FCF #93A6DE

Accessibility & contrast

On white

6.17
#3A5BBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#3A5BBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A5BBC
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A5BBC#FFFFFF#000000##FFFFFF
##3A5BBC1.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F67BF
Deuteranopia (green-blind)
#005CBA
Tritanopia (blue-blind)
#007283
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #3a5bbc;
/* rgb */ color: rgb(58, 91, 188);
/* oklch */ color: oklch(50.1% 0.157 266.6);
Tailwind
colors: {
  custom: {
    50: '#7f88d1',
    500: '#3a5bbc',
    950: '#000000',
  },
}
SCSS
$custom: #3a5bbc;
$custom-light: #7f88d1;
$custom-dark: #000000;
JSON
{
  "hex": "#3a5bbc",
  "rgb": {
    "r": 58,
    "g": 91,
    "b": 188
  },
  "hsl": {
    "h": 224.769,
    "s": 52.846,
    "l": 48.235
  },
  "oklch": {
    "l": 0.50093,
    "c": 0.15744,
    "h": 266.6
  },
  "luminance": 0.12013
}

Semantic roles & 50–950 ramp

primary
#3A5BBC
secondary
#C9B989
accent
#B84CDC
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0B14
muted
#7C7C82

Preview Lab

Preview with #3A5BBC

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

Preview Lab → · Contrast checker → · Palette generator →

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