#3050B7#3050B7

#3050B7 is a mid, vivid blue. Relative luminance 0.098; OKLCH L 47.0% C 0.167 H 266.7°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#3050B7
RGBrgb(48, 80, 183)
HSLhsl(226, 58%, 45%)
HSVhsv(226, 74%, 72%)
CMYKcmyk(73.8%, 56.3%, 0%, 28.2%)
CIE-LABlab(37.45, 24.77, -57.93)
CIE-LCHlch(37.45, 63.00, 293.15°)
OKLaboklab(47% -0.0096 -0.167)
OKLCHoklch(47% 0.167 266.7)
XYZxyz(12.6318, 9.7832, 46.0132)
Luminance0.0979 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3050B7 #B79730
analogous
#3093B7 #3050B7 #5430B7
triadic
#3050B7 #B73050 #50B730
tetradic
#3050B7 #B73093 #B79730 #30B754
square
#3050B7 #B73093 #B79730 #30B754
split-complementary
#3050B7 #B75430 #93B730
monochromatic
#172656 #233B87 #3050B7 #5271D2 #8399DE

Accessibility & contrast

On white

7.10
#3050B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#3050B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3050B7
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3050B7#FFFFFF#000000##FFFFFF
##3050B71.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FBB
Deuteranopia (green-blind)
#0052B5
Tritanopia (blue-blind)
#00697B
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #3050b7;
/* rgb */ color: rgb(48, 80, 183);
/* oklch */ color: oklch(47.0% 0.167 266.7);
Tailwind
colors: {
  custom: {
    50: '#7b80cd',
    500: '#3050b7',
    950: '#000000',
  },
}
SCSS
$custom: #3050b7;
$custom-light: #7b80cd;
$custom-dark: #000000;
JSON
{
  "hex": "#3050b7",
  "rgb": {
    "r": 48,
    "g": 80,
    "b": 183
  },
  "hsl": {
    "h": 225.778,
    "s": 58.442,
    "l": 45.294
  },
  "oklch": {
    "l": 0.46996,
    "c": 0.16728,
    "h": 266.7
  },
  "luminance": 0.09785
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3050B7

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

Preview Lab → · Contrast checker → · Palette generator →

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