#3052B6#3052B6

#3052B6 is a mid, vivid blue. Relative luminance 0.100; OKLCH L 47.3% C 0.163 H 266.1°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#3052B6
RGBrgb(48, 82, 182)
HSLhsl(225, 58%, 45%)
HSVhsv(225, 74%, 71%)
CMYKcmyk(73.6%, 54.9%, 0%, 28.6%)
CIE-LABlab(37.91, 23.08, -56.59)
CIE-LCHlch(37.91, 61.12, 292.19°)
OKLaboklab(47.32% -0.0112 -0.163)
OKLCHoklch(47.32% 0.163 266.1)
XYZxyz(12.6768, 10.0390, 45.5165)
Luminance0.1004 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3052B6 #B69430
analogous
#3095B6 #3052B6 #5130B6
triadic
#3052B6 #B63052 #52B630
tetradic
#3052B6 #B63095 #B69430 #30B651
square
#3052B6 #B63095 #B69430 #30B651
split-complementary
#3052B6 #B65130 #95B630
monochromatic
#162655 #233C86 #3052B6 #5272D1 #829ADE

Accessibility & contrast

On white

6.98
#3052B6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#3052B6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3052B6
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3052B6#FFFFFF#000000##FFFFFF
##3052B61.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060B9
Deuteranopia (green-blind)
#0053B4
Tritanopia (blue-blind)
#006A7C
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #3052b6;
/* rgb */ color: rgb(48, 82, 182);
/* oklch */ color: oklch(47.3% 0.163 266.1);
Tailwind
colors: {
  custom: {
    50: '#7b82cd',
    500: '#3052b6',
    950: '#000000',
  },
}
SCSS
$custom: #3052b6;
$custom-light: #7b82cd;
$custom-dark: #000000;
JSON
{
  "hex": "#3052b6",
  "rgb": {
    "r": 48,
    "g": 82,
    "b": 182
  },
  "hsl": {
    "h": 224.776,
    "s": 58.261,
    "l": 45.098
  },
  "oklch": {
    "l": 0.4732,
    "c": 0.16341,
    "h": 266.1
  },
  "luminance": 0.1004
}

Semantic roles & 50–950 ramp

primary
#3052B6
secondary
#C7B47B
accent
#BA46E1
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #3052B6

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

Preview Lab → · Contrast checker → · Palette generator →

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