#3A5EBF#3A5EBF

#3A5EBF is a mid, vivid blue. Relative luminance 0.127; OKLCH L 50.9% C 0.158 H 265.7°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#3A5EBF
RGBrgb(58, 94, 191)
HSLhsl(224, 53%, 49%)
HSVhsv(224, 70%, 75%)
CMYKcmyk(69.6%, 50.8%, 0%, 25.1%)
CIE-LABlab(42.25, 19.99, -54.81)
CIE-LCHlch(42.25, 58.34, 290.04°)
OKLaboklab(50.93% -0.0118 -0.1574)
OKLCHoklch(50.93% 0.158 265.7)
XYZxyz(15.1483, 12.6650, 50.9264)
Luminance0.1267 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A5EBF #BF9B3A
analogous
#3AA1BF #3A5EBF #583ABF
triadic
#3A5EBF #BF3A5E #5EBF3A
tetradic
#3A5EBF #BF3AA1 #BF9B3A #3ABF58
square
#3A5EBF #BF3AA1 #BF9B3A #3ABF58
split-complementary
#3A5EBF #BF583A #A1BF3A
monochromatic
#1D3061 #2C4790 #3A5EBF #6683D0 #95A9DF

Accessibility & contrast

On white

5.94
#3A5EBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#3A5EBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A5EBF
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A5EBF#FFFFFF#000000##FFFFFF
##3A5EBF1.005.943.535.94
#FFFFFF5.941.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#246AC2
Deuteranopia (green-blind)
#005EBD
Tritanopia (blue-blind)
#007585
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #3a5ebf;
/* rgb */ color: rgb(58, 94, 191);
/* oklch */ color: oklch(50.9% 0.158 265.7);
Tailwind
colors: {
  custom: {
    50: '#808bd3',
    500: '#3a5ebf',
    950: '#000000',
  },
}
SCSS
$custom: #3a5ebf;
$custom-light: #808bd3;
$custom-dark: #000000;
JSON
{
  "hex": "#3a5ebf",
  "rgb": {
    "r": 58,
    "g": 94,
    "b": 191
  },
  "hsl": {
    "h": 223.759,
    "s": 53.414,
    "l": 48.824
  },
  "oklch": {
    "l": 0.50933,
    "c": 0.15785,
    "h": 265.7
  },
  "luminance": 0.12667
}

Semantic roles & 50–950 ramp

primary
#3A5EBF
secondary
#CAB98B
accent
#B54BDD
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0B0B14
muted
#7C7C83

Preview Lab

Preview with #3A5EBF

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

Preview Lab → · Contrast checker → · Palette generator →

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