#3058A5#3058A5

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

Color values

HEX#3058A5
RGBrgb(48, 88, 165)
HSLhsl(219, 55%, 42%)
HSVhsv(219, 71%, 65%)
CMYKcmyk(70.9%, 46.7%, 0%, 35.3%)
CIE-LABlab(38.42, 12.73, -45.71)
CIE-LCHlch(38.42, 47.45, 285.56°)
OKLaboklab(47.33% -0.0184 -0.1309)
OKLCHoklch(47.33% 0.132 262)
XYZxyz(11.4978, 10.3232, 36.9767)
Luminance0.1032 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3058A5 #A57D30
analogous
#3093A5 #3058A5 #4230A5
triadic
#3058A5 #A53058 #58A530
tetradic
#3058A5 #A53093 #A57D30 #30A542
square
#3058A5 #A53093 #A57D30 #30A542
split-complementary
#3058A5 #A54230 #93A530
monochromatic
#142546 #223F76 #3058A5 #4875CA #7899D8

Accessibility & contrast

On white

6.85
#3058A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #3058A5
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3058A5#FFFFFF#000000##FFFFFF
##3058A51.006.853.066.85
#FFFFFF6.851.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3160A8
Deuteranopia (green-blind)
#1855A3
Tritanopia (blue-blind)
#006A76
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #3058a5;
/* rgb */ color: rgb(48, 88, 165);
/* oklch */ color: oklch(47.3% 0.132 262.0);
Tailwind
colors: {
  custom: {
    50: '#7786c0',
    500: '#3058a5',
    950: '#000000',
  },
}
SCSS
$custom: #3058a5;
$custom-light: #7786c0;
$custom-dark: #000000;
JSON
{
  "hex": "#3058a5",
  "rgb": {
    "r": 48,
    "g": 88,
    "b": 165
  },
  "hsl": {
    "h": 219.487,
    "s": 54.93,
    "l": 41.765
  },
  "oklch": {
    "l": 0.4733,
    "c": 0.13222,
    "h": 262
  },
  "luminance": 0.10324
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3058A5

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

Preview Lab → · Contrast checker → · Palette generator →

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