#3A5EBE#3A5EBE

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

Color values

HEX#3A5EBE
RGBrgb(58, 94, 190)
HSLhsl(224, 53%, 49%)
HSVhsv(224, 69%, 75%)
CMYKcmyk(69.5%, 50.5%, 0%, 25.5%)
CIE-LABlab(42.19, 19.63, -54.34)
CIE-LCHlch(42.19, 57.77, 289.86°)
OKLaboklab(50.86% -0.0119 -0.156)
OKLCHoklch(50.86% 0.156 265.6)
XYZxyz(15.0386, 12.6211, 50.3488)
Luminance0.1262 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A5EBE #BE9A3A
analogous
#3AA0BE #3A5EBE #583ABE
triadic
#3A5EBE #BE3A5E #5EBE3A
tetradic
#3A5EBE #BE3AA0 #BE9A3A #3ABE58
square
#3A5EBE #BE3AA0 #BE9A3A #3ABE58
split-complementary
#3A5EBE #BE583A #A0BE3A
monochromatic
#1D3060 #2C478F #3A5EBE #6582D0 #94A8DE

Accessibility & contrast

On white

5.96
#3A5EBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #3A5EBE
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A5EBE#FFFFFF#000000##FFFFFF
##3A5EBE1.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#256AC1
Deuteranopia (green-blind)
#005EBC
Tritanopia (blue-blind)
#007585
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #3a5ebe;
/* rgb */ color: rgb(58, 94, 190);
/* oklch */ color: oklch(50.9% 0.156 265.6);
Tailwind
colors: {
  custom: {
    50: '#808bd2',
    500: '#3a5ebe',
    950: '#000000',
  },
}
SCSS
$custom: #3a5ebe;
$custom-light: #808bd2;
$custom-dark: #000000;
JSON
{
  "hex": "#3a5ebe",
  "rgb": {
    "r": 58,
    "g": 94,
    "b": 190
  },
  "hsl": {
    "h": 223.636,
    "s": 53.226,
    "l": 48.627
  },
  "oklch": {
    "l": 0.5086,
    "c": 0.15646,
    "h": 265.6
  },
  "luminance": 0.12623
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3A5EBE

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

Preview Lab → · Contrast checker → · Palette generator →

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