#3058C2#3058C2

#3058C2 is a mid, vivid blue. Relative luminance 0.115; OKLCH L 49.5% C 0.172 H 265.0°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#3058C2
RGBrgb(48, 88, 194)
HSLhsl(224, 60%, 47%)
HSVhsv(224, 75%, 76%)
CMYKcmyk(75.3%, 54.6%, 0%, 23.9%)
CIE-LABlab(40.41, 23.66, -59.55)
CIE-LCHlch(40.41, 64.08, 291.66°)
OKLaboklab(49.49% -0.0149 -0.1716)
OKLCHoklch(49.49% 0.172 265)
XYZxyz(14.4428, 11.5013, 52.4873)
Luminance0.1150 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3058C2 #C29A30
analogous
#30A1C2 #3058C2 #5130C2
triadic
#3058C2 #C23058 #58C230
tetradic
#3058C2 #C230A1 #C29A30 #30C251
square
#3058C2 #C230A1 #C29A30 #30C251
split-complementary
#3058C2 #C25130 #A1C230
monochromatic
#182B60 #244291 #3058C2 #597BD6 #8AA2E2

Accessibility & contrast

On white

6.36
#3058C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#3058C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3058C2
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3058C2#FFFFFF#000000##FFFFFF
##3058C21.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066C6
Deuteranopia (green-blind)
#0059C0
Tritanopia (blue-blind)
#007284
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #3058c2;
/* rgb */ color: rgb(48, 88, 194);
/* oklch */ color: oklch(49.5% 0.172 265.0);
Tailwind
colors: {
  custom: {
    50: '#7d86d5',
    500: '#3058c2',
    950: '#000000',
  },
}
SCSS
$custom: #3058c2;
$custom-light: #7d86d5;
$custom-dark: #000000;
JSON
{
  "hex": "#3058c2",
  "rgb": {
    "r": 48,
    "g": 88,
    "b": 194
  },
  "hsl": {
    "h": 223.562,
    "s": 60.331,
    "l": 47.451
  },
  "oklch": {
    "l": 0.49486,
    "c": 0.1723,
    "h": 265
  },
  "luminance": 0.11503
}

Semantic roles & 50–950 ramp

primary
#3058C2
secondary
#CCB882
accent
#B844E3
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0B14
muted
#7C7C83

Preview Lab

Preview with #3058C2

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

Preview Lab → · Contrast checker → · Palette generator →

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