#3A5BB2#3A5BB2

#3A5BB2 is a mid, vivid blue. Relative luminance 0.116; OKLCH L 49.4% C 0.143 H 265.8°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#3A5BB2
RGBrgb(58, 91, 178)
HSLhsl(224, 51%, 46%)
HSVhsv(224, 67%, 70%)
CMYKcmyk(67.4%, 48.9%, 0%, 30.2%)
CIE-LABlab(40.56, 17.19, -49.93)
CIE-LCHlch(40.56, 52.80, 288.99°)
OKLaboklab(49.37% -0.0106 -0.1431)
OKLCHoklch(49.37% 0.143 265.8)
XYZxyz(13.5191, 11.5948, 43.6364)
Luminance0.1160 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A5BB2 #B2913A
analogous
#3A97B2 #3A5BB2 #553AB2
triadic
#3A5BB2 #B23A5B #5BB23A
tetradic
#3A5BB2 #B23A97 #B2913A #3AB255
square
#3A5BB2 #B23A97 #B2913A #3AB255
split-complementary
#3A5BB2 #B2553A #97B23A
monochromatic
#1C2C56 #2B4384 #3A5BB2 #5F7CCB #8DA2DA

Accessibility & contrast

On white

6.33
#3A5BB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#3A5BB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A5BB2
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A5BB2#FFFFFF#000000##FFFFFF
##3A5BB21.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C65B5
Deuteranopia (green-blind)
#0D5AB0
Tritanopia (blue-blind)
#006F7E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #3a5bb2;
/* rgb */ color: rgb(58, 91, 178);
/* oklch */ color: oklch(49.4% 0.143 265.8);
Tailwind
colors: {
  custom: {
    50: '#7e88ca',
    500: '#3a5bb2',
    950: '#000000',
  },
}
SCSS
$custom: #3a5bb2;
$custom-light: #7e88ca;
$custom-dark: #000000;
JSON
{
  "hex": "#3a5bb2",
  "rgb": {
    "r": 58,
    "g": 91,
    "b": 178
  },
  "hsl": {
    "h": 223.5,
    "s": 50.847,
    "l": 46.275
  },
  "oklch": {
    "l": 0.4937,
    "c": 0.14349,
    "h": 265.8
  },
  "luminance": 0.11596
}

Semantic roles & 50–950 ramp

primary
#3A5BB2
secondary
#C4B283
accent
#B44DDA
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0B0B13
muted
#7C7C82

Preview Lab

Preview with #3A5BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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