#3050B8#3050B8

#3050B8 is a mid, vivid blue. Relative luminance 0.098; OKLCH L 47.1% C 0.169 H 266.8°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#3050B8
RGBrgb(48, 80, 184)
HSLhsl(226, 59%, 45%)
HSVhsv(226, 74%, 72%)
CMYKcmyk(73.9%, 56.5%, 0%, 27.8%)
CIE-LABlab(37.53, 25.14, -58.39)
CIE-LCHlch(37.53, 63.58, 293.30°)
OKLaboklab(47.08% -0.0095 -0.1684)
OKLCHoklch(47.08% 0.169 266.8)
XYZxyz(12.7363, 9.8250, 46.5633)
Luminance0.0983 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3050B8 #B89830
analogous
#3094B8 #3050B8 #5430B8
triadic
#3050B8 #B83050 #50B830
tetradic
#3050B8 #B83094 #B89830 #30B854
square
#3050B8 #B83094 #B89830 #30B854
split-complementary
#3050B8 #B85430 #94B830
monochromatic
#172657 #233B87 #3050B8 #5371D2 #8499DF

Accessibility & contrast

On white

7.08
#3050B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#3050B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3050B8
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3050B8#FFFFFF#000000##FFFFFF
##3050B81.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FBC
Deuteranopia (green-blind)
#0052B6
Tritanopia (blue-blind)
#006A7C
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #3050b8;
/* rgb */ color: rgb(48, 80, 184);
/* oklch */ color: oklch(47.1% 0.169 266.8);
Tailwind
colors: {
  custom: {
    50: '#7b80ce',
    500: '#3050b8',
    950: '#000000',
  },
}
SCSS
$custom: #3050b8;
$custom-light: #7b80ce;
$custom-dark: #000000;
JSON
{
  "hex": "#3050b8",
  "rgb": {
    "r": 48,
    "g": 80,
    "b": 184
  },
  "hsl": {
    "h": 225.882,
    "s": 58.621,
    "l": 45.49
  },
  "oklch": {
    "l": 0.47077,
    "c": 0.16864,
    "h": 266.8
  },
  "luminance": 0.09826
}

Semantic roles & 50–950 ramp

primary
#3050B8
secondary
#C8B67C
accent
#BD46E2
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A14
muted
#7C7C82

Preview Lab

Preview with #3050B8

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

Preview Lab → · Contrast checker → · Palette generator →

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