#3A5BB3#3A5BB3

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

Color values

HEX#3A5BB3
RGBrgb(58, 91, 179)
HSLhsl(224, 51%, 46%)
HSVhsv(224, 68%, 70%)
CMYKcmyk(67.6%, 49.2%, 0%, 29.8%)
CIE-LABlab(40.63, 17.55, -50.41)
CIE-LCHlch(40.63, 53.38, 289.20°)
OKLaboklab(49.44% -0.0105 -0.1445)
OKLCHoklch(49.44% 0.145 265.8)
XYZxyz(13.6199, 11.6351, 44.1671)
Luminance0.1164 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A5BB3 #B3923A
analogous
#3A98B3 #3A5BB3 #553AB3
triadic
#3A5BB3 #B33A5B #5BB33A
tetradic
#3A5BB3 #B33A98 #B3923A #3AB355
square
#3A5BB3 #B33A98 #B3923A #3AB355
split-complementary
#3A5BB3 #B3553A #98B33A
monochromatic
#1C2C57 #2B4485 #3A5BB3 #5F7DCB #8DA2DA

Accessibility & contrast

On white

6.31
#3A5BB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#3A5BB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A5BB3
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A5BB3#FFFFFF#000000##FFFFFF
##3A5BB31.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B66B6
Deuteranopia (green-blind)
#095BB1
Tritanopia (blue-blind)
#00707E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #3a5bb3;
/* rgb */ color: rgb(58, 91, 179);
/* oklch */ color: oklch(49.4% 0.145 265.8);
Tailwind
colors: {
  custom: {
    50: '#7e88ca',
    500: '#3a5bb3',
    950: '#000000',
  },
}
SCSS
$custom: #3a5bb3;
$custom-light: #7e88ca;
$custom-dark: #000000;
JSON
{
  "hex": "#3a5bb3",
  "rgb": {
    "r": 58,
    "g": 91,
    "b": 179
  },
  "hsl": {
    "h": 223.636,
    "s": 51.055,
    "l": 46.471
  },
  "oklch": {
    "l": 0.49441,
    "c": 0.14489,
    "h": 265.8
  },
  "luminance": 0.11636
}

Semantic roles & 50–950 ramp

primary
#3A5BB3
secondary
#C5B384
accent
#B44DDB
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0B0B13
muted
#7C7C82

Preview Lab

Preview with #3A5BB3

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

Preview Lab → · Contrast checker → · Palette generator →

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