#3052AA#3052AA

#3052AA is a mid, vivid blue. Relative luminance 0.096; OKLCH L 46.4% C 0.147 H 265.2°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#3052AA
RGBrgb(48, 82, 170)
HSLhsl(223, 56%, 43%)
HSVhsv(223, 72%, 67%)
CMYKcmyk(71.8%, 51.8%, 0%, 33.3%)
CIE-LABlab(37.05, 18.57, -50.89)
CIE-LCHlch(37.05, 54.17, 290.04°)
OKLaboklab(46.39% -0.0123 -0.1463)
OKLCHoklch(46.39% 0.147 265.2)
XYZxyz(11.4894, 9.5641, 39.2630)
Luminance0.0956 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3052AA #AA8830
analogous
#308FAA #3052AA #4B30AA
triadic
#3052AA #AA3052 #52AA30
tetradic
#3052AA #AA308F #AA8830 #30AA4B
square
#3052AA #AA308F #AA8830 #30AA4B
split-complementary
#3052AA #AA4B30 #8FAA30
monochromatic
#15244B #233B7A #3052AA #4B6FCC #7B95DA

Accessibility & contrast

On white

7.21
#3052AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#3052AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3052AA#FFFFFF#000000##FFFFFF
##3052AA1.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B5DAD
Deuteranopia (green-blind)
#0052A8
Tritanopia (blue-blind)
#006776
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #3052aa;
/* rgb */ color: rgb(48, 82, 170);
/* oklch */ color: oklch(46.4% 0.147 265.2);
Tailwind
colors: {
  custom: {
    50: '#7882c4',
    500: '#3052aa',
    950: '#000000',
  },
}
SCSS
$custom: #3052aa;
$custom-light: #7882c4;
$custom-dark: #000000;
JSON
{
  "hex": "#3052aa",
  "rgb": {
    "r": 48,
    "g": 82,
    "b": 170
  },
  "hsl": {
    "h": 223.279,
    "s": 55.963,
    "l": 42.745
  },
  "oklch": {
    "l": 0.46392,
    "c": 0.14679,
    "h": 265.2
  },
  "luminance": 0.09565
}

Semantic roles & 50–950 ramp

primary
#3052AA
secondary
#C2AC74
accent
#B549DF
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #3052AA

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

Preview Lab → · Contrast checker → · Palette generator →

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