#3056AB#3056AB

#3056AB is a mid, vivid blue. Relative luminance 0.102; OKLCH L 47.3% C 0.143 H 263.7°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#3056AB
RGBrgb(48, 86, 171)
HSLhsl(221, 56%, 43%)
HSVhsv(221, 72%, 67%)
CMYKcmyk(71.9%, 49.7%, 0%, 32.9%)
CIE-LABlab(38.24, 16.31, -49.56)
CIE-LCHlch(38.24, 52.18, 288.21°)
OKLaboklab(47.32% -0.0157 -0.1423)
OKLCHoklch(47.32% 0.143 263.7)
XYZxyz(11.8948, 10.2230, 39.8665)
Luminance0.1022 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3056AB #AB8530
analogous
#3093AB #3056AB #4730AB
triadic
#3056AB #AB3056 #56AB30
tetradic
#3056AB #AB3093 #AB8530 #30AB47
square
#3056AB #AB3093 #AB8530 #30AB47
split-complementary
#3056AB #AB4730 #93AB30
monochromatic
#15264B #233E7B #3056AB #4C73CD #7B99DA

Accessibility & contrast

On white

6.90
#3056AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##3056AB#FFFFFF#000000##FFFFFF
##3056AB1.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2660AE
Deuteranopia (green-blind)
#0055A9
Tritanopia (blue-blind)
#006A78
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #3056ab;
/* rgb */ color: rgb(48, 86, 171);
/* oklch */ color: oklch(47.3% 0.143 263.7);
Tailwind
colors: {
  custom: {
    50: '#7885c5',
    500: '#3056ab',
    950: '#000000',
  },
}
SCSS
$custom: #3056ab;
$custom-light: #7885c5;
$custom-dark: #000000;
JSON
{
  "hex": "#3056ab",
  "rgb": {
    "r": 48,
    "g": 86,
    "b": 171
  },
  "hsl": {
    "h": 221.463,
    "s": 56.164,
    "l": 42.941
  },
  "oklch": {
    "l": 0.47321,
    "c": 0.14315,
    "h": 263.7
  },
  "luminance": 0.10224
}

Semantic roles & 50–950 ramp

primary
#3056AB
secondary
#C3AA74
accent
#B148DF
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #3056AB

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

Preview Lab → · Contrast checker → · Palette generator →

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