#3052A5#3052A5

#3052A5 is a mid, vivid blue. Relative luminance 0.094; OKLCH L 46.0% C 0.140 H 264.7°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#3052A5
RGBrgb(48, 82, 165)
HSLhsl(223, 55%, 42%)
HSVhsv(223, 71%, 65%)
CMYKcmyk(70.9%, 50.3%, 0%, 35.3%)
CIE-LABlab(36.70, 16.68, -48.47)
CIE-LCHlch(36.70, 51.26, 288.99°)
OKLaboklab(46.02% -0.0129 -0.1391)
OKLCHoklch(46.02% 0.14 264.7)
XYZxyz(11.0254, 9.3784, 36.8192)
Luminance0.0938 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3052A5 #A58330
analogous
#308DA5 #3052A5 #4930A5
triadic
#3052A5 #A53052 #52A530
tetradic
#3052A5 #A5308D #A58330 #30A549
square
#3052A5 #A5308D #A58330 #30A549
split-complementary
#3052A5 #A54930 #8DA530
monochromatic
#142346 #223A76 #3052A5 #486ECA #7894D8

Accessibility & contrast

On white

7.30
#3052A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#3052A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3052A5
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3052A5#FFFFFF#000000##FFFFFF
##3052A51.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#225CA8
Deuteranopia (green-blind)
#0051A3
Tritanopia (blue-blind)
#006673
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #3052a5;
/* rgb */ color: rgb(48, 82, 165);
/* oklch */ color: oklch(46.0% 0.140 264.7);
Tailwind
colors: {
  custom: {
    50: '#7782c0',
    500: '#3052a5',
    950: '#000000',
  },
}
SCSS
$custom: #3052a5;
$custom-light: #7782c0;
$custom-dark: #000000;
JSON
{
  "hex": "#3052a5",
  "rgb": {
    "r": 48,
    "g": 82,
    "b": 165
  },
  "hsl": {
    "h": 222.564,
    "s": 54.93,
    "l": 41.765
  },
  "oklch": {
    "l": 0.46018,
    "c": 0.13973,
    "h": 264.7
  },
  "luminance": 0.0938
}

Semantic roles & 50–950 ramp

primary
#3052A5
secondary
#C0A971
accent
#B34ADE
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#0A0A12
muted
#7C7C81

Preview Lab

Preview with #3052A5

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

Preview Lab → · Contrast checker → · Palette generator →

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