#3056C4#3056C4

#3056C4 is a mid, vivid blue. Relative luminance 0.113; OKLCH L 49.2% C 0.177 H 265.7°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#3056C4
RGBrgb(48, 86, 196)
HSLhsl(225, 61%, 48%)
HSVhsv(225, 76%, 77%)
CMYKcmyk(75.5%, 56.1%, 0%, 23.1%)
CIE-LABlab(40.03, 25.71, -61.34)
CIE-LCHlch(40.03, 66.51, 292.74°)
OKLaboklab(49.24% -0.0133 -0.1769)
OKLCHoklch(49.24% 0.177 265.7)
XYZxyz(14.5070, 11.2679, 53.6242)
Luminance0.1127 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3056C4 #C49E30
analogous
#30A0C4 #3056C4 #5430C4
triadic
#3056C4 #C43056 #56C430
tetradic
#3056C4 #C430A0 #C49E30 #30C454
square
#3056C4 #C430A0 #C49E30 #30C454
split-complementary
#3056C4 #C45430 #A0C430
monochromatic
#182B62 #244093 #3056C4 #5A7AD7 #8CA2E3

Accessibility & contrast

On white

6.45
#3056C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#3056C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3056C4
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3056C4#FFFFFF#000000##FFFFFF
##3056C41.006.453.256.45
#FFFFFF6.451.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C8
Deuteranopia (green-blind)
#0058C2
Tritanopia (blue-blind)
#007184
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #3056c4;
/* rgb */ color: rgb(48, 86, 196);
/* oklch */ color: oklch(49.2% 0.177 265.7);
Tailwind
colors: {
  custom: {
    50: '#7e85d7',
    500: '#3056c4',
    950: '#000000',
  },
}
SCSS
$custom: #3056c4;
$custom-light: #7e85d7;
$custom-dark: #000000;
JSON
{
  "hex": "#3056c4",
  "rgb": {
    "r": 48,
    "g": 86,
    "b": 196
  },
  "hsl": {
    "h": 224.595,
    "s": 60.656,
    "l": 47.843
  },
  "oklch": {
    "l": 0.49243,
    "c": 0.17744,
    "h": 265.7
  },
  "luminance": 0.11269
}

Semantic roles & 50–950 ramp

primary
#3056C4
secondary
#CDBA83
accent
#BB44E4
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0B14
muted
#7C7C83

Preview Lab

Preview with #3056C4

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

Preview Lab → · Contrast checker → · Palette generator →

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