#3056BA#3056BA

#3056BA is a mid, vivid blue. Relative luminance 0.108; OKLCH L 48.5% C 0.164 H 265.1°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#3056BA
RGBrgb(48, 86, 186)
HSLhsl(223, 59%, 46%)
HSVhsv(223, 74%, 73%)
CMYKcmyk(74.2%, 53.8%, 0%, 27.1%)
CIE-LABlab(39.29, 21.96, -56.71)
CIE-LCHlch(39.29, 60.81, 291.17°)
OKLaboklab(48.45% -0.014 -0.1633)
OKLCHoklch(48.45% 0.164 265.1)
XYZxyz(13.4065, 10.8277, 47.8282)
Luminance0.1083 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3056BA #BA9430
analogous
#309BBA #3056BA #4F30BA
triadic
#3056BA #BA3056 #56BA30
tetradic
#3056BA #BA309B #BA9430 #30BA4F
square
#3056BA #BA309B #BA9430 #30BA4F
split-complementary
#3056BA #BA4F30 #9BBA30
monochromatic
#172959 #234089 #3056BA #5477D3 #859EDF

Accessibility & contrast

On white

6.63
#3056BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#3056BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3056BA#FFFFFF#000000##FFFFFF
##3056BA1.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0663BE
Deuteranopia (green-blind)
#0056B8
Tritanopia (blue-blind)
#006E7F
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #3056ba;
/* rgb */ color: rgb(48, 86, 186);
/* oklch */ color: oklch(48.5% 0.164 265.1);
Tailwind
colors: {
  custom: {
    50: '#7b85cf',
    500: '#3056ba',
    950: '#000000',
  },
}
SCSS
$custom: #3056ba;
$custom-light: #7b85cf;
$custom-dark: #000000;
JSON
{
  "hex": "#3056ba",
  "rgb": {
    "r": 48,
    "g": 86,
    "b": 186
  },
  "hsl": {
    "h": 223.478,
    "s": 58.974,
    "l": 45.882
  },
  "oklch": {
    "l": 0.48452,
    "c": 0.16391,
    "h": 265.1
  },
  "luminance": 0.10829
}

Semantic roles & 50–950 ramp

primary
#3056BA
secondary
#C9B47D
accent
#B746E2
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0B14
muted
#7C7C82

Preview Lab

Preview with #3056BA

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

Preview Lab → · Contrast checker → · Palette generator →

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