#3052C2#3052C2

#3052C2 is a mid, vivid blue. Relative luminance 0.106; OKLCH L 48.3% C 0.180 H 266.6°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#3052C2
RGBrgb(48, 82, 194)
HSLhsl(226, 60%, 47%)
HSVhsv(226, 75%, 76%)
CMYKcmyk(75.3%, 57.7%, 0%, 23.9%)
CIE-LABlab(38.82, 27.57, -62.14)
CIE-LCHlch(38.82, 67.98, 293.92°)
OKLaboklab(48.29% -0.0106 -0.1793)
OKLCHoklch(48.29% 0.18 266.6)
XYZxyz(13.9704, 10.5565, 52.3298)
Luminance0.1056 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3052C2 #C2A030
analogous
#309BC2 #3052C2 #5730C2
triadic
#3052C2 #C23052 #52C230
tetradic
#3052C2 #C2309B #C2A030 #30C257
square
#3052C2 #C2309B #C2A030 #30C257
split-complementary
#3052C2 #C25730 #9BC230
monochromatic
#182960 #243D91 #3052C2 #5976D6 #8A9FE2

Accessibility & contrast

On white

6.75
#3052C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#3052C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3052C2
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3052C2#FFFFFF#000000##FFFFFF
##3052C21.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C6
Deuteranopia (green-blind)
#0055C0
Tritanopia (blue-blind)
#006E82
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #3052c2;
/* rgb */ color: rgb(48, 82, 194);
/* oklch */ color: oklch(48.3% 0.180 266.6);
Tailwind
colors: {
  custom: {
    50: '#7d82d5',
    500: '#3052c2',
    950: '#000000',
  },
}
SCSS
$custom: #3052c2;
$custom-light: #7d82d5;
$custom-dark: #000000;
JSON
{
  "hex": "#3052c2",
  "rgb": {
    "r": 48,
    "g": 82,
    "b": 194
  },
  "hsl": {
    "h": 226.027,
    "s": 60.331,
    "l": 47.451
  },
  "oklch": {
    "l": 0.48291,
    "c": 0.17965,
    "h": 266.6
  },
  "luminance": 0.10558
}

Semantic roles & 50–950 ramp

primary
#3052C2
secondary
#CCBB82
accent
#BE44E3
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0A14
muted
#7C7C83

Preview Lab

Preview with #3052C2

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

Preview Lab → · Contrast checker → · Palette generator →

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