#3A5EBD#3A5EBD

#3A5EBD is a mid, vivid blue. Relative luminance 0.126; OKLCH L 50.8% C 0.155 H 265.6°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#3A5EBD
RGBrgb(58, 94, 189)
HSLhsl(224, 53%, 48%)
HSVhsv(224, 69%, 74%)
CMYKcmyk(69.3%, 50.3%, 0%, 25.9%)
CIE-LABlab(42.12, 19.26, -53.86)
CIE-LCHlch(42.12, 57.20, 289.68°)
OKLaboklab(50.79% -0.012 -0.1546)
OKLCHoklch(50.79% 0.155 265.6)
XYZxyz(14.9297, 12.5776, 49.7752)
Luminance0.1258 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A5EBD #BD993A
analogous
#3A9FBD #3A5EBD #573ABD
triadic
#3A5EBD #BD3A5E #5EBD3A
tetradic
#3A5EBD #BD3A9F #BD993A #3ABD57
square
#3A5EBD #BD3A9F #BD993A #3ABD57
split-complementary
#3A5EBD #BD573A #9FBD3A
monochromatic
#1D2F5F #2C478E #3A5EBD #6582D0 #93A8DE

Accessibility & contrast

On white

5.97
#3A5EBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#3A5EBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A5EBD
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A5EBD#FFFFFF#000000##FFFFFF
##3A5EBD1.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#276AC0
Deuteranopia (green-blind)
#005EBB
Tritanopia (blue-blind)
#007484
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #3a5ebd;
/* rgb */ color: rgb(58, 94, 189);
/* oklch */ color: oklch(50.8% 0.155 265.6);
Tailwind
colors: {
  custom: {
    50: '#808bd1',
    500: '#3a5ebd',
    950: '#000000',
  },
}
SCSS
$custom: #3a5ebd;
$custom-light: #808bd1;
$custom-dark: #000000;
JSON
{
  "hex": "#3a5ebd",
  "rgb": {
    "r": 58,
    "g": 94,
    "b": 189
  },
  "hsl": {
    "h": 223.511,
    "s": 53.036,
    "l": 48.431
  },
  "oklch": {
    "l": 0.50787,
    "c": 0.15509,
    "h": 265.6
  },
  "luminance": 0.12579
}

Semantic roles & 50–950 ramp

primary
#3A5EBD
secondary
#C9B88A
accent
#B54BDC
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0B14
muted
#7C7C82

Preview Lab

Preview with #3A5EBD

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

Preview Lab → · Contrast checker → · Palette generator →

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