#3058C4#3058C4

#3058C4 is a mid, vivid blue. Relative luminance 0.116; OKLCH L 49.6% C 0.175 H 265.1°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#3058C4
RGBrgb(48, 88, 196)
HSLhsl(224, 61%, 48%)
HSVhsv(224, 76%, 77%)
CMYKcmyk(75.5%, 55.1%, 0%, 23.1%)
CIE-LABlab(40.56, 24.41, -60.48)
CIE-LCHlch(40.56, 65.22, 291.98°)
OKLaboklab(49.64% -0.0148 -0.1744)
OKLCHoklch(49.64% 0.175 265.1)
XYZxyz(14.6689, 11.5917, 53.6782)
Luminance0.1159 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3058C4 #C49C30
analogous
#30A2C4 #3058C4 #5230C4
triadic
#3058C4 #C43058 #58C430
tetradic
#3058C4 #C430A2 #C49C30 #30C452
square
#3058C4 #C430A2 #C49C30 #30C452
split-complementary
#3058C4 #C45230 #A2C430
monochromatic
#182C62 #244293 #3058C4 #5A7CD7 #8CA3E3

Accessibility & contrast

On white

6.33
#3058C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#3058C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3058C4
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3058C4#FFFFFF#000000##FFFFFF
##3058C41.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067C8
Deuteranopia (green-blind)
#0059C2
Tritanopia (blue-blind)
#007385
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #3058c4;
/* rgb */ color: rgb(48, 88, 196);
/* oklch */ color: oklch(49.6% 0.175 265.1);
Tailwind
colors: {
  custom: {
    50: '#7e86d7',
    500: '#3058c4',
    950: '#000000',
  },
}
SCSS
$custom: #3058c4;
$custom-light: #7e86d7;
$custom-dark: #000000;
JSON
{
  "hex": "#3058c4",
  "rgb": {
    "r": 48,
    "g": 88,
    "b": 196
  },
  "hsl": {
    "h": 223.784,
    "s": 60.656,
    "l": 47.843
  },
  "oklch": {
    "l": 0.49644,
    "c": 0.175,
    "h": 265.1
  },
  "luminance": 0.11593
}

Semantic roles & 50–950 ramp

primary
#3058C4
secondary
#CDB983
accent
#B944E4
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0B14
muted
#7C7C83

Preview Lab

Preview with #3058C4

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

Preview Lab → · Contrast checker → · Palette generator →

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