#3052C3#3052C3

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

Color values

HEX#3052C3
RGBrgb(48, 82, 195)
HSLhsl(226, 60%, 48%)
HSVhsv(226, 75%, 76%)
CMYKcmyk(75.4%, 57.9%, 0%, 23.5%)
CIE-LABlab(38.90, 27.94, -62.59)
CIE-LCHlch(38.90, 68.55, 294.05°)
OKLaboklab(48.37% -0.0105 -0.1807)
OKLCHoklch(48.37% 0.181 266.7)
XYZxyz(14.0831, 10.6015, 52.9233)
Luminance0.1060 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3052C3 #C3A130
analogous
#309CC3 #3052C3 #5730C3
triadic
#3052C3 #C33052 #52C330
tetradic
#3052C3 #C3309C #C3A130 #30C357
square
#3052C3 #C3309C #C3A130 #30C357
split-complementary
#3052C3 #C35730 #9CC330
monochromatic
#182961 #243D92 #3052C3 #5A77D6 #8B9FE2

Accessibility & contrast

On white

6.73
#3052C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#3052C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3052C3
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3052C3#FFFFFF#000000##FFFFFF
##3052C31.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C7
Deuteranopia (green-blind)
#0055C1
Tritanopia (blue-blind)
#006E82
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #3052c3;
/* rgb */ color: rgb(48, 82, 195);
/* oklch */ color: oklch(48.4% 0.181 266.7);
Tailwind
colors: {
  custom: {
    50: '#7e82d6',
    500: '#3052c3',
    950: '#000000',
  },
}
SCSS
$custom: #3052c3;
$custom-light: #7e82d6;
$custom-dark: #000000;
JSON
{
  "hex": "#3052c3",
  "rgb": {
    "r": 48,
    "g": 82,
    "b": 195
  },
  "hsl": {
    "h": 226.122,
    "s": 60.494,
    "l": 47.647
  },
  "oklch": {
    "l": 0.48373,
    "c": 0.18099,
    "h": 266.7
  },
  "luminance": 0.10603
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3052C3

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

Preview Lab → · Contrast checker → · Palette generator →

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