#3052B4#3052B4

#3052B4 is a mid, vivid blue. Relative luminance 0.100; OKLCH L 47.2% C 0.161 H 265.9°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#3052B4
RGBrgb(48, 82, 180)
HSLhsl(225, 58%, 45%)
HSVhsv(225, 73%, 71%)
CMYKcmyk(73.3%, 54.4%, 0%, 29.4%)
CIE-LABlab(37.77, 22.33, -55.65)
CIE-LCHlch(37.77, 59.96, 291.86°)
OKLaboklab(47.16% -0.0114 -0.1603)
OKLCHoklch(47.16% 0.161 265.9)
XYZxyz(12.4715, 9.9569, 44.4358)
Luminance0.0996 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3052B4 #B49230
analogous
#3094B4 #3052B4 #5030B4
triadic
#3052B4 #B43052 #52B430
tetradic
#3052B4 #B43094 #B49230 #30B450
square
#3052B4 #B43094 #B49230 #30B450
split-complementary
#3052B4 #B45030 #94B430
monochromatic
#162653 #233C84 #3052B4 #5172D1 #8199DD

Accessibility & contrast

On white

7.02
#3052B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#3052B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3052B4
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3052B4#FFFFFF#000000##FFFFFF
##3052B41.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FB7
Deuteranopia (green-blind)
#0053B2
Tritanopia (blue-blind)
#006A7B
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #3052b4;
/* rgb */ color: rgb(48, 82, 180);
/* oklch */ color: oklch(47.2% 0.161 265.9);
Tailwind
colors: {
  custom: {
    50: '#7a82cb',
    500: '#3052b4',
    950: '#000000',
  },
}
SCSS
$custom: #3052b4;
$custom-light: #7a82cb;
$custom-dark: #000000;
JSON
{
  "hex": "#3052b4",
  "rgb": {
    "r": 48,
    "g": 82,
    "b": 180
  },
  "hsl": {
    "h": 224.545,
    "s": 57.895,
    "l": 44.706
  },
  "oklch": {
    "l": 0.47162,
    "c": 0.16067,
    "h": 265.9
  },
  "luminance": 0.09958
}

Semantic roles & 50–950 ramp

primary
#3052B4
secondary
#C6B379
accent
#B947E1
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #3052B4

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

Preview Lab → · Contrast checker → · Palette generator →

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