#3056BD#3056BD

#3056BD is a mid, vivid blue. Relative luminance 0.110; OKLCH L 48.7% C 0.168 H 265.3°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#3056BD
RGBrgb(48, 86, 189)
HSLhsl(224, 59%, 46%)
HSVhsv(224, 75%, 74%)
CMYKcmyk(74.6%, 54.5%, 0%, 25.9%)
CIE-LABlab(39.51, 23.09, -58.11)
CIE-LCHlch(39.51, 62.53, 291.67°)
OKLaboklab(48.69% -0.0138 -0.1674)
OKLCHoklch(48.69% 0.168 265.3)
XYZxyz(13.7288, 10.9566, 49.5255)
Luminance0.1096 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3056BD #BD9730
analogous
#309DBD #3056BD #5130BD
triadic
#3056BD #BD3056 #56BD30
tetradic
#3056BD #BD309D #BD9730 #30BD51
square
#3056BD #BD309D #BD9730 #30BD51
split-complementary
#3056BD #BD5130 #9DBD30
monochromatic
#172A5B #24408C #3056BD #5678D4 #879FE0

Accessibility & contrast

On white

6.58
#3056BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#3056BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3056BD
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3056BD#FFFFFF#000000##FFFFFF
##3056BD1.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C1
Deuteranopia (green-blind)
#0057BB
Tritanopia (blue-blind)
#006F81
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #3056bd;
/* rgb */ color: rgb(48, 86, 189);
/* oklch */ color: oklch(48.7% 0.168 265.3);
Tailwind
colors: {
  custom: {
    50: '#7c85d2',
    500: '#3056bd',
    950: '#000000',
  },
}
SCSS
$custom: #3056bd;
$custom-light: #7c85d2;
$custom-dark: #000000;
JSON
{
  "hex": "#3056bd",
  "rgb": {
    "r": 48,
    "g": 86,
    "b": 189
  },
  "hsl": {
    "h": 223.83,
    "s": 59.494,
    "l": 46.471
  },
  "oklch": {
    "l": 0.48686,
    "c": 0.168,
    "h": 265.3
  },
  "luminance": 0.10958
}

Semantic roles & 50–950 ramp

primary
#3056BD
secondary
#CAB67F
accent
#B845E3
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0B14
muted
#7C7C83

Preview Lab

Preview with #3056BD

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

Preview Lab → · Contrast checker → · Palette generator →

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