#3052BD#3052BD

#3052BD is a mid, vivid blue. Relative luminance 0.103; OKLCH L 47.9% C 0.173 H 266.4°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#3052BD
RGBrgb(48, 82, 189)
HSLhsl(226, 59%, 46%)
HSVhsv(226, 75%, 74%)
CMYKcmyk(74.6%, 56.6%, 0%, 25.9%)
CIE-LABlab(38.44, 25.70, -59.84)
CIE-LCHlch(38.44, 65.13, 293.24°)
OKLaboklab(47.88% -0.0108 -0.1726)
OKLCHoklch(47.88% 0.173 266.4)
XYZxyz(13.4183, 10.3356, 49.4220)
Luminance0.1034 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3052BD #BD9B30
analogous
#3099BD #3052BD #5530BD
triadic
#3052BD #BD3052 #52BD30
tetradic
#3052BD #BD3099 #BD9B30 #30BD55
square
#3052BD #BD3099 #BD9B30 #30BD55
split-complementary
#3052BD #BD5530 #99BD30
monochromatic
#17285B #243D8C #3052BD #5674D4 #879DE0

Accessibility & contrast

On white

6.85
#3052BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#3052BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3052BD
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3052BD#FFFFFF#000000##FFFFFF
##3052BD1.006.853.076.85
#FFFFFF6.851.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C1
Deuteranopia (green-blind)
#0054BB
Tritanopia (blue-blind)
#006C7F
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #3052bd;
/* rgb */ color: rgb(48, 82, 189);
/* oklch */ color: oklch(47.9% 0.173 266.4);
Tailwind
colors: {
  custom: {
    50: '#7c82d2',
    500: '#3052bd',
    950: '#000000',
  },
}
SCSS
$custom: #3052bd;
$custom-light: #7c82d2;
$custom-dark: #000000;
JSON
{
  "hex": "#3052bd",
  "rgb": {
    "r": 48,
    "g": 82,
    "b": 189
  },
  "hsl": {
    "h": 225.532,
    "s": 59.494,
    "l": 46.471
  },
  "oklch": {
    "l": 0.47881,
    "c": 0.17294,
    "h": 266.4
  },
  "luminance": 0.10337
}

Semantic roles & 50–950 ramp

primary
#3052BD
secondary
#CAB87F
accent
#BD45E3
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0A14
muted
#7C7C83

Preview Lab

Preview with #3052BD

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

Preview Lab → · Contrast checker → · Palette generator →

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