#3056B3#3056B3

#3056B3 is a mid, vivid blue. Relative luminance 0.105; OKLCH L 47.9% C 0.154 H 264.5°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#3056B3
RGBrgb(48, 86, 179)
HSLhsl(223, 58%, 45%)
HSVhsv(223, 73%, 70%)
CMYKcmyk(73.2%, 52%, 0%, 29.8%)
CIE-LABlab(38.79, 19.32, -53.40)
CIE-LCHlch(38.79, 56.79, 289.89°)
OKLaboklab(47.92% -0.0147 -0.1536)
OKLCHoklch(47.92% 0.154 264.5)
XYZxyz(12.6805, 10.5373, 44.0047)
Luminance0.1054 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3056B3 #B38D30
analogous
#3098B3 #3056B3 #4B30B3
triadic
#3056B3 #B33056 #56B330
tetradic
#3056B3 #B33098 #B38D30 #30B34B
square
#3056B3 #B33098 #B38D30 #30B34B
split-complementary
#3056B3 #B34B30 #98B330
monochromatic
#162852 #233F83 #3056B3 #5075D0 #809BDD

Accessibility & contrast

On white

6.76
#3056B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#3056B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3056B3
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3056B3#FFFFFF#000000##FFFFFF
##3056B31.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A62B6
Deuteranopia (green-blind)
#0056B1
Tritanopia (blue-blind)
#006C7C
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #3056b3;
/* rgb */ color: rgb(48, 86, 179);
/* oklch */ color: oklch(47.9% 0.154 264.5);
Tailwind
colors: {
  custom: {
    50: '#7a85ca',
    500: '#3056b3',
    950: '#000000',
  },
}
SCSS
$custom: #3056b3;
$custom-light: #7a85ca;
$custom-dark: #000000;
JSON
{
  "hex": "#3056b3",
  "rgb": {
    "r": 48,
    "g": 86,
    "b": 179
  },
  "hsl": {
    "h": 222.595,
    "s": 57.709,
    "l": 44.51
  },
  "oklch": {
    "l": 0.47916,
    "c": 0.15429,
    "h": 264.5
  },
  "luminance": 0.10539
}

Semantic roles & 50–950 ramp

primary
#3056B3
secondary
#C6B079
accent
#B447E1
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #3056B3

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

Preview Lab → · Contrast checker → · Palette generator →

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