#3052A2#3052A2

#3052A2 is a mid, vivid blue. Relative luminance 0.093; OKLCH L 45.8% C 0.135 H 264.4°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#3052A2
RGBrgb(48, 82, 162)
HSLhsl(222, 54%, 41%)
HSVhsv(222, 70%, 64%)
CMYKcmyk(70.4%, 49.4%, 0%, 36.5%)
CIE-LABlab(36.50, 15.55, -47.00)
CIE-LCHlch(36.50, 49.51, 288.31°)
OKLaboklab(45.8% -0.0133 -0.1348)
OKLCHoklch(45.8% 0.135 264.4)
XYZxyz(10.7555, 9.2705, 35.3980)
Luminance0.0927 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3052A2 #A28030
analogous
#308BA2 #3052A2 #4730A2
triadic
#3052A2 #A23052 #52A230
tetradic
#3052A2 #A2308B #A28030 #30A247
square
#3052A2 #A2308B #A28030 #30A247
split-complementary
#3052A2 #A24730 #8BA230
monochromatic
#142244 #223A73 #3052A2 #476DC8 #7693D6

Accessibility & contrast

On white

7.36
#3052A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#3052A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3052A2#FFFFFF#000000##FFFFFF
##3052A21.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#265BA5
Deuteranopia (green-blind)
#0451A0
Tritanopia (blue-blind)
#006572
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #3052a2;
/* rgb */ color: rgb(48, 82, 162);
/* oklch */ color: oklch(45.8% 0.135 264.4);
Tailwind
colors: {
  custom: {
    50: '#7682be',
    500: '#3052a2',
    950: '#000000',
  },
}
SCSS
$custom: #3052a2;
$custom-light: #7682be;
$custom-dark: #000000;
JSON
{
  "hex": "#3052a2",
  "rgb": {
    "r": 48,
    "g": 82,
    "b": 162
  },
  "hsl": {
    "h": 222.105,
    "s": 54.286,
    "l": 41.176
  },
  "oklch": {
    "l": 0.45799,
    "c": 0.13548,
    "h": 264.4
  },
  "luminance": 0.09272
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3052A2

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

Preview Lab → · Contrast checker → · Palette generator →

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