#3052BC#3052BC

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

Color values

HEX#3052BC
RGBrgb(48, 82, 188)
HSLhsl(225, 59%, 46%)
HSVhsv(225, 74%, 74%)
CMYKcmyk(74.5%, 56.4%, 0%, 26.3%)
CIE-LABlab(38.36, 25.33, -59.38)
CIE-LCHlch(38.36, 64.56, 293.10°)
OKLaboklab(47.8% -0.0108 -0.1712)
OKLCHoklch(47.8% 0.172 266.4)
XYZxyz(13.3101, 10.2924, 48.8523)
Luminance0.1029 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3052BC #BC9A30
analogous
#3098BC #3052BC #5430BC
triadic
#3052BC #BC3052 #52BC30
tetradic
#3052BC #BC3098 #BC9A30 #30BC54
square
#3052BC #BC3098 #BC9A30 #30BC54
split-complementary
#3052BC #BC5430 #98BC30
monochromatic
#17275A #243D8B #3052BC #5574D4 #869CE0

Accessibility & contrast

On white

6.87
#3052BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#3052BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3052BC
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3052BC#FFFFFF#000000##FFFFFF
##3052BC1.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3052bc;
/* rgb */ color: rgb(48, 82, 188);
/* oklch */ color: oklch(47.8% 0.172 266.4);
Tailwind
colors: {
  custom: {
    50: '#7c82d1',
    500: '#3052bc',
    950: '#000000',
  },
}
SCSS
$custom: #3052bc;
$custom-light: #7c82d1;
$custom-dark: #000000;
JSON
{
  "hex": "#3052bc",
  "rgb": {
    "r": 48,
    "g": 82,
    "b": 188
  },
  "hsl": {
    "h": 225.429,
    "s": 59.322,
    "l": 46.275
  },
  "oklch": {
    "l": 0.478,
    "c": 0.17158,
    "h": 266.4
  },
  "luminance": 0.10294
}

Semantic roles & 50–950 ramp

primary
#3052BC
secondary
#CAB77E
accent
#BC45E3
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A14
muted
#7C7C82

Preview Lab

Preview with #3052BC

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

Preview Lab → · Contrast checker → · Palette generator →

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