#3056B2#3056B2

#3056B2 is a mid, vivid blue. Relative luminance 0.105; OKLCH L 47.8% C 0.153 H 264.4°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#3056B2
RGBrgb(48, 86, 178)
HSLhsl(222, 58%, 44%)
HSVhsv(222, 73%, 70%)
CMYKcmyk(73%, 51.7%, 0%, 30.2%)
CIE-LABlab(38.72, 18.95, -52.93)
CIE-LCHlch(38.72, 56.22, 289.70°)
OKLaboklab(47.84% -0.0148 -0.1522)
OKLCHoklch(47.84% 0.153 264.4)
XYZxyz(12.5798, 10.4970, 43.4740)
Luminance0.1050 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3056B2 #B28C30
analogous
#3097B2 #3056B2 #4B30B2
triadic
#3056B2 #B23056 #56B230
tetradic
#3056B2 #B23097 #B28C30 #30B24B
square
#3056B2 #B23097 #B28C30 #30B24B
split-complementary
#3056B2 #B24B30 #97B230
monochromatic
#162752 #233F82 #3056B2 #5075D0 #809BDD

Accessibility & contrast

On white

6.78
#3056B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#3056B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3056B2#FFFFFF#000000##FFFFFF
##3056B21.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B61B5
Deuteranopia (green-blind)
#0056B0
Tritanopia (blue-blind)
#006C7B
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #3056b2;
/* rgb */ color: rgb(48, 86, 178);
/* oklch */ color: oklch(47.8% 0.153 264.4);
Tailwind
colors: {
  custom: {
    50: '#7a85ca',
    500: '#3056b2',
    950: '#000000',
  },
}
SCSS
$custom: #3056b2;
$custom-light: #7a85ca;
$custom-dark: #000000;
JSON
{
  "hex": "#3056b2",
  "rgb": {
    "r": 48,
    "g": 86,
    "b": 178
  },
  "hsl": {
    "h": 222.462,
    "s": 57.522,
    "l": 44.314
  },
  "oklch": {
    "l": 0.4784,
    "c": 0.15291,
    "h": 264.4
  },
  "luminance": 0.10498
}

Semantic roles & 50–950 ramp

primary
#3056B2
secondary
#C6AF78
accent
#B447E1
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #3056B2

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

Preview Lab → · Contrast checker → · Palette generator →

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