#3052B8#3052B8

#3052B8 is a mid, vivid blue. Relative luminance 0.101; OKLCH L 47.5% C 0.166 H 266.2°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#3052B8
RGBrgb(48, 82, 184)
HSLhsl(225, 59%, 45%)
HSVhsv(225, 74%, 72%)
CMYKcmyk(73.9%, 55.4%, 0%, 27.8%)
CIE-LABlab(38.06, 23.83, -57.53)
CIE-LCHlch(38.06, 62.27, 292.50°)
OKLaboklab(47.48% -0.0111 -0.1658)
OKLCHoklch(47.48% 0.166 266.2)
XYZxyz(12.8849, 10.1223, 46.6128)
Luminance0.1012 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3052B8 #B89630
analogous
#3096B8 #3052B8 #5230B8
triadic
#3052B8 #B83052 #52B830
tetradic
#3052B8 #B83096 #B89630 #30B852
square
#3052B8 #B83096 #B89630 #30B852
split-complementary
#3052B8 #B85230 #96B830
monochromatic
#172757 #233C87 #3052B8 #5373D2 #849ADF

Accessibility & contrast

On white

6.94
#3052B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#3052B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3052B8
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3052B8#FFFFFF#000000##FFFFFF
##3052B81.006.943.026.94
#FFFFFF6.941.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BC
Deuteranopia (green-blind)
#0054B6
Tritanopia (blue-blind)
#006B7D
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #3052b8;
/* rgb */ color: rgb(48, 82, 184);
/* oklch */ color: oklch(47.5% 0.166 266.2);
Tailwind
colors: {
  custom: {
    50: '#7b82ce',
    500: '#3052b8',
    950: '#000000',
  },
}
SCSS
$custom: #3052b8;
$custom-light: #7b82ce;
$custom-dark: #000000;
JSON
{
  "hex": "#3052b8",
  "rgb": {
    "r": 48,
    "g": 82,
    "b": 184
  },
  "hsl": {
    "h": 225,
    "s": 58.621,
    "l": 45.49
  },
  "oklch": {
    "l": 0.47479,
    "c": 0.16615,
    "h": 266.2
  },
  "luminance": 0.10124
}

Semantic roles & 50–950 ramp

primary
#3052B8
secondary
#C8B57C
accent
#BB46E2
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A14
muted
#7C7C82

Preview Lab

Preview with #3052B8

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

Preview Lab → · Contrast checker → · Palette generator →

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