#3A5CBB#3A5CBB

#3A5CBB is a mid, vivid blue. Relative luminance 0.121; OKLCH L 50.2% C 0.155 H 266.1°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#3A5CBB
RGBrgb(58, 92, 187)
HSLhsl(224, 53%, 48%)
HSVhsv(224, 69%, 73%)
CMYKcmyk(69%, 50.8%, 0%, 26.7%)
CIE-LABlab(41.44, 19.82, -53.80)
CIE-LCHlch(41.44, 57.33, 290.23°)
OKLaboklab(50.23% -0.0104 -0.1544)
OKLCHoklch(50.23% 0.155 266.1)
XYZxyz(14.5386, 12.1402, 48.5812)
Luminance0.1214 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A5CBB #BB993A
analogous
#3A9CBB #3A5CBB #583ABB
triadic
#3A5CBB #BB3A5C #5CBB3A
tetradic
#3A5CBB #BB3A9C #BB993A #3ABB58
square
#3A5CBB #BB3A9C #BB993A #3ABB58
split-complementary
#3A5CBB #BB583A #9CBB3A
monochromatic
#1D2E5E #2C458C #3A5CBB #6380CF #92A6DD

Accessibility & contrast

On white

6.13
#3A5CBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#3A5CBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A5CBB
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A5CBB#FFFFFF#000000##FFFFFF
##3A5CBB1.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2468BE
Deuteranopia (green-blind)
#005CB9
Tritanopia (blue-blind)
#007283
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #3a5cbb;
/* rgb */ color: rgb(58, 92, 187);
/* oklch */ color: oklch(50.2% 0.155 266.1);
Tailwind
colors: {
  custom: {
    50: '#7f89d0',
    500: '#3a5cbb',
    950: '#000000',
  },
}
SCSS
$custom: #3a5cbb;
$custom-light: #7f89d0;
$custom-dark: #000000;
JSON
{
  "hex": "#3a5cbb",
  "rgb": {
    "r": 58,
    "g": 92,
    "b": 187
  },
  "hsl": {
    "h": 224.186,
    "s": 52.653,
    "l": 48.039
  },
  "oklch": {
    "l": 0.50226,
    "c": 0.1548,
    "h": 266.1
  },
  "luminance": 0.12142
}

Semantic roles & 50–950 ramp

primary
#3A5CBB
secondary
#C8B788
accent
#B64CDC
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0B14
muted
#7C7C82

Preview Lab

Preview with #3A5CBB

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

Preview Lab → · Contrast checker → · Palette generator →

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