#3B5AAA#3B5AAA

#3B5AAA is a mid, vivid blue. Relative luminance 0.111; OKLCH L 48.6% C 0.133 H 265.7°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#3B5AAA
RGBrgb(59, 90, 170)
HSLhsl(223, 48%, 45%)
HSVhsv(223, 65%, 67%)
CMYKcmyk(65.3%, 47.1%, 0%, 33.3%)
CIE-LABlab(39.82, 15.10, -46.40)
CIE-LCHlch(39.82, 48.80, 288.02°)
OKLaboklab(48.65% -0.0099 -0.1327)
OKLCHoklch(48.65% 0.133 265.7)
XYZxyz(12.7130, 11.1432, 39.5033)
Luminance0.1114 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B5AAA #AA8B3B
analogous
#3B92AA #3B5AAA #533BAA
triadic
#3B5AAA #AA3B5A #5AAA3B
tetradic
#3B5AAA #AA3B92 #AA8B3B #3BAA53
square
#3B5AAA #AA3B92 #AA8B3B #3BAA53
split-complementary
#3B5AAA #AA533B #92AA3B
monochromatic
#1B2A4F #2B427D #3B5AAA #5C7AC6 #899FD6

Accessibility & contrast

On white

6.50
#3B5AAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#3B5AAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3B5AAA
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B5AAA#FFFFFF#000000##FFFFFF
##3B5AAA1.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3263AD
Deuteranopia (green-blind)
#1D59A8
Tritanopia (blue-blind)
#006C7A
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #3b5aaa;
/* rgb */ color: rgb(59, 90, 170);
/* oklch */ color: oklch(48.6% 0.133 265.7);
Tailwind
colors: {
  custom: {
    50: '#7c88c4',
    500: '#3b5aaa',
    950: '#000000',
  },
}
SCSS
$custom: #3b5aaa;
$custom-light: #7c88c4;
$custom-dark: #000000;
JSON
{
  "hex": "#3b5aaa",
  "rgb": {
    "r": 59,
    "g": 90,
    "b": 170
  },
  "hsl": {
    "h": 223.243,
    "s": 48.472,
    "l": 44.902
  },
  "oklch": {
    "l": 0.4865,
    "c": 0.13308,
    "h": 265.7
  },
  "luminance": 0.11144
}

Semantic roles & 50–950 ramp

primary
#3B5AAA
secondary
#C0AF80
accent
#B250D8
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0B0B13
muted
#7C7C82

Preview Lab

Preview with #3B5AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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