#3B5DBA#3B5DBA

#3B5DBA is a mid, vivid blue. Relative luminance 0.123; OKLCH L 50.4% C 0.152 H 266.0°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#3B5DBA
RGBrgb(59, 93, 186)
HSLhsl(224, 52%, 48%)
HSVhsv(224, 68%, 73%)
CMYKcmyk(68.3%, 50%, 0%, 27.1%)
CIE-LABlab(41.69, 18.97, -52.80)
CIE-LCHlch(41.69, 56.10, 289.76°)
OKLaboklab(50.41% -0.0106 -0.1515)
OKLCHoklch(50.41% 0.152 266)
XYZxyz(14.5778, 12.3022, 48.0512)
Luminance0.1230 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B5DBA #BA983B
analogous
#3B9CBA #3B5DBA #583BBA
triadic
#3B5DBA #BA3B5D #5DBA3B
tetradic
#3B5DBA #BA3B9C #BA983B #3BBA58
square
#3B5DBA #BA3B9C #BA983B #3BBA58
split-complementary
#3B5DBA #BA583B #9CBA3B
monochromatic
#1E2F5D #2C468C #3B5DBA #6481CE #93A7DD

Accessibility & contrast

On white

6.07
#3B5DBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#3B5DBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3B5DBA
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B5DBA#FFFFFF#000000##FFFFFF
##3B5DBA1.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2868BD
Deuteranopia (green-blind)
#005DB8
Tritanopia (blue-blind)
#007383
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #3b5dba;
/* rgb */ color: rgb(59, 93, 186);
/* oklch */ color: oklch(50.4% 0.152 266.0);
Tailwind
colors: {
  custom: {
    50: '#7f8acf',
    500: '#3b5dba',
    950: '#000000',
  },
}
SCSS
$custom: #3b5dba;
$custom-light: #7f8acf;
$custom-dark: #000000;
JSON
{
  "hex": "#3b5dba",
  "rgb": {
    "r": 59,
    "g": 93,
    "b": 186
  },
  "hsl": {
    "h": 223.937,
    "s": 51.837,
    "l": 48.039
  },
  "oklch": {
    "l": 0.50411,
    "c": 0.15186,
    "h": 266
  },
  "luminance": 0.12304
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3B5DBA

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

Preview Lab → · Contrast checker → · Palette generator →

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