#3056C7#3056C7

#3056C7 is a mid, vivid blue. Relative luminance 0.114; OKLCH L 49.5% C 0.181 H 265.8°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#3056C7
RGBrgb(48, 86, 199)
HSLhsl(225, 61%, 48%)
HSVhsv(225, 76%, 78%)
CMYKcmyk(75.9%, 56.8%, 0%, 22%)
CIE-LABlab(40.26, 26.83, -62.71)
CIE-LCHlch(40.26, 68.21, 293.16°)
OKLaboklab(49.49% -0.0132 -0.181)
OKLCHoklch(49.49% 0.181 265.8)
XYZxyz(14.8519, 11.4058, 55.4406)
Luminance0.1141 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3056C7 #C7A130
analogous
#30A1C7 #3056C7 #5530C7
triadic
#3056C7 #C73056 #56C730
tetradic
#3056C7 #C730A1 #C7A130 #30C755
square
#3056C7 #C730A1 #C7A130 #30C755
split-complementary
#3056C7 #C75530 #A1C730
monochromatic
#182B64 #244196 #3056C7 #5C7BD8 #8EA3E4

Accessibility & contrast

On white

6.40
#3056C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#3056C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3056C7
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3056C7#FFFFFF#000000##FFFFFF
##3056C71.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066CB
Deuteranopia (green-blind)
#0058C5
Tritanopia (blue-blind)
#007286
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #3056c7;
/* rgb */ color: rgb(48, 86, 199);
/* oklch */ color: oklch(49.5% 0.181 265.8);
Tailwind
colors: {
  custom: {
    50: '#7e85d9',
    500: '#3056c7',
    950: '#000000',
  },
}
SCSS
$custom: #3056c7;
$custom-light: #7e85d9;
$custom-dark: #000000;
JSON
{
  "hex": "#3056c7",
  "rgb": {
    "r": 48,
    "g": 86,
    "b": 199
  },
  "hsl": {
    "h": 224.901,
    "s": 61.134,
    "l": 48.431
  },
  "oklch": {
    "l": 0.49486,
    "c": 0.18145,
    "h": 265.8
  },
  "luminance": 0.11407
}

Semantic roles & 50–950 ramp

primary
#3056C7
secondary
#CEBC85
accent
#BC44E4
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #3056C7

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

Preview Lab → · Contrast checker → · Palette generator →

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