#3A50BB#3A50BB

#3A50BB is a mid, vivid blue. Relative luminance 0.102; OKLCH L 47.8% C 0.170 H 270.0°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#3A50BB
RGBrgb(58, 80, 187)
HSLhsl(230, 53%, 48%)
HSVhsv(230, 69%, 73%)
CMYKcmyk(69%, 57.2%, 0%, 26.7%)
CIE-LABlab(38.24, 27.60, -58.97)
CIE-LCHlch(38.24, 65.11, 295.08°)
OKLaboklab(47.82% -0.0001 -0.1699)
OKLCHoklch(47.82% 0.17 270)
XYZxyz(13.5802, 10.2234, 48.2617)
Luminance0.1022 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A50BB #BBA53A
analogous
#3A91BB #3A50BB #643ABB
triadic
#3A50BB #BB3A50 #50BB3A
tetradic
#3A50BB #BB3A91 #BBA53A #3ABB64
square
#3A50BB #BB3A91 #BBA53A #3ABB64
split-complementary
#3A50BB #BB643A #91BB3A
monochromatic
#1D285E #2C3C8C #3A50BB #6376CF #929FDD

Accessibility & contrast

On white

6.90
#3A50BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#3A50BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A50BB
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A50BB#FFFFFF#000000##FFFFFF
##3A50BB1.006.903.056.90
#FFFFFF6.901.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BF
Deuteranopia (green-blind)
#0054B9
Tritanopia (blue-blind)
#006A7D
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #3a50bb;
/* rgb */ color: rgb(58, 80, 187);
/* oklch */ color: oklch(47.8% 0.170 270.0);
Tailwind
colors: {
  custom: {
    50: '#8080d0',
    500: '#3a50bb',
    950: '#000000',
  },
}
SCSS
$custom: #3a50bb;
$custom-light: #8080d0;
$custom-dark: #000000;
JSON
{
  "hex": "#3a50bb",
  "rgb": {
    "r": 58,
    "g": 80,
    "b": 187
  },
  "hsl": {
    "h": 229.767,
    "s": 52.653,
    "l": 48.039
  },
  "oklch": {
    "l": 0.47816,
    "c": 0.16986,
    "h": 270
  },
  "luminance": 0.10225
}

Semantic roles & 50–950 ramp

primary
#3A50BB
secondary
#C8BD88
accent
#C34CDC
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0B0A14
muted
#7C7C82

Preview Lab

Preview with #3A50BB

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

Preview Lab → · Contrast checker → · Palette generator →

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