#3050B4#3050B4

#3050B4 is a mid, vivid blue. Relative luminance 0.097; OKLCH L 46.8% C 0.163 H 266.6°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#3050B4
RGBrgb(48, 80, 180)
HSLhsl(225, 58%, 45%)
HSVhsv(225, 73%, 71%)
CMYKcmyk(73.3%, 55.6%, 0%, 29.4%)
CIE-LABlab(37.22, 23.65, -56.53)
CIE-LCHlch(37.22, 61.27, 292.70°)
OKLaboklab(46.75% -0.0098 -0.1629)
OKLCHoklch(46.75% 0.163 266.6)
XYZxyz(12.3229, 9.6597, 44.3862)
Luminance0.0966 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3050B4 #B49430
analogous
#3092B4 #3050B4 #5230B4
triadic
#3050B4 #B43050 #50B430
tetradic
#3050B4 #B43092 #B49430 #30B452
square
#3050B4 #B43092 #B49430 #30B452
split-complementary
#3050B4 #B45230 #92B430
monochromatic
#162553 #233B84 #3050B4 #5170D1 #8197DD

Accessibility & contrast

On white

7.16
#3050B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#3050B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3050B4
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3050B4#FFFFFF#000000##FFFFFF
##3050B41.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EB7
Deuteranopia (green-blind)
#0052B2
Tritanopia (blue-blind)
#00687A
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #3050b4;
/* rgb */ color: rgb(48, 80, 180);
/* oklch */ color: oklch(46.8% 0.163 266.6);
Tailwind
colors: {
  custom: {
    50: '#7a80cb',
    500: '#3050b4',
    950: '#000000',
  },
}
SCSS
$custom: #3050b4;
$custom-light: #7a80cb;
$custom-dark: #000000;
JSON
{
  "hex": "#3050b4",
  "rgb": {
    "r": 48,
    "g": 80,
    "b": 180
  },
  "hsl": {
    "h": 225.455,
    "s": 57.895,
    "l": 44.706
  },
  "oklch": {
    "l": 0.46754,
    "c": 0.16317,
    "h": 266.6
  },
  "luminance": 0.09661
}

Semantic roles & 50–950 ramp

primary
#3050B4
secondary
#C6B479
accent
#BC47E1
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #3050B4

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

Preview Lab → · Contrast checker → · Palette generator →

#3050B4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva