#3052C4#3052C4

#3052C4 is a mid, vivid blue. Relative luminance 0.106; OKLCH L 48.5% C 0.182 H 266.7°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#3052C4
RGBrgb(48, 82, 196)
HSLhsl(226, 61%, 48%)
HSVhsv(226, 76%, 77%)
CMYKcmyk(75.5%, 58.2%, 0%, 23.1%)
CIE-LABlab(38.98, 28.31, -63.05)
CIE-LCHlch(38.98, 69.11, 294.18°)
OKLaboklab(48.46% -0.0105 -0.182)
OKLCHoklch(48.46% 0.182 266.7)
XYZxyz(14.1965, 10.6469, 53.5207)
Luminance0.1065 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3052C4 #C4A230
analogous
#309CC4 #3052C4 #5830C4
triadic
#3052C4 #C43052 #52C430
tetradic
#3052C4 #C4309C #C4A230 #30C458
square
#3052C4 #C4309C #C4A230 #30C458
split-complementary
#3052C4 #C45830 #9CC430
monochromatic
#182962 #243D93 #3052C4 #5A77D7 #8CA0E3

Accessibility & contrast

On white

6.71
#3052C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#3052C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3052C4
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3052C4#FFFFFF#000000##FFFFFF
##3052C41.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C8
Deuteranopia (green-blind)
#0055C2
Tritanopia (blue-blind)
#006F83
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #3052c4;
/* rgb */ color: rgb(48, 82, 196);
/* oklch */ color: oklch(48.5% 0.182 266.7);
Tailwind
colors: {
  custom: {
    50: '#7e82d7',
    500: '#3052c4',
    950: '#000000',
  },
}
SCSS
$custom: #3052c4;
$custom-light: #7e82d7;
$custom-dark: #000000;
JSON
{
  "hex": "#3052c4",
  "rgb": {
    "r": 48,
    "g": 82,
    "b": 196
  },
  "hsl": {
    "h": 226.216,
    "s": 60.656,
    "l": 47.843
  },
  "oklch": {
    "l": 0.48456,
    "c": 0.18231,
    "h": 266.7
  },
  "luminance": 0.10648
}

Semantic roles & 50–950 ramp

primary
#3052C4
secondary
#CDBC83
accent
#BF44E4
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0B0A14
muted
#7C7C83

Preview Lab

Preview with #3052C4

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

Preview Lab → · Contrast checker → · Palette generator →

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