#3A5DB2#3A5DB2

#3A5DB2 is a mid, vivid blue. Relative luminance 0.119; OKLCH L 49.8% C 0.141 H 264.9°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#3A5DB2
RGBrgb(58, 93, 178)
HSLhsl(223, 51%, 46%)
HSVhsv(223, 67%, 70%)
CMYKcmyk(67.4%, 47.8%, 0%, 30.2%)
CIE-LABlab(41.12, 15.89, -49.03)
CIE-LCHlch(41.12, 51.54, 287.96°)
OKLaboklab(49.8% -0.0125 -0.1404)
OKLCHoklch(49.8% 0.141 264.9)
XYZxyz(13.6923, 11.9413, 43.6942)
Luminance0.1194 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A5DB2 #B28F3A
analogous
#3A99B2 #3A5DB2 #533AB2
triadic
#3A5DB2 #B23A5D #5DB23A
tetradic
#3A5DB2 #B23A99 #B28F3A #3AB253
square
#3A5DB2 #B23A99 #B28F3A #3AB253
split-complementary
#3A5DB2 #B2533A #99B23A
monochromatic
#1C2D56 #2B4584 #3A5DB2 #5F7ECB #8DA3DA

Accessibility & contrast

On white

6.20
#3A5DB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #3A5DB2
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A5DB2#FFFFFF#000000##FFFFFF
##3A5DB21.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3167B5
Deuteranopia (green-blind)
#165CB0
Tritanopia (blue-blind)
#00717F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #3a5db2;
/* rgb */ color: rgb(58, 93, 178);
/* oklch */ color: oklch(49.8% 0.141 264.9);
Tailwind
colors: {
  custom: {
    50: '#7d8ac9',
    500: '#3a5db2',
    950: '#000000',
  },
}
SCSS
$custom: #3a5db2;
$custom-light: #7d8ac9;
$custom-dark: #000000;
JSON
{
  "hex": "#3a5db2",
  "rgb": {
    "r": 58,
    "g": 93,
    "b": 178
  },
  "hsl": {
    "h": 222.5,
    "s": 50.847,
    "l": 46.275
  },
  "oklch": {
    "l": 0.49796,
    "c": 0.14099,
    "h": 264.9
  },
  "luminance": 0.11943
}

Semantic roles & 50–950 ramp

primary
#3A5DB2
secondary
#C4B183
accent
#B14DDA
background
#F8F8FC
surface
#EFF0F8
border
#CACBD1
text
#0B0B13
muted
#7C7C82

Preview Lab

Preview with #3A5DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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