#3056AA#3056AA

#3056AA is a mid, vivid blue. Relative luminance 0.102; OKLCH L 47.2% C 0.142 H 263.6°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#3056AA
RGBrgb(48, 86, 170)
HSLhsl(221, 56%, 43%)
HSVhsv(221, 72%, 67%)
CMYKcmyk(71.8%, 49.4%, 0%, 33.3%)
CIE-LABlab(38.17, 15.93, -49.08)
CIE-LCHlch(38.17, 51.60, 287.98°)
OKLaboklab(47.25% -0.0158 -0.1409)
OKLCHoklch(47.25% 0.142 263.6)
XYZxyz(11.7998, 10.1850, 39.3664)
Luminance0.1019 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3056AA #AA8430
analogous
#3093AA #3056AA #4730AA
triadic
#3056AA #AA3056 #56AA30
tetradic
#3056AA #AA3093 #AA8430 #30AA47
square
#3056AA #AA3093 #AA8430 #30AA47
split-complementary
#3056AA #AA4730 #93AA30
monochromatic
#15264B #233E7A #3056AA #4B73CC #7B98DA

Accessibility & contrast

On white

6.91
#3056AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#3056AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3056AA#FFFFFF#000000##FFFFFF
##3056AA1.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2760AD
Deuteranopia (green-blind)
#0055A8
Tritanopia (blue-blind)
#006A78
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #3056aa;
/* rgb */ color: rgb(48, 86, 170);
/* oklch */ color: oklch(47.2% 0.142 263.6);
Tailwind
colors: {
  custom: {
    50: '#7885c4',
    500: '#3056aa',
    950: '#000000',
  },
}
SCSS
$custom: #3056aa;
$custom-light: #7885c4;
$custom-dark: #000000;
JSON
{
  "hex": "#3056aa",
  "rgb": {
    "r": 48,
    "g": 86,
    "b": 170
  },
  "hsl": {
    "h": 221.311,
    "s": 55.963,
    "l": 42.745
  },
  "oklch": {
    "l": 0.47248,
    "c": 0.14175,
    "h": 263.6
  },
  "luminance": 0.10186
}

Semantic roles & 50–950 ramp

primary
#3056AA
secondary
#C2AA74
accent
#B049DF
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #3056AA

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

Preview Lab → · Contrast checker → · Palette generator →

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