#3058A4#3058A4

#3058A4 is a mid, vivid blue. Relative luminance 0.103; OKLCH L 47.3% C 0.131 H 261.8°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#3058A4
RGBrgb(48, 88, 164)
HSLhsl(219, 55%, 42%)
HSVhsv(219, 71%, 64%)
CMYKcmyk(70.7%, 46.3%, 0%, 35.7%)
CIE-LABlab(38.35, 12.35, -45.22)
CIE-LCHlch(38.35, 46.88, 285.28°)
OKLaboklab(47.26% -0.0186 -0.1295)
OKLCHoklch(47.26% 0.131 261.8)
XYZxyz(11.4071, 10.2870, 36.4992)
Luminance0.1029 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3058A4 #A47C30
analogous
#3092A4 #3058A4 #4230A4
triadic
#3058A4 #A43058 #58A430
tetradic
#3058A4 #A43092 #A47C30 #30A442
square
#3058A4 #A43092 #A47C30 #30A442
split-complementary
#3058A4 #A44230 #92A430
monochromatic
#142545 #223F75 #3058A4 #4874C9 #7798D7

Accessibility & contrast

On white

6.87
#3058A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#3058A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3058A4
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3058A4#FFFFFF#000000##FFFFFF
##3058A41.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3160A7
Deuteranopia (green-blind)
#1A55A2
Tritanopia (blue-blind)
#006A76
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #3058a4;
/* rgb */ color: rgb(48, 88, 164);
/* oklch */ color: oklch(47.3% 0.131 261.8);
Tailwind
colors: {
  custom: {
    50: '#7786bf',
    500: '#3058a4',
    950: '#000000',
  },
}
SCSS
$custom: #3058a4;
$custom-light: #7786bf;
$custom-dark: #000000;
JSON
{
  "hex": "#3058a4",
  "rgb": {
    "r": 48,
    "g": 88,
    "b": 164
  },
  "hsl": {
    "h": 219.31,
    "s": 54.717,
    "l": 41.569
  },
  "oklch": {
    "l": 0.4726,
    "c": 0.13081,
    "h": 261.8
  },
  "luminance": 0.10288
}

Semantic roles & 50–950 ramp

primary
#3058A4
secondary
#BFA470
accent
#AB4ADE
background
#F7F8FB
surface
#EEEFF7
border
#C9CAD0
text
#0A0B12
muted
#7C7C81

Preview Lab

Preview with #3058A4

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

Preview Lab → · Contrast checker → · Palette generator →

#3058A4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva