#3056AC#3056AC

#3056AC is a mid, vivid blue. Relative luminance 0.103; OKLCH L 47.4% C 0.145 H 263.8°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#3056AC
RGBrgb(48, 86, 172)
HSLhsl(222, 56%, 43%)
HSVhsv(222, 72%, 67%)
CMYKcmyk(72.1%, 50%, 0%, 32.5%)
CIE-LABlab(38.31, 16.68, -50.05)
CIE-LCHlch(38.31, 52.75, 288.44°)
OKLaboklab(47.39% -0.0155 -0.1437)
OKLCHoklch(47.39% 0.145 263.8)
XYZxyz(11.9905, 10.2613, 40.3704)
Luminance0.1026 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3056AC #AC8630
analogous
#3094AC #3056AC #4830AC
triadic
#3056AC #AC3056 #56AC30
tetradic
#3056AC #AC3094 #AC8630 #30AC48
square
#3056AC #AC3094 #AC8630 #30AC48
split-complementary
#3056AC #AC4830 #94AC30
monochromatic
#15264C #233E7C #3056AC #4C74CD #7C99DA

Accessibility & contrast

On white

6.88
#3056AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#3056AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3056AC#FFFFFF#000000##FFFFFF
##3056AC1.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2460AF
Deuteranopia (green-blind)
#0055AA
Tritanopia (blue-blind)
#006A79
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #3056ac;
/* rgb */ color: rgb(48, 86, 172);
/* oklch */ color: oklch(47.4% 0.145 263.8);
Tailwind
colors: {
  custom: {
    50: '#7885c5',
    500: '#3056ac',
    950: '#000000',
  },
}
SCSS
$custom: #3056ac;
$custom-light: #7885c5;
$custom-dark: #000000;
JSON
{
  "hex": "#3056ac",
  "rgb": {
    "r": 48,
    "g": 86,
    "b": 172
  },
  "hsl": {
    "h": 221.613,
    "s": 56.364,
    "l": 43.137
  },
  "oklch": {
    "l": 0.47394,
    "c": 0.14455,
    "h": 263.8
  },
  "luminance": 0.10263
}

Semantic roles & 50–950 ramp

primary
#3056AC
secondary
#C3AB75
accent
#B148E0
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #3056AC

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

Preview Lab → · Contrast checker → · Palette generator →

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