#3052B5#3052B5

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

Color values

HEX#3052B5
RGBrgb(48, 82, 181)
HSLhsl(225, 58%, 45%)
HSVhsv(225, 73%, 71%)
CMYKcmyk(73.5%, 54.7%, 0%, 29%)
CIE-LABlab(37.84, 22.71, -56.12)
CIE-LCHlch(37.84, 60.54, 292.03°)
OKLaboklab(47.24% -0.0113 -0.1616)
OKLCHoklch(47.24% 0.162 266)
XYZxyz(12.5738, 9.9978, 44.9742)
Luminance0.1000 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3052B5 #B59330
analogous
#3094B5 #3052B5 #5130B5
triadic
#3052B5 #B53052 #52B530
tetradic
#3052B5 #B53094 #B59330 #30B551
square
#3052B5 #B53094 #B59330 #30B551
split-complementary
#3052B5 #B55130 #94B530
monochromatic
#162654 #233C85 #3052B5 #5172D1 #8299DE

Accessibility & contrast

On white

7.00
#3052B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#3052B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3052B5
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3052B5#FFFFFF#000000##FFFFFF
##3052B51.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3052b5;
/* rgb */ color: rgb(48, 82, 181);
/* oklch */ color: oklch(47.2% 0.162 266.0);
Tailwind
colors: {
  custom: {
    50: '#7b82cc',
    500: '#3052b5',
    950: '#000000',
  },
}
SCSS
$custom: #3052b5;
$custom-light: #7b82cc;
$custom-dark: #000000;
JSON
{
  "hex": "#3052b5",
  "rgb": {
    "r": 48,
    "g": 82,
    "b": 181
  },
  "hsl": {
    "h": 224.662,
    "s": 58.079,
    "l": 44.902
  },
  "oklch": {
    "l": 0.47241,
    "c": 0.16204,
    "h": 266
  },
  "luminance": 0.09999
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3052B5

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

Preview Lab → · Contrast checker → · Palette generator →

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