#3050B5#3050B5

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

Color values

HEX#3050B5
RGBrgb(48, 80, 181)
HSLhsl(226, 58%, 45%)
HSVhsv(226, 73%, 71%)
CMYKcmyk(73.5%, 55.8%, 0%, 29%)
CIE-LABlab(37.30, 24.02, -57.00)
CIE-LCHlch(37.30, 61.85, 292.85°)
OKLaboklab(46.84% -0.0097 -0.1643)
OKLCHoklch(46.84% 0.165 266.6)
XYZxyz(12.4252, 9.7006, 44.9247)
Luminance0.0970 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3050B5 #B59530
analogous
#3093B5 #3050B5 #5330B5
triadic
#3050B5 #B53050 #50B530
tetradic
#3050B5 #B53093 #B59530 #30B553
square
#3050B5 #B53093 #B59530 #30B553
split-complementary
#3050B5 #B55330 #93B530
monochromatic
#162554 #233B85 #3050B5 #5170D1 #8298DE

Accessibility & contrast

On white

7.14
#3050B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#3050B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3050B5
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3050B5#FFFFFF#000000##FFFFFF
##3050B51.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EB8
Deuteranopia (green-blind)
#0052B3
Tritanopia (blue-blind)
#00697A
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #3050b5;
/* rgb */ color: rgb(48, 80, 181);
/* oklch */ color: oklch(46.8% 0.165 266.6);
Tailwind
colors: {
  custom: {
    50: '#7b80cc',
    500: '#3050b5',
    950: '#000000',
  },
}
SCSS
$custom: #3050b5;
$custom-light: #7b80cc;
$custom-dark: #000000;
JSON
{
  "hex": "#3050b5",
  "rgb": {
    "r": 48,
    "g": 80,
    "b": 181
  },
  "hsl": {
    "h": 225.564,
    "s": 58.079,
    "l": 44.902
  },
  "oklch": {
    "l": 0.46835,
    "c": 0.16455,
    "h": 266.6
  },
  "luminance": 0.09702
}

Semantic roles & 50–950 ramp

primary
#3050B5
secondary
#C7B47A
accent
#BC46E1
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #3050B5

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

Preview Lab → · Contrast checker → · Palette generator →

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