#3056B4#3056B4

#3056B4 is a mid, vivid blue. Relative luminance 0.106; OKLCH L 48.0% C 0.156 H 264.6°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#3056B4
RGBrgb(48, 86, 180)
HSLhsl(223, 58%, 45%)
HSVhsv(223, 73%, 71%)
CMYKcmyk(73.3%, 52.2%, 0%, 29.4%)
CIE-LABlab(38.86, 19.70, -53.88)
CIE-LCHlch(38.86, 57.37, 290.08°)
OKLaboklab(47.99% -0.0146 -0.155)
OKLCHoklch(47.99% 0.156 264.6)
XYZxyz(12.7820, 10.5779, 44.5393)
Luminance0.1058 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3056B4 #B48E30
analogous
#3098B4 #3056B4 #4C30B4
triadic
#3056B4 #B43056 #56B430
tetradic
#3056B4 #B43098 #B48E30 #30B44C
square
#3056B4 #B43098 #B48E30 #30B44C
split-complementary
#3056B4 #B44C30 #98B430
monochromatic
#162853 #233F84 #3056B4 #5175D1 #819CDD

Accessibility & contrast

On white

6.74
#3056B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#3056B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3056B4
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3056B4#FFFFFF#000000##FFFFFF
##3056B41.006.743.126.74
#FFFFFF6.741.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1862B7
Deuteranopia (green-blind)
#0056B2
Tritanopia (blue-blind)
#006D7C
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #3056b4;
/* rgb */ color: rgb(48, 86, 180);
/* oklch */ color: oklch(48.0% 0.156 264.6);
Tailwind
colors: {
  custom: {
    50: '#7a85cb',
    500: '#3056b4',
    950: '#000000',
  },
}
SCSS
$custom: #3056b4;
$custom-light: #7a85cb;
$custom-dark: #000000;
JSON
{
  "hex": "#3056b4",
  "rgb": {
    "r": 48,
    "g": 86,
    "b": 180
  },
  "hsl": {
    "h": 222.727,
    "s": 57.895,
    "l": 44.706
  },
  "oklch": {
    "l": 0.47991,
    "c": 0.15568,
    "h": 264.6
  },
  "luminance": 0.10579
}

Semantic roles & 50–950 ramp

primary
#3056B4
secondary
#C6B079
accent
#B547E1
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #3056B4

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

Preview Lab → · Contrast checker → · Palette generator →

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