#3052C0#3052C0

#3052C0 is a mid, vivid blue. Relative luminance 0.105; OKLCH L 48.1% C 0.177 H 266.5°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#3052C0
RGBrgb(48, 82, 192)
HSLhsl(226, 60%, 47%)
HSVhsv(226, 75%, 75%)
CMYKcmyk(75%, 57.3%, 0%, 24.7%)
CIE-LABlab(38.67, 26.82, -61.22)
CIE-LCHlch(38.67, 66.84, 293.66°)
OKLaboklab(48.13% -0.0106 -0.1766)
OKLCHoklch(48.13% 0.177 266.5)
XYZxyz(13.7473, 10.4672, 51.1548)
Luminance0.1047 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3052C0 #C09E30
analogous
#309AC0 #3052C0 #5630C0
triadic
#3052C0 #C03052 #52C030
tetradic
#3052C0 #C0309A #C09E30 #30C056
square
#3052C0 #C0309A #C09E30 #30C056
split-complementary
#3052C0 #C05630 #9AC030
monochromatic
#18285E #243D8F #3052C0 #5876D5 #899EE1

Accessibility & contrast

On white

6.79
#3052C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#3052C0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3052C0
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3052C0#FFFFFF#000000##FFFFFF
##3052C01.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C4
Deuteranopia (green-blind)
#0055BE
Tritanopia (blue-blind)
#006D81
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #3052c0;
/* rgb */ color: rgb(48, 82, 192);
/* oklch */ color: oklch(48.1% 0.177 266.5);
Tailwind
colors: {
  custom: {
    50: '#7d82d4',
    500: '#3052c0',
    950: '#000000',
  },
}
SCSS
$custom: #3052c0;
$custom-light: #7d82d4;
$custom-dark: #000000;
JSON
{
  "hex": "#3052c0",
  "rgb": {
    "r": 48,
    "g": 82,
    "b": 192
  },
  "hsl": {
    "h": 225.833,
    "s": 60,
    "l": 47.059
  },
  "oklch": {
    "l": 0.48126,
    "c": 0.17697,
    "h": 266.5
  },
  "luminance": 0.10469
}

Semantic roles & 50–950 ramp

primary
#3052C0
secondary
#CBBA80
accent
#BE45E3
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0A14
muted
#7C7C83

Preview Lab

Preview with #3052C0

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

Preview Lab → · Contrast checker → · Palette generator →

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