#3A5EB7#3A5EB7

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

Color values

HEX#3A5EB7
RGBrgb(58, 94, 183)
HSLhsl(223, 52%, 47%)
HSVhsv(223, 68%, 72%)
CMYKcmyk(68.3%, 48.6%, 0%, 28.2%)
CIE-LABlab(41.72, 17.07, -51.00)
CIE-LCHlch(41.72, 53.78, 288.51°)
OKLaboklab(50.36% -0.0128 -0.1462)
OKLCHoklch(50.36% 0.147 265)
XYZxyz(14.2919, 12.3224, 46.4158)
Luminance0.1232 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A5EB7 #B7933A
analogous
#3A9DB7 #3A5EB7 #553AB7
triadic
#3A5EB7 #B73A5E #5EB73A
tetradic
#3A5EB7 #B73A9D #B7933A #3AB755
square
#3A5EB7 #B73A9D #B7933A #3AB755
split-complementary
#3A5EB7 #B7553A #9DB73A
monochromatic
#1D2E5A #2B4689 #3A5EB7 #6180CD #90A6DC

Accessibility & contrast

On white

6.06
#3A5EB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#3A5EB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A5EB7
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A5EB7#FFFFFF#000000##FFFFFF
##3A5EB71.006.063.466.06
#FFFFFF6.061.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E68BA
Deuteranopia (green-blind)
#0D5DB5
Tritanopia (blue-blind)
#007382
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #3a5eb7;
/* rgb */ color: rgb(58, 94, 183);
/* oklch */ color: oklch(50.4% 0.147 265.0);
Tailwind
colors: {
  custom: {
    50: '#7e8bcd',
    500: '#3a5eb7',
    950: '#000000',
  },
}
SCSS
$custom: #3a5eb7;
$custom-light: #7e8bcd;
$custom-dark: #000000;
JSON
{
  "hex": "#3a5eb7",
  "rgb": {
    "r": 58,
    "g": 94,
    "b": 183
  },
  "hsl": {
    "h": 222.72,
    "s": 51.867,
    "l": 47.255
  },
  "oklch": {
    "l": 0.50359,
    "c": 0.14675,
    "h": 265
  },
  "luminance": 0.12324
}

Semantic roles & 50–950 ramp

primary
#3A5EB7
secondary
#C7B486
accent
#B24CDB
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0B13
muted
#7C7C82

Preview Lab

Preview with #3A5EB7

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

Preview Lab → · Contrast checker → · Palette generator →

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