#3052B1#3052B1

#3052B1 is a mid, vivid blue. Relative luminance 0.098; OKLCH L 46.9% C 0.157 H 265.7°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#3052B1
RGBrgb(48, 82, 177)
HSLhsl(224, 57%, 44%)
HSVhsv(224, 73%, 69%)
CMYKcmyk(72.9%, 53.7%, 0%, 30.6%)
CIE-LABlab(37.55, 21.20, -54.24)
CIE-LCHlch(37.55, 58.23, 291.35°)
OKLaboklab(46.93% -0.0116 -0.1561)
OKLCHoklch(46.93% 0.157 265.7)
XYZxyz(12.1692, 9.8360, 42.8436)
Luminance0.0984 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3052B1 #B18F30
analogous
#3093B1 #3052B1 #4F30B1
triadic
#3052B1 #B13052 #52B130
tetradic
#3052B1 #B13093 #B18F30 #30B14F
square
#3052B1 #B13093 #B18F30 #30B14F
split-complementary
#3052B1 #B14F30 #93B130
monochromatic
#162551 #233C81 #3052B1 #4F71CF #7F98DC

Accessibility & contrast

On white

7.08
#3052B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#3052B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3052B1#FFFFFF#000000##FFFFFF
##3052B11.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B5FB4
Deuteranopia (green-blind)
#0053AF
Tritanopia (blue-blind)
#006979
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #3052b1;
/* rgb */ color: rgb(48, 82, 177);
/* oklch */ color: oklch(46.9% 0.157 265.7);
Tailwind
colors: {
  custom: {
    50: '#7a82c9',
    500: '#3052b1',
    950: '#000000',
  },
}
SCSS
$custom: #3052b1;
$custom-light: #7a82c9;
$custom-dark: #000000;
JSON
{
  "hex": "#3052b1",
  "rgb": {
    "r": 48,
    "g": 82,
    "b": 177
  },
  "hsl": {
    "h": 224.186,
    "s": 57.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.46928,
    "c": 0.15653,
    "h": 265.7
  },
  "luminance": 0.09837
}

Semantic roles & 50–950 ramp

primary
#3052B1
secondary
#C5B178
accent
#B847E1
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #3052B1

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

Preview Lab → · Contrast checker → · Palette generator →

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