#3056B8#3056B8

#3056B8 is a mid, vivid blue. Relative luminance 0.107; OKLCH L 48.3% C 0.161 H 264.9°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#3056B8
RGBrgb(48, 86, 184)
HSLhsl(223, 59%, 45%)
HSVhsv(223, 74%, 72%)
CMYKcmyk(73.9%, 53.3%, 0%, 27.8%)
CIE-LABlab(39.14, 21.21, -55.77)
CIE-LCHlch(39.14, 59.67, 290.82°)
OKLaboklab(48.3% -0.0142 -0.1605)
OKLCHoklch(48.3% 0.161 264.9)
XYZxyz(13.1954, 10.7432, 46.7163)
Luminance0.1075 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3056B8 #B89230
analogous
#309AB8 #3056B8 #4E30B8
triadic
#3056B8 #B83056 #56B830
tetradic
#3056B8 #B8309A #B89230 #30B84E
square
#3056B8 #B8309A #B89230 #30B84E
split-complementary
#3056B8 #B84E30 #9AB830
monochromatic
#172957 #233F87 #3056B8 #5377D2 #849DDF

Accessibility & contrast

On white

6.67
#3056B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#3056B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3056B8
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3056B8#FFFFFF#000000##FFFFFF
##3056B81.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E63BB
Deuteranopia (green-blind)
#0056B6
Tritanopia (blue-blind)
#006E7E
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #3056b8;
/* rgb */ color: rgb(48, 86, 184);
/* oklch */ color: oklch(48.3% 0.161 264.9);
Tailwind
colors: {
  custom: {
    50: '#7b85ce',
    500: '#3056b8',
    950: '#000000',
  },
}
SCSS
$custom: #3056b8;
$custom-light: #7b85ce;
$custom-dark: #000000;
JSON
{
  "hex": "#3056b8",
  "rgb": {
    "r": 48,
    "g": 86,
    "b": 184
  },
  "hsl": {
    "h": 223.235,
    "s": 58.621,
    "l": 45.49
  },
  "oklch": {
    "l": 0.48297,
    "c": 0.16118,
    "h": 264.9
  },
  "luminance": 0.10745
}

Semantic roles & 50–950 ramp

primary
#3056B8
secondary
#C8B37C
accent
#B646E2
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0B14
muted
#7C7C82

Preview Lab

Preview with #3056B8

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

Preview Lab → · Contrast checker → · Palette generator →

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