#3052AF#3052AF

#3052AF is a mid, vivid blue. Relative luminance 0.098; OKLCH L 46.8% C 0.154 H 265.6°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#3052AF
RGBrgb(48, 82, 175)
HSLhsl(224, 57%, 44%)
HSVhsv(224, 73%, 69%)
CMYKcmyk(72.6%, 53.1%, 0%, 31.4%)
CIE-LABlab(37.40, 20.45, -53.29)
CIE-LCHlch(37.40, 57.07, 291.00°)
OKLaboklab(46.77% -0.0118 -0.1533)
OKLCHoklch(46.77% 0.154 265.6)
XYZxyz(11.9714, 9.7569, 41.8015)
Luminance0.0976 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3052AF #AF8D30
analogous
#3091AF #3052AF #4D30AF
triadic
#3052AF #AF3052 #52AF30
tetradic
#3052AF #AF3091 #AF8D30 #30AF4D
square
#3052AF #AF3091 #AF8D30 #30AF4D
split-complementary
#3052AF #AF4D30 #91AF30
monochromatic
#16254F #233B7F #3052AF #4E70CE #7E97DC

Accessibility & contrast

On white

7.11
#3052AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#3052AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3052AF#FFFFFF#000000##FFFFFF
##3052AF1.007.112.957.11
#FFFFFF7.111.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#115EB2
Deuteranopia (green-blind)
#0052AD
Tritanopia (blue-blind)
#006878
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #3052af;
/* rgb */ color: rgb(48, 82, 175);
/* oklch */ color: oklch(46.8% 0.154 265.6);
Tailwind
colors: {
  custom: {
    50: '#7982c8',
    500: '#3052af',
    950: '#000000',
  },
}
SCSS
$custom: #3052af;
$custom-light: #7982c8;
$custom-dark: #000000;
JSON
{
  "hex": "#3052af",
  "rgb": {
    "r": 48,
    "g": 82,
    "b": 175
  },
  "hsl": {
    "h": 223.937,
    "s": 56.951,
    "l": 43.725
  },
  "oklch": {
    "l": 0.46773,
    "c": 0.15376,
    "h": 265.6
  },
  "luminance": 0.09758
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3052AF

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

Preview Lab → · Contrast checker → · Palette generator →

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