#3058B3#3058B3

#3058B3 is a mid, vivid blue. Relative luminance 0.109; OKLCH L 48.3% C 0.152 H 263.8°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#3058B3
RGBrgb(48, 88, 179)
HSLhsl(222, 58%, 45%)
HSVhsv(222, 73%, 70%)
CMYKcmyk(73.2%, 50.8%, 0%, 29.8%)
CIE-LABlab(39.35, 18.01, -52.51)
CIE-LCHlch(39.35, 55.51, 288.93°)
OKLaboklab(48.34% -0.0164 -0.1509)
OKLCHoklch(48.34% 0.152 263.8)
XYZxyz(12.8424, 10.8611, 44.0587)
Luminance0.1086 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3058B3 #B38B30
analogous
#309AB3 #3058B3 #4930B3
triadic
#3058B3 #B33058 #58B330
tetradic
#3058B3 #B3309A #B38B30 #30B349
square
#3058B3 #B3309A #B38B30 #30B349
split-complementary
#3058B3 #B34930 #9AB330
monochromatic
#162952 #234083 #3058B3 #5077D0 #809DDD

Accessibility & contrast

On white

6.62
#3058B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#3058B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3058B3
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3058B3#FFFFFF#000000##FFFFFF
##3058B31.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2163B6
Deuteranopia (green-blind)
#0057B1
Tritanopia (blue-blind)
#006E7D
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #3058b3;
/* rgb */ color: rgb(48, 88, 179);
/* oklch */ color: oklch(48.3% 0.152 263.8);
Tailwind
colors: {
  custom: {
    50: '#7a86ca',
    500: '#3058b3',
    950: '#000000',
  },
}
SCSS
$custom: #3058b3;
$custom-light: #7a86ca;
$custom-dark: #000000;
JSON
{
  "hex": "#3058b3",
  "rgb": {
    "r": 48,
    "g": 88,
    "b": 179
  },
  "hsl": {
    "h": 221.679,
    "s": 57.709,
    "l": 44.51
  },
  "oklch": {
    "l": 0.48338,
    "c": 0.1518,
    "h": 263.8
  },
  "luminance": 0.10862
}

Semantic roles & 50–950 ramp

primary
#3058B3
secondary
#C6AE79
accent
#B247E1
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #3058B3

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

Preview Lab → · Contrast checker → · Palette generator →

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