#3052BF#3052BF

#3052BF is a mid, vivid blue. Relative luminance 0.104; OKLCH L 48.0% C 0.176 H 266.5°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#3052BF
RGBrgb(48, 82, 191)
HSLhsl(226, 60%, 47%)
HSVhsv(226, 75%, 75%)
CMYKcmyk(74.9%, 57.1%, 0%, 25.1%)
CIE-LABlab(38.59, 26.45, -60.76)
CIE-LCHlch(38.59, 66.27, 293.52°)
OKLaboklab(48.04% -0.0107 -0.1753)
OKLCHoklch(48.04% 0.176 266.5)
XYZxyz(13.6369, 10.4231, 50.5733)
Luminance0.1042 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3052BF #BF9D30
analogous
#309ABF #3052BF #5530BF
triadic
#3052BF #BF3052 #52BF30
tetradic
#3052BF #BF309A #BF9D30 #30BF55
square
#3052BF #BF309A #BF9D30 #30BF55
split-complementary
#3052BF #BF5530 #9ABF30
monochromatic
#17285D #243D8E #3052BF #5775D5 #889DE1

Accessibility & contrast

On white

6.81
#3052BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #3052BF
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3052BF#FFFFFF#000000##FFFFFF
##3052BF1.006.813.096.81
#FFFFFF6.811.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C3
Deuteranopia (green-blind)
#0054BD
Tritanopia (blue-blind)
#006D80
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #3052bf;
/* rgb */ color: rgb(48, 82, 191);
/* oklch */ color: oklch(48.0% 0.176 266.5);
Tailwind
colors: {
  custom: {
    50: '#7d82d3',
    500: '#3052bf',
    950: '#000000',
  },
}
SCSS
$custom: #3052bf;
$custom-light: #7d82d3;
$custom-dark: #000000;
JSON
{
  "hex": "#3052bf",
  "rgb": {
    "r": 48,
    "g": 82,
    "b": 191
  },
  "hsl": {
    "h": 225.734,
    "s": 59.833,
    "l": 46.863
  },
  "oklch": {
    "l": 0.48044,
    "c": 0.17563,
    "h": 266.5
  },
  "luminance": 0.10425
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3052BF

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

Preview Lab → · Contrast checker → · Palette generator →

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