#3058BB#3058BB

#3058BB is a mid, vivid blue. Relative luminance 0.112; OKLCH L 48.9% C 0.163 H 264.5°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#3058BB
RGBrgb(48, 88, 187)
HSLhsl(223, 59%, 46%)
HSVhsv(223, 74%, 73%)
CMYKcmyk(74.3%, 52.9%, 0%, 26.7%)
CIE-LABlab(39.91, 21.03, -56.29)
CIE-LCHlch(39.91, 60.09, 290.48°)
OKLaboklab(48.94% -0.0155 -0.1621)
OKLCHoklch(48.94% 0.163 264.5)
XYZxyz(13.6751, 11.1942, 48.4441)
Luminance0.1120 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3058BB #BB9330
analogous
#309DBB #3058BB #4D30BB
triadic
#3058BB #BB3058 #58BB30
tetradic
#3058BB #BB309D #BB9330 #30BB4D
square
#3058BB #BB309D #BB9330 #30BB4D
split-complementary
#3058BB #BB4D30 #9DBB30
monochromatic
#172A5A #23418A #3058BB #5579D3 #86A0E0

Accessibility & contrast

On white

6.48
#3058BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#3058BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3058BB
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3058BB#FFFFFF#000000##FFFFFF
##3058BB1.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1165BF
Deuteranopia (green-blind)
#0058B9
Tritanopia (blue-blind)
#007081
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #3058bb;
/* rgb */ color: rgb(48, 88, 187);
/* oklch */ color: oklch(48.9% 0.163 264.5);
Tailwind
colors: {
  custom: {
    50: '#7c86d0',
    500: '#3058bb',
    950: '#000000',
  },
}
SCSS
$custom: #3058bb;
$custom-light: #7c86d0;
$custom-dark: #000000;
JSON
{
  "hex": "#3058bb",
  "rgb": {
    "r": 48,
    "g": 88,
    "b": 187
  },
  "hsl": {
    "h": 222.734,
    "s": 59.149,
    "l": 46.078
  },
  "oklch": {
    "l": 0.48942,
    "c": 0.1628,
    "h": 264.5
  },
  "luminance": 0.11196
}

Semantic roles & 50–950 ramp

primary
#3058BB
secondary
#C9B37D
accent
#B545E2
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0B14
muted
#7C7C82

Preview Lab

Preview with #3058BB

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

Preview Lab → · Contrast checker → · Palette generator →

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