#3050B3#3050B3

#3050B3 is a mid, vivid blue. Relative luminance 0.096; OKLCH L 46.7% C 0.162 H 266.5°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#3050B3
RGBrgb(48, 80, 179)
HSLhsl(225, 58%, 45%)
HSVhsv(225, 73%, 70%)
CMYKcmyk(73.2%, 55.3%, 0%, 29.8%)
CIE-LABlab(37.15, 23.27, -56.06)
CIE-LCHlch(37.15, 60.70, 292.54°)
OKLaboklab(46.68% -0.0098 -0.1615)
OKLCHoklch(46.68% 0.162 266.5)
XYZxyz(12.2214, 9.6191, 43.8517)
Luminance0.0962 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3050B3 #B39330
analogous
#3091B3 #3050B3 #5230B3
triadic
#3050B3 #B33050 #50B330
tetradic
#3050B3 #B33091 #B39330 #30B352
square
#3050B3 #B33091 #B39330 #30B352
split-complementary
#3050B3 #B35230 #91B330
monochromatic
#162552 #233A83 #3050B3 #506FD0 #8097DD

Accessibility & contrast

On white

7.18
#3050B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#3050B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3050B3
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3050B3#FFFFFF#000000##FFFFFF
##3050B31.007.182.927.18
#FFFFFF7.181.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EB6
Deuteranopia (green-blind)
#0052B1
Tritanopia (blue-blind)
#006879
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #3050b3;
/* rgb */ color: rgb(48, 80, 179);
/* oklch */ color: oklch(46.7% 0.162 266.5);
Tailwind
colors: {
  custom: {
    50: '#7a80ca',
    500: '#3050b3',
    950: '#000000',
  },
}
SCSS
$custom: #3050b3;
$custom-light: #7a80ca;
$custom-dark: #000000;
JSON
{
  "hex": "#3050b3",
  "rgb": {
    "r": 48,
    "g": 80,
    "b": 179
  },
  "hsl": {
    "h": 225.344,
    "s": 57.709,
    "l": 44.51
  },
  "oklch": {
    "l": 0.46675,
    "c": 0.1618,
    "h": 266.5
  },
  "luminance": 0.0962
}

Semantic roles & 50–950 ramp

primary
#3050B3
secondary
#C6B379
accent
#BB47E1
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #3050B3

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

Preview Lab → · Contrast checker → · Palette generator →

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