#3056C2#3056C2

#3056C2 is a mid, vivid blue. Relative luminance 0.112; OKLCH L 49.1% C 0.175 H 265.6°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#3056C2
RGBrgb(48, 86, 194)
HSLhsl(224, 60%, 47%)
HSVhsv(224, 75%, 76%)
CMYKcmyk(75.3%, 55.7%, 0%, 23.9%)
CIE-LABlab(39.88, 24.96, -60.42)
CIE-LCHlch(39.88, 65.38, 292.45°)
OKLaboklab(49.08% -0.0135 -0.1742)
OKLCHoklch(49.08% 0.175 265.6)
XYZxyz(14.2809, 11.1774, 52.4333)
Luminance0.1118 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3056C2 #C29C30
analogous
#309FC2 #3056C2 #5330C2
triadic
#3056C2 #C23056 #56C230
tetradic
#3056C2 #C2309F #C29C30 #30C253
square
#3056C2 #C2309F #C29C30 #30C253
split-complementary
#3056C2 #C25330 #9FC230
monochromatic
#182B60 #244091 #3056C2 #597AD6 #8AA1E2

Accessibility & contrast

On white

6.49
#3056C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#3056C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3056C2
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3056C2#FFFFFF#000000##FFFFFF
##3056C21.006.493.246.49
#FFFFFF6.491.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C6
Deuteranopia (green-blind)
#0057C0
Tritanopia (blue-blind)
#007183
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #3056c2;
/* rgb */ color: rgb(48, 86, 194);
/* oklch */ color: oklch(49.1% 0.175 265.6);
Tailwind
colors: {
  custom: {
    50: '#7d85d5',
    500: '#3056c2',
    950: '#000000',
  },
}
SCSS
$custom: #3056c2;
$custom-light: #7d85d5;
$custom-dark: #000000;
JSON
{
  "hex": "#3056c2",
  "rgb": {
    "r": 48,
    "g": 86,
    "b": 194
  },
  "hsl": {
    "h": 224.384,
    "s": 60.331,
    "l": 47.451
  },
  "oklch": {
    "l": 0.49083,
    "c": 0.17476,
    "h": 265.6
  },
  "luminance": 0.11179
}

Semantic roles & 50–950 ramp

primary
#3056C2
secondary
#CCB982
accent
#BA44E3
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0B14
muted
#7C7C83

Preview Lab

Preview with #3056C2

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

Preview Lab → · Contrast checker → · Palette generator →

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