#3052C8#3052C8

#3052C8 is a mid, vivid blue. Relative luminance 0.108; OKLCH L 48.8% C 0.188 H 266.8°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#3052C8
RGBrgb(48, 82, 200)
HSLhsl(227, 61%, 49%)
HSVhsv(227, 76%, 78%)
CMYKcmyk(76%, 59%, 0%, 21.6%)
CIE-LABlab(39.30, 29.79, -64.86)
CIE-LCHlch(39.30, 71.37, 294.67°)
OKLaboklab(48.79% -0.0104 -0.1873)
OKLCHoklch(48.79% 0.188 266.8)
XYZxyz(14.6579, 10.8315, 55.9505)
Luminance0.1083 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3052C8 #C8A630
analogous
#309EC8 #3052C8 #5A30C8
triadic
#3052C8 #C83052 #52C830
tetradic
#3052C8 #C8309E #C8A630 #30C85A
square
#3052C8 #C8309E #C8A630 #30C85A
split-complementary
#3052C8 #C85A30 #9EC830
monochromatic
#182A65 #243E97 #3052C8 #5D79D8 #8EA2E4

Accessibility & contrast

On white

6.63
#3052C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#3052C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3052C8
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3052C8#FFFFFF#000000##FFFFFF
##3052C81.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)
#0064CC
Deuteranopia (green-blind)
#0056C6
Tritanopia (blue-blind)
#007085
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #3052c8;
/* rgb */ color: rgb(48, 82, 200);
/* oklch */ color: oklch(48.8% 0.188 266.8);
Tailwind
colors: {
  custom: {
    50: '#7f82da',
    500: '#3052c8',
    950: '#000000',
  },
}
SCSS
$custom: #3052c8;
$custom-light: #7f82da;
$custom-dark: #000000;
JSON
{
  "hex": "#3052c8",
  "rgb": {
    "r": 48,
    "g": 82,
    "b": 200
  },
  "hsl": {
    "h": 226.579,
    "s": 61.29,
    "l": 48.627
  },
  "oklch": {
    "l": 0.48791,
    "c": 0.18761,
    "h": 266.8
  },
  "luminance": 0.10833
}

Semantic roles & 50–950 ramp

primary
#3052C8
secondary
#CEBE85
accent
#C043E4
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0C0A15
muted
#7D7C83

Preview Lab

Preview with #3052C8

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

Preview Lab → · Contrast checker → · Palette generator →

#3052C8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva