#3052A3#3052A3

#3052A3 is a mid, vivid blue. Relative luminance 0.093; OKLCH L 45.9% C 0.137 H 264.5°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#3052A3
RGBrgb(48, 82, 163)
HSLhsl(222, 55%, 41%)
HSVhsv(222, 71%, 64%)
CMYKcmyk(70.6%, 49.7%, 0%, 36.1%)
CIE-LABlab(36.57, 15.93, -47.49)
CIE-LCHlch(36.57, 50.09, 288.54°)
OKLaboklab(45.87% -0.0131 -0.1363)
OKLCHoklch(45.87% 0.137 264.5)
XYZxyz(10.8448, 9.3062, 35.8680)
Luminance0.0931 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3052A3 #A38130
analogous
#308CA3 #3052A3 #4830A3
triadic
#3052A3 #A33052 #52A330
tetradic
#3052A3 #A3308C #A38130 #30A348
square
#3052A3 #A3308C #A38130 #30A348
split-complementary
#3052A3 #A34830 #8CA330
monochromatic
#142244 #223A74 #3052A3 #476EC9 #7793D7

Accessibility & contrast

On white

7.34
#3052A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#3052A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3052A3#FFFFFF#000000##FFFFFF
##3052A31.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#255CA6
Deuteranopia (green-blind)
#0051A1
Tritanopia (blue-blind)
#006572
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #3052a3;
/* rgb */ color: rgb(48, 82, 163);
/* oklch */ color: oklch(45.9% 0.137 264.5);
Tailwind
colors: {
  custom: {
    50: '#7782bf',
    500: '#3052a3',
    950: '#000000',
  },
}
SCSS
$custom: #3052a3;
$custom-light: #7782bf;
$custom-dark: #000000;
JSON
{
  "hex": "#3052a3",
  "rgb": {
    "r": 48,
    "g": 82,
    "b": 163
  },
  "hsl": {
    "h": 222.261,
    "s": 54.502,
    "l": 41.373
  },
  "oklch": {
    "l": 0.45872,
    "c": 0.1369,
    "h": 264.5
  },
  "luminance": 0.09307
}

Semantic roles & 50–950 ramp

primary
#3052A3
secondary
#BFA870
accent
#B24ADE
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#0A0A12
muted
#7C7C81

Preview Lab

Preview with #3052A3

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

Preview Lab → · Contrast checker → · Palette generator →

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