#3052AD#3052AD

#3052AD is a mid, vivid blue. Relative luminance 0.097; OKLCH L 46.6% C 0.151 H 265.4°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#3052AD
RGBrgb(48, 82, 173)
HSLhsl(224, 57%, 43%)
HSVhsv(224, 72%, 68%)
CMYKcmyk(72.3%, 52.6%, 0%, 32.2%)
CIE-LABlab(37.26, 19.70, -52.33)
CIE-LCHlch(37.26, 55.92, 290.63°)
OKLaboklab(46.62% -0.012 -0.1505)
OKLCHoklch(46.62% 0.151 265.4)
XYZxyz(11.7764, 9.6789, 40.7746)
Luminance0.0968 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3052AD #AD8B30
analogous
#3090AD #3052AD #4C30AD
triadic
#3052AD #AD3052 #52AD30
tetradic
#3052AD #AD3090 #AD8B30 #30AD4C
square
#3052AD #AD3090 #AD8B30 #30AD4C
split-complementary
#3052AD #AD4C30 #90AD30
monochromatic
#15254D #233B7D #3052AD #4D70CE #7D96DB

Accessibility & contrast

On white

7.15
#3052AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#3052AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3052AD#FFFFFF#000000##FFFFFF
##3052AD1.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#155EB0
Deuteranopia (green-blind)
#0052AB
Tritanopia (blue-blind)
#006877
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #3052ad;
/* rgb */ color: rgb(48, 82, 173);
/* oklch */ color: oklch(46.6% 0.151 265.4);
Tailwind
colors: {
  custom: {
    50: '#7982c6',
    500: '#3052ad',
    950: '#000000',
  },
}
SCSS
$custom: #3052ad;
$custom-light: #7982c6;
$custom-dark: #000000;
JSON
{
  "hex": "#3052ad",
  "rgb": {
    "r": 48,
    "g": 82,
    "b": 173
  },
  "hsl": {
    "h": 223.68,
    "s": 56.561,
    "l": 43.333
  },
  "oklch": {
    "l": 0.46619,
    "c": 0.15098,
    "h": 265.4
  },
  "luminance": 0.0968
}

Semantic roles & 50–950 ramp

primary
#3052AD
secondary
#C3AE75
accent
#B748E0
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #3052AD

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

Preview Lab → · Contrast checker → · Palette generator →

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