#3052AC#3052AC

#3052AC is a mid, vivid blue. Relative luminance 0.096; OKLCH L 46.5% C 0.150 H 265.4°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#3052AC
RGBrgb(48, 82, 172)
HSLhsl(224, 56%, 43%)
HSVhsv(224, 72%, 67%)
CMYKcmyk(72.1%, 52.3%, 0%, 32.5%)
CIE-LABlab(37.19, 19.32, -51.85)
CIE-LCHlch(37.19, 55.33, 290.44°)
OKLaboklab(46.54% -0.0121 -0.1491)
OKLCHoklch(46.54% 0.15 265.4)
XYZxyz(11.6800, 9.6403, 40.2669)
Luminance0.0964 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3052AC #AC8A30
analogous
#3090AC #3052AC #4C30AC
triadic
#3052AC #AC3052 #52AC30
tetradic
#3052AC #AC3090 #AC8A30 #30AC4C
square
#3052AC #AC3090 #AC8A30 #30AC4C
split-complementary
#3052AC #AC4C30 #90AC30
monochromatic
#15244C #233B7C #3052AC #4C6FCD #7C96DA

Accessibility & contrast

On white

7.17
#3052AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#3052AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3052AC
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3052AC#FFFFFF#000000##FFFFFF
##3052AC1.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#175DAF
Deuteranopia (green-blind)
#0052AA
Tritanopia (blue-blind)
#006877
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #3052ac;
/* rgb */ color: rgb(48, 82, 172);
/* oklch */ color: oklch(46.5% 0.150 265.4);
Tailwind
colors: {
  custom: {
    50: '#7982c5',
    500: '#3052ac',
    950: '#000000',
  },
}
SCSS
$custom: #3052ac;
$custom-light: #7982c5;
$custom-dark: #000000;
JSON
{
  "hex": "#3052ac",
  "rgb": {
    "r": 48,
    "g": 82,
    "b": 172
  },
  "hsl": {
    "h": 223.548,
    "s": 56.364,
    "l": 43.137
  },
  "oklch": {
    "l": 0.46543,
    "c": 0.14958,
    "h": 265.4
  },
  "luminance": 0.09642
}

Semantic roles & 50–950 ramp

primary
#3052AC
secondary
#C3AE75
accent
#B648E0
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #3052AC

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

Preview Lab → · Contrast checker → · Palette generator →

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