#3052B3#3052B3

#3052B3 is a mid, vivid blue. Relative luminance 0.099; OKLCH L 47.1% C 0.159 H 265.9°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#3052B3
RGBrgb(48, 82, 179)
HSLhsl(224, 58%, 45%)
HSVhsv(224, 73%, 70%)
CMYKcmyk(73.2%, 54.2%, 0%, 29.8%)
CIE-LABlab(37.69, 21.95, -55.18)
CIE-LCHlch(37.69, 59.39, 291.70°)
OKLaboklab(47.08% -0.0114 -0.1589)
OKLCHoklch(47.08% 0.159 265.9)
XYZxyz(12.3700, 9.9163, 43.9012)
Luminance0.0992 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3052B3 #B39130
analogous
#3094B3 #3052B3 #4F30B3
triadic
#3052B3 #B33052 #52B330
tetradic
#3052B3 #B33094 #B39130 #30B34F
square
#3052B3 #B33094 #B39130 #30B34F
split-complementary
#3052B3 #B34F30 #94B330
monochromatic
#162652 #233C83 #3052B3 #5071D0 #8098DD

Accessibility & contrast

On white

7.04
#3052B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#3052B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3052B3
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3052B3#FFFFFF#000000##FFFFFF
##3052B31.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#035FB6
Deuteranopia (green-blind)
#0053B1
Tritanopia (blue-blind)
#006A7A
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #3052b3;
/* rgb */ color: rgb(48, 82, 179);
/* oklch */ color: oklch(47.1% 0.159 265.9);
Tailwind
colors: {
  custom: {
    50: '#7a82ca',
    500: '#3052b3',
    950: '#000000',
  },
}
SCSS
$custom: #3052b3;
$custom-light: #7a82ca;
$custom-dark: #000000;
JSON
{
  "hex": "#3052b3",
  "rgb": {
    "r": 48,
    "g": 82,
    "b": 179
  },
  "hsl": {
    "h": 224.427,
    "s": 57.709,
    "l": 44.51
  },
  "oklch": {
    "l": 0.47083,
    "c": 0.15929,
    "h": 265.9
  },
  "luminance": 0.09918
}

Semantic roles & 50–950 ramp

primary
#3052B3
secondary
#C6B279
accent
#B947E1
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #3052B3

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

Preview Lab → · Contrast checker → · Palette generator →

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