#3050B2#3050B2

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

Color values

HEX#3050B2
RGBrgb(48, 80, 178)
HSLhsl(225, 58%, 44%)
HSVhsv(225, 73%, 70%)
CMYKcmyk(73%, 55.1%, 0%, 30.2%)
CIE-LABlab(37.08, 22.90, -55.59)
CIE-LCHlch(37.08, 60.12, 292.39°)
OKLaboklab(46.6% -0.0099 -0.1601)
OKLCHoklch(46.6% 0.16 266.5)
XYZxyz(12.1207, 9.5788, 43.3210)
Luminance0.0958 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3050B2 #B29230
analogous
#3091B2 #3050B2 #5130B2
triadic
#3050B2 #B23050 #50B230
tetradic
#3050B2 #B23091 #B29230 #30B251
square
#3050B2 #B23091 #B29230 #30B251
split-complementary
#3050B2 #B25130 #91B230
monochromatic
#162552 #233A82 #3050B2 #506FD0 #8097DD

Accessibility & contrast

On white

7.20
#3050B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3050B2
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3050B2#FFFFFF#000000##FFFFFF
##3050B21.007.202.927.20
#FFFFFF7.201.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3050b2;
/* rgb */ color: rgb(48, 80, 178);
/* oklch */ color: oklch(46.6% 0.160 266.5);
Tailwind
colors: {
  custom: {
    50: '#7a80ca',
    500: '#3050b2',
    950: '#000000',
  },
}
SCSS
$custom: #3050b2;
$custom-light: #7a80ca;
$custom-dark: #000000;
JSON
{
  "hex": "#3050b2",
  "rgb": {
    "r": 48,
    "g": 80,
    "b": 178
  },
  "hsl": {
    "h": 225.231,
    "s": 57.522,
    "l": 44.314
  },
  "oklch": {
    "l": 0.46595,
    "c": 0.16043,
    "h": 266.5
  },
  "luminance": 0.0958
}

Semantic roles & 50–950 ramp

primary
#3050B2
secondary
#C6B378
accent
#BB47E1
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #3050B2

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

Preview Lab → · Contrast checker → · Palette generator →

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