#3B5EBA#3B5EBA

#3B5EBA is a mid, vivid blue. Relative luminance 0.125; OKLCH L 50.6% C 0.151 H 265.6°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#3B5EBA
RGBrgb(59, 94, 186)
HSLhsl(223, 52%, 48%)
HSVhsv(223, 68%, 73%)
CMYKcmyk(68.3%, 49.5%, 0%, 27.1%)
CIE-LABlab(41.97, 18.32, -52.36)
CIE-LCHlch(41.97, 55.47, 289.29°)
OKLaboklab(50.62% -0.0115 -0.1502)
OKLCHoklch(50.62% 0.151 265.6)
XYZxyz(14.6662, 12.4789, 48.0806)
Luminance0.1248 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B5EBA #BA973B
analogous
#3B9DBA #3B5EBA #583BBA
triadic
#3B5EBA #BA3B5E #5EBA3B
tetradic
#3B5EBA #BA3B9D #BA973B #3BBA58
square
#3B5EBA #BA3B9D #BA973B #3BBA58
split-complementary
#3B5EBA #BA583B #9DBA3B
monochromatic
#1E2F5D #2C478C #3B5EBA #6481CE #93A7DD

Accessibility & contrast

On white

6.01
#3B5EBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#3B5EBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3B5EBA
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B5EBA#FFFFFF#000000##FFFFFF
##3B5EBA1.006.013.506.01
#FFFFFF6.011.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B69BD
Deuteranopia (green-blind)
#025EB8
Tritanopia (blue-blind)
#007483
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #3b5eba;
/* rgb */ color: rgb(59, 94, 186);
/* oklch */ color: oklch(50.6% 0.151 265.6);
Tailwind
colors: {
  custom: {
    50: '#7f8bcf',
    500: '#3b5eba',
    950: '#000000',
  },
}
SCSS
$custom: #3b5eba;
$custom-light: #7f8bcf;
$custom-dark: #000000;
JSON
{
  "hex": "#3b5eba",
  "rgb": {
    "r": 59,
    "g": 94,
    "b": 186
  },
  "hsl": {
    "h": 223.465,
    "s": 51.837,
    "l": 48.039
  },
  "oklch": {
    "l": 0.50621,
    "c": 0.15061,
    "h": 265.6
  },
  "luminance": 0.1248
}

Semantic roles & 50–950 ramp

primary
#3B5EBA
secondary
#C8B789
accent
#B44DDB
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0B14
muted
#7C7C82

Preview Lab

Preview with #3B5EBA

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

Preview Lab → · Contrast checker → · Palette generator →

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