#3A5EB2#3A5EB2

#3A5EB2 is a mid, vivid blue. Relative luminance 0.121; OKLCH L 50.0% C 0.140 H 264.5°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#3A5EB2
RGBrgb(58, 94, 178)
HSLhsl(222, 51%, 46%)
HSVhsv(222, 67%, 70%)
CMYKcmyk(67.4%, 47.2%, 0%, 30.2%)
CIE-LABlab(41.40, 15.25, -48.58)
CIE-LCHlch(41.40, 50.92, 287.42°)
OKLaboklab(50.01% -0.0135 -0.1391)
OKLCHoklch(50.01% 0.14 264.5)
XYZxyz(13.7807, 12.1180, 43.7236)
Luminance0.1212 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A5EB2 #B28E3A
analogous
#3A9AB2 #3A5EB2 #523AB2
triadic
#3A5EB2 #B23A5E #5EB23A
tetradic
#3A5EB2 #B23A9A #B28E3A #3AB252
square
#3A5EB2 #B23A9A #B28E3A #3AB252
split-complementary
#3A5EB2 #B2523A #9AB23A
monochromatic
#1C2D56 #2B4684 #3A5EB2 #5F7FCB #8DA4DA

Accessibility & contrast

On white

6.13
#3A5EB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#3A5EB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A5EB2
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A5EB2#FFFFFF#000000##FFFFFF
##3A5EB21.006.133.426.13
#FFFFFF6.131.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3367B5
Deuteranopia (green-blind)
#1A5CB0
Tritanopia (blue-blind)
#00717F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #3a5eb2;
/* rgb */ color: rgb(58, 94, 178);
/* oklch */ color: oklch(50.0% 0.140 264.5);
Tailwind
colors: {
  custom: {
    50: '#7d8bc9',
    500: '#3a5eb2',
    950: '#000000',
  },
}
SCSS
$custom: #3a5eb2;
$custom-light: #7d8bc9;
$custom-dark: #000000;
JSON
{
  "hex": "#3a5eb2",
  "rgb": {
    "r": 58,
    "g": 94,
    "b": 178
  },
  "hsl": {
    "h": 222,
    "s": 50.847,
    "l": 46.275
  },
  "oklch": {
    "l": 0.50011,
    "c": 0.13974,
    "h": 264.5
  },
  "luminance": 0.12119
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3A5EB2

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

Preview Lab → · Contrast checker → · Palette generator →

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