#3A5DBA#3A5DBA

#3A5DBA is a mid, vivid blue. Relative luminance 0.123; OKLCH L 50.4% C 0.152 H 265.7°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#3A5DBA
RGBrgb(58, 93, 186)
HSLhsl(224, 52%, 48%)
HSVhsv(224, 69%, 73%)
CMYKcmyk(68.8%, 50%, 0%, 27.1%)
CIE-LABlab(41.65, 18.81, -52.88)
CIE-LCHlch(41.65, 56.12, 289.58°)
OKLaboklab(50.36% -0.0115 -0.1517)
OKLCHoklch(50.36% 0.152 265.7)
XYZxyz(14.5191, 12.2720, 48.0484)
Luminance0.1227 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A5DBA #BA973A
analogous
#3A9DBA #3A5DBA #573ABA
triadic
#3A5DBA #BA3A5D #5DBA3A
tetradic
#3A5DBA #BA3A9D #BA973A #3ABA57
square
#3A5DBA #BA3A9D #BA973A #3ABA57
split-complementary
#3A5DBA #BA573A #9DBA3A
monochromatic
#1D2E5D #2B468B #3A5DBA #6380CE #92A6DD

Accessibility & contrast

On white

6.08
#3A5DBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#3A5DBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A5DBA
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A5DBA#FFFFFF#000000##FFFFFF
##3A5DBA1.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2868BD
Deuteranopia (green-blind)
#005DB8
Tritanopia (blue-blind)
#007383
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #3a5dba;
/* rgb */ color: rgb(58, 93, 186);
/* oklch */ color: oklch(50.4% 0.152 265.7);
Tailwind
colors: {
  custom: {
    50: '#7f8acf',
    500: '#3a5dba',
    950: '#000000',
  },
}
SCSS
$custom: #3a5dba;
$custom-light: #7f8acf;
$custom-dark: #000000;
JSON
{
  "hex": "#3a5dba",
  "rgb": {
    "r": 58,
    "g": 93,
    "b": 186
  },
  "hsl": {
    "h": 223.594,
    "s": 52.459,
    "l": 47.843
  },
  "oklch": {
    "l": 0.50362,
    "c": 0.15217,
    "h": 265.7
  },
  "luminance": 0.12273
}

Semantic roles & 50–950 ramp

primary
#3A5DBA
secondary
#C8B688
accent
#B54CDC
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0B14
muted
#7C7C82

Preview Lab

Preview with #3A5DBA

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

Preview Lab → · Contrast checker → · Palette generator →

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