#3050C2#3050C2

#3050C2 is a mid, vivid blue. Relative luminance 0.103; OKLCH L 47.9% C 0.182 H 267.1°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#3050C2
RGBrgb(48, 80, 194)
HSLhsl(227, 60%, 47%)
HSVhsv(227, 75%, 76%)
CMYKcmyk(75.3%, 58.8%, 0%, 23.9%)
CIE-LABlab(38.30, 28.87, -62.98)
CIE-LCHlch(38.30, 69.28, 294.62°)
OKLaboklab(47.9% -0.0092 -0.1819)
OKLCHoklch(47.9% 0.182 267.1)
XYZxyz(13.8218, 10.2592, 52.2803)
Luminance0.1026 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3050C2 #C2A230
analogous
#3099C2 #3050C2 #5930C2
triadic
#3050C2 #C23050 #50C230
tetradic
#3050C2 #C23099 #C2A230 #30C259
square
#3050C2 #C23099 #C2A230 #30C259
split-complementary
#3050C2 #C25930 #99C230
monochromatic
#182860 #243C91 #3050C2 #5975D6 #8A9EE2

Accessibility & contrast

On white

6.88
#3050C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#3050C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3050C2
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3050C2#FFFFFF#000000##FFFFFF
##3050C21.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C6
Deuteranopia (green-blind)
#0054C0
Tritanopia (blue-blind)
#006D81
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #3050c2;
/* rgb */ color: rgb(48, 80, 194);
/* oklch */ color: oklch(47.9% 0.182 267.1);
Tailwind
colors: {
  custom: {
    50: '#7e80d5',
    500: '#3050c2',
    950: '#000000',
  },
}
SCSS
$custom: #3050c2;
$custom-light: #7e80d5;
$custom-dark: #000000;
JSON
{
  "hex": "#3050c2",
  "rgb": {
    "r": 48,
    "g": 80,
    "b": 194
  },
  "hsl": {
    "h": 226.849,
    "s": 60.331,
    "l": 47.451
  },
  "oklch": {
    "l": 0.47902,
    "c": 0.18208,
    "h": 267.1
  },
  "luminance": 0.10261
}

Semantic roles & 50–950 ramp

primary
#3050C2
secondary
#CCBC82
accent
#C144E3
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0A14
muted
#7C7C83

Preview Lab

Preview with #3050C2

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

Preview Lab → · Contrast checker → · Palette generator →

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