#3058C6#3058C6

#3058C6 is a mid, vivid blue. Relative luminance 0.117; OKLCH L 49.8% C 0.178 H 265.3°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#3058C6
RGBrgb(48, 88, 198)
HSLhsl(224, 61%, 48%)
HSVhsv(224, 76%, 78%)
CMYKcmyk(75.8%, 55.6%, 0%, 22.4%)
CIE-LABlab(40.71, 25.16, -61.40)
CIE-LCHlch(40.71, 66.35, 292.28°)
OKLaboklab(49.8% -0.0147 -0.1771)
OKLCHoklch(49.8% 0.178 265.3)
XYZxyz(14.8981, 11.6834, 54.8851)
Luminance0.1168 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3058C6 #C69E30
analogous
#30A3C6 #3058C6 #5330C6
triadic
#3058C6 #C63058 #58C630
tetradic
#3058C6 #C630A3 #C69E30 #30C653
square
#3058C6 #C630A3 #C69E30 #30C653
split-complementary
#3058C6 #C65330 #A3C630
monochromatic
#182C63 #244295 #3058C6 #5C7DD7 #8DA4E3

Accessibility & contrast

On white

6.29
#3058C6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#3058C6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3058C6
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3058C6#FFFFFF#000000##FFFFFF
##3058C61.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CA
Deuteranopia (green-blind)
#0059C4
Tritanopia (blue-blind)
#007386
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #3058c6;
/* rgb */ color: rgb(48, 88, 198);
/* oklch */ color: oklch(49.8% 0.178 265.3);
Tailwind
colors: {
  custom: {
    50: '#7e86d8',
    500: '#3058c6',
    950: '#000000',
  },
}
SCSS
$custom: #3058c6;
$custom-light: #7e86d8;
$custom-dark: #000000;
JSON
{
  "hex": "#3058c6",
  "rgb": {
    "r": 48,
    "g": 88,
    "b": 198
  },
  "hsl": {
    "h": 224,
    "s": 60.976,
    "l": 48.235
  },
  "oklch": {
    "l": 0.49803,
    "c": 0.17768,
    "h": 265.3
  },
  "luminance": 0.11685
}

Semantic roles & 50–950 ramp

primary
#3058C6
secondary
#CEBA84
accent
#B944E4
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0B0B15
muted
#7C7C83

Preview Lab

Preview with #3058C6

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

Preview Lab → · Contrast checker → · Palette generator →

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