#3058C7#3058C7

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

Color values

HEX#3058C7
RGBrgb(48, 88, 199)
HSLhsl(224, 61%, 48%)
HSVhsv(224, 76%, 78%)
CMYKcmyk(75.9%, 55.8%, 0%, 22%)
CIE-LABlab(40.78, 25.53, -61.85)
CIE-LCHlch(40.78, 66.92, 292.43°)
OKLaboklab(49.88% -0.0146 -0.1784)
OKLCHoklch(49.88% 0.179 265.3)
XYZxyz(15.0138, 11.7297, 55.4945)
Luminance0.1173 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3058C7 #C79F30
analogous
#30A3C7 #3058C7 #5330C7
triadic
#3058C7 #C73058 #58C730
tetradic
#3058C7 #C730A3 #C79F30 #30C753
square
#3058C7 #C730A3 #C79F30 #30C753
split-complementary
#3058C7 #C75330 #A3C730
monochromatic
#182C64 #244296 #3058C7 #5C7DD8 #8EA4E4

Accessibility & contrast

On white

6.28
#3058C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#3058C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3058C7
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3058C7#FFFFFF#000000##FFFFFF
##3058C71.006.283.356.28
#FFFFFF6.281.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CB
Deuteranopia (green-blind)
#0059C5
Tritanopia (blue-blind)
#007387
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #3058c7;
/* rgb */ color: rgb(48, 88, 199);
/* oklch */ color: oklch(49.9% 0.179 265.3);
Tailwind
colors: {
  custom: {
    50: '#7e86d9',
    500: '#3058c7',
    950: '#000000',
  },
}
SCSS
$custom: #3058c7;
$custom-light: #7e86d9;
$custom-dark: #000000;
JSON
{
  "hex": "#3058c7",
  "rgb": {
    "r": 48,
    "g": 88,
    "b": 199
  },
  "hsl": {
    "h": 224.106,
    "s": 61.134,
    "l": 48.431
  },
  "oklch": {
    "l": 0.49882,
    "c": 0.17901,
    "h": 265.3
  },
  "luminance": 0.11731
}

Semantic roles & 50–950 ramp

primary
#3058C7
secondary
#CEBB85
accent
#BA44E4
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0B0B15
muted
#7C7C83

Preview Lab

Preview with #3058C7

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

Preview Lab → · Contrast checker → · Palette generator →

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