#3056A2#3056A2

#3056A2 is a mid, vivid blue. Relative luminance 0.099; OKLCH L 46.7% C 0.130 H 262.5°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#3056A2
RGBrgb(48, 86, 162)
HSLhsl(220, 54%, 41%)
HSVhsv(220, 70%, 64%)
CMYKcmyk(70.4%, 46.9%, 0%, 36.5%)
CIE-LABlab(37.65, 12.91, -45.16)
CIE-LCHlch(37.65, 46.97, 285.96°)
OKLaboklab(46.68% -0.017 -0.1293)
OKLCHoklch(46.68% 0.13 262.5)
XYZxyz(11.0660, 9.8915, 35.5015)
Luminance0.0989 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3056A2 #A27C30
analogous
#308FA2 #3056A2 #4330A2
triadic
#3056A2 #A23056 #56A230
tetradic
#3056A2 #A2308F #A27C30 #30A243
square
#3056A2 #A2308F #A27C30 #30A243
split-complementary
#3056A2 #A24330 #8FA230
monochromatic
#142444 #223D73 #3056A2 #4772C8 #7696D6

Accessibility & contrast

On white

7.05
#3056A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#3056A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3056A2
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3056A2#FFFFFF#000000##FFFFFF
##3056A21.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5EA5
Deuteranopia (green-blind)
#1754A0
Tritanopia (blue-blind)
#006874
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #3056a2;
/* rgb */ color: rgb(48, 86, 162);
/* oklch */ color: oklch(46.7% 0.130 262.5);
Tailwind
colors: {
  custom: {
    50: '#7685be',
    500: '#3056a2',
    950: '#000000',
  },
}
SCSS
$custom: #3056a2;
$custom-light: #7685be;
$custom-dark: #000000;
JSON
{
  "hex": "#3056a2",
  "rgb": {
    "r": 48,
    "g": 86,
    "b": 162
  },
  "hsl": {
    "h": 220,
    "s": 54.286,
    "l": 41.176
  },
  "oklch": {
    "l": 0.46677,
    "c": 0.13045,
    "h": 262.5
  },
  "luminance": 0.09893
}

Semantic roles & 50–950 ramp

primary
#3056A2
secondary
#BEA46F
accent
#AC4ADE
background
#F7F8FB
surface
#EEEFF7
border
#C9CAD0
text
#0A0B12
muted
#7C7C81

Preview Lab

Preview with #3056A2

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

Preview Lab → · Contrast checker → · Palette generator →

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