#3058A6#3058A6

#3058A6 is a mid, vivid blue. Relative luminance 0.104; OKLCH L 47.4% C 0.134 H 262.2°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#3058A6
RGBrgb(48, 88, 166)
HSLhsl(220, 55%, 42%)
HSVhsv(220, 71%, 65%)
CMYKcmyk(71.1%, 47%, 0%, 34.9%)
CIE-LABlab(38.48, 13.11, -46.21)
CIE-LCHlch(38.48, 48.03, 285.84°)
OKLaboklab(47.4% -0.0182 -0.1324)
OKLCHoklch(47.4% 0.134 262.2)
XYZxyz(11.5891, 10.3598, 37.4579)
Luminance0.1036 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3058A6 #A67E30
analogous
#3093A6 #3058A6 #4330A6
triadic
#3058A6 #A63058 #58A630
tetradic
#3058A6 #A63093 #A67E30 #30A643
square
#3058A6 #A63093 #A67E30 #30A643
split-complementary
#3058A6 #A64330 #93A630
monochromatic
#152647 #223F77 #3058A6 #4975CA #7899D8

Accessibility & contrast

On white

6.84
#3058A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#3058A6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3058A6
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3058A6#FFFFFF#000000##FFFFFF
##3058A61.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3060A9
Deuteranopia (green-blind)
#1656A4
Tritanopia (blue-blind)
#006A77
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #3058a6;
/* rgb */ color: rgb(48, 88, 166);
/* oklch */ color: oklch(47.4% 0.134 262.2);
Tailwind
colors: {
  custom: {
    50: '#7786c1',
    500: '#3058a6',
    950: '#000000',
  },
}
SCSS
$custom: #3058a6;
$custom-light: #7786c1;
$custom-dark: #000000;
JSON
{
  "hex": "#3058a6",
  "rgb": {
    "r": 48,
    "g": 88,
    "b": 166
  },
  "hsl": {
    "h": 219.661,
    "s": 55.14,
    "l": 41.961
  },
  "oklch": {
    "l": 0.474,
    "c": 0.13363,
    "h": 262.2
  },
  "luminance": 0.10361
}

Semantic roles & 50–950 ramp

primary
#3058A6
secondary
#C0A671
accent
#AC49DE
background
#F7F8FB
surface
#EEEFF7
border
#C9CAD0
text
#0A0B12
muted
#7C7C81

Preview Lab

Preview with #3058A6

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

Preview Lab → · Contrast checker → · Palette generator →

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