#3052B7#3052B7

#3052B7 is a mid, vivid blue. Relative luminance 0.101; OKLCH L 47.4% C 0.165 H 266.1°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#3052B7
RGBrgb(48, 82, 183)
HSLhsl(225, 58%, 45%)
HSVhsv(225, 74%, 72%)
CMYKcmyk(73.8%, 55.2%, 0%, 28.2%)
CIE-LABlab(37.99, 23.46, -57.06)
CIE-LCHlch(37.99, 61.69, 292.35°)
OKLaboklab(47.4% -0.0111 -0.1644)
OKLCHoklch(47.4% 0.165 266.1)
XYZxyz(12.7805, 10.0805, 46.0627)
Luminance0.1008 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3052B7 #B79530
analogous
#3095B7 #3052B7 #5130B7
triadic
#3052B7 #B73052 #52B730
tetradic
#3052B7 #B73095 #B79530 #30B751
square
#3052B7 #B73095 #B79530 #30B751
split-complementary
#3052B7 #B75130 #95B730
monochromatic
#172756 #233C87 #3052B7 #5273D2 #839ADE

Accessibility & contrast

On white

6.96
#3052B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#3052B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3052B7
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3052B7#FFFFFF#000000##FFFFFF
##3052B71.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BB
Deuteranopia (green-blind)
#0053B5
Tritanopia (blue-blind)
#006B7C
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #3052b7;
/* rgb */ color: rgb(48, 82, 183);
/* oklch */ color: oklch(47.4% 0.165 266.1);
Tailwind
colors: {
  custom: {
    50: '#7b82cd',
    500: '#3052b7',
    950: '#000000',
  },
}
SCSS
$custom: #3052b7;
$custom-light: #7b82cd;
$custom-dark: #000000;
JSON
{
  "hex": "#3052b7",
  "rgb": {
    "r": 48,
    "g": 82,
    "b": 183
  },
  "hsl": {
    "h": 224.889,
    "s": 58.442,
    "l": 45.294
  },
  "oklch": {
    "l": 0.47399,
    "c": 0.16479,
    "h": 266.1
  },
  "luminance": 0.10082
}

Semantic roles & 50–950 ramp

primary
#3052B7
secondary
#C8B47B
accent
#BA46E2
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A14
muted
#7C7C82

Preview Lab

Preview with #3052B7

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

Preview Lab → · Contrast checker → · Palette generator →

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