#3A5DB0#3A5DB0

#3A5DB0 is a mid, vivid blue. Relative luminance 0.119; OKLCH L 49.7% C 0.138 H 264.7°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#3A5DB0
RGBrgb(58, 93, 176)
HSLhsl(222, 50%, 46%)
HSVhsv(222, 67%, 69%)
CMYKcmyk(67%, 47.2%, 0%, 31%)
CIE-LABlab(41.00, 15.16, -48.06)
CIE-LCHlch(41.00, 50.40, 287.51°)
OKLaboklab(49.66% -0.0128 -0.1376)
OKLCHoklch(49.66% 0.138 264.7)
XYZxyz(13.4930, 11.8615, 42.6443)
Luminance0.1186 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A5DB0 #B08D3A
analogous
#3A98B0 #3A5DB0 #523AB0
triadic
#3A5DB0 #B03A5D #5DB03A
tetradic
#3A5DB0 #B03A98 #B08D3A #3AB052
square
#3A5DB0 #B03A98 #B08D3A #3AB052
split-complementary
#3A5DB0 #B0523A #98B03A
monochromatic
#1C2C54 #2B4582 #3A5DB0 #5D7ECA #8BA2D9

Accessibility & contrast

On white

6.23
#3A5DB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#3A5DB0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A5DB0
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A5DB0#FFFFFF#000000##FFFFFF
##3A5DB01.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3366B3
Deuteranopia (green-blind)
#1B5CAE
Tritanopia (blue-blind)
#00707E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #3a5db0;
/* rgb */ color: rgb(58, 93, 176);
/* oklch */ color: oklch(49.7% 0.138 264.7);
Tailwind
colors: {
  custom: {
    50: '#7d8ac8',
    500: '#3a5db0',
    950: '#000000',
  },
}
SCSS
$custom: #3a5db0;
$custom-light: #7d8ac8;
$custom-dark: #000000;
JSON
{
  "hex": "#3a5db0",
  "rgb": {
    "r": 58,
    "g": 93,
    "b": 176
  },
  "hsl": {
    "h": 222.203,
    "s": 50.427,
    "l": 45.882
  },
  "oklch": {
    "l": 0.49658,
    "c": 0.13817,
    "h": 264.7
  },
  "luminance": 0.11863
}

Semantic roles & 50–950 ramp

primary
#3A5DB0
secondary
#C3B082
accent
#B04EDA
background
#F8F8FC
surface
#EFF0F8
border
#CACBD1
text
#0B0B13
muted
#7C7C82

Preview Lab

Preview with #3A5DB0

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

Preview Lab → · Contrast checker → · Palette generator →

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