#3052A4#3052A4

#3052A4 is a mid, vivid blue. Relative luminance 0.093; OKLCH L 45.9% C 0.138 H 264.6°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#3052A4
RGBrgb(48, 82, 164)
HSLhsl(222, 55%, 42%)
HSVhsv(222, 71%, 64%)
CMYKcmyk(70.7%, 50%, 0%, 35.7%)
CIE-LABlab(36.63, 16.30, -47.98)
CIE-LCHlch(36.63, 50.68, 288.77°)
OKLaboklab(45.95% -0.013 -0.1377)
OKLCHoklch(45.95% 0.138 264.6)
XYZxyz(10.9347, 9.3422, 36.3417)
Luminance0.0934 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3052A4 #A48230
analogous
#308CA4 #3052A4 #4830A4
triadic
#3052A4 #A43052 #52A430
tetradic
#3052A4 #A4308C #A48230 #30A448
square
#3052A4 #A4308C #A48230 #30A448
split-complementary
#3052A4 #A44830 #8CA430
monochromatic
#142345 #223A75 #3052A4 #486EC9 #7793D7

Accessibility & contrast

On white

7.32
#3052A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#3052A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3052A4
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3052A4#FFFFFF#000000##FFFFFF
##3052A41.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#245CA7
Deuteranopia (green-blind)
#0051A2
Tritanopia (blue-blind)
#006573
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #3052a4;
/* rgb */ color: rgb(48, 82, 164);
/* oklch */ color: oklch(45.9% 0.138 264.6);
Tailwind
colors: {
  custom: {
    50: '#7782bf',
    500: '#3052a4',
    950: '#000000',
  },
}
SCSS
$custom: #3052a4;
$custom-light: #7782bf;
$custom-dark: #000000;
JSON
{
  "hex": "#3052a4",
  "rgb": {
    "r": 48,
    "g": 82,
    "b": 164
  },
  "hsl": {
    "h": 222.414,
    "s": 54.717,
    "l": 41.569
  },
  "oklch": {
    "l": 0.45945,
    "c": 0.13832,
    "h": 264.6
  },
  "luminance": 0.09343
}

Semantic roles & 50–950 ramp

primary
#3052A4
secondary
#BFA870
accent
#B34ADE
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#0A0A12
muted
#7C7C81

Preview Lab

Preview with #3052A4

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

Preview Lab → · Contrast checker → · Palette generator →

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