#3052B2#3052B2

#3052B2 is a mid, vivid blue. Relative luminance 0.099; OKLCH L 47.0% C 0.158 H 265.8°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#3052B2
RGBrgb(48, 82, 178)
HSLhsl(224, 58%, 44%)
HSVhsv(224, 73%, 70%)
CMYKcmyk(73%, 53.9%, 0%, 30.2%)
CIE-LABlab(37.62, 21.58, -54.71)
CIE-LCHlch(37.62, 58.81, 291.53°)
OKLaboklab(47.01% -0.0115 -0.1575)
OKLCHoklch(47.01% 0.158 265.8)
XYZxyz(12.2693, 9.8760, 43.3705)
Luminance0.0988 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3052B2 #B29030
analogous
#3093B2 #3052B2 #4F30B2
triadic
#3052B2 #B23052 #52B230
tetradic
#3052B2 #B23093 #B29030 #30B24F
square
#3052B2 #B23093 #B29030 #30B24F
split-complementary
#3052B2 #B24F30 #93B230
monochromatic
#162652 #233C82 #3052B2 #5071D0 #8098DD

Accessibility & contrast

On white

7.06
#3052B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3052B2
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3052B2#FFFFFF#000000##FFFFFF
##3052B21.007.062.987.06
#FFFFFF7.061.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#075FB5
Deuteranopia (green-blind)
#0053B0
Tritanopia (blue-blind)
#00697A
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #3052b2;
/* rgb */ color: rgb(48, 82, 178);
/* oklch */ color: oklch(47.0% 0.158 265.8);
Tailwind
colors: {
  custom: {
    50: '#7a82ca',
    500: '#3052b2',
    950: '#000000',
  },
}
SCSS
$custom: #3052b2;
$custom-light: #7a82ca;
$custom-dark: #000000;
JSON
{
  "hex": "#3052b2",
  "rgb": {
    "r": 48,
    "g": 82,
    "b": 178
  },
  "hsl": {
    "h": 224.308,
    "s": 57.522,
    "l": 44.314
  },
  "oklch": {
    "l": 0.47005,
    "c": 0.15792,
    "h": 265.8
  },
  "luminance": 0.09877
}

Semantic roles & 50–950 ramp

primary
#3052B2
secondary
#C6B178
accent
#B947E1
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #3052B2

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

Preview Lab → · Contrast checker → · Palette generator →

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