#3058BC#3058BC

#3058BC is a mid, vivid blue. Relative luminance 0.112; OKLCH L 49.0% C 0.164 H 264.6°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#3058BC
RGBrgb(48, 88, 188)
HSLhsl(223, 59%, 46%)
HSVhsv(223, 74%, 74%)
CMYKcmyk(74.5%, 53.2%, 0%, 26.3%)
CIE-LABlab(39.98, 21.40, -56.76)
CIE-LCHlch(39.98, 60.66, 290.66°)
OKLaboklab(49.02% -0.0154 -0.1634)
OKLCHoklch(49.02% 0.164 264.6)
XYZxyz(13.7825, 11.2372, 49.0098)
Luminance0.1124 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3058BC #BC9430
analogous
#309EBC #3058BC #4E30BC
triadic
#3058BC #BC3058 #58BC30
tetradic
#3058BC #BC309E #BC9430 #30BC4E
square
#3058BC #BC309E #BC9430 #30BC4E
split-complementary
#3058BC #BC4E30 #9EBC30
monochromatic
#172A5A #24418B #3058BC #557AD4 #86A0E0

Accessibility & contrast

On white

6.47
#3058BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#3058BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3058BC
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3058BC#FFFFFF#000000##FFFFFF
##3058BC1.006.473.256.47
#FFFFFF6.471.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D65C0
Deuteranopia (green-blind)
#0058BA
Tritanopia (blue-blind)
#007081
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #3058bc;
/* rgb */ color: rgb(48, 88, 188);
/* oklch */ color: oklch(49.0% 0.164 264.6);
Tailwind
colors: {
  custom: {
    50: '#7c86d1',
    500: '#3058bc',
    950: '#000000',
  },
}
SCSS
$custom: #3058bc;
$custom-light: #7c86d1;
$custom-dark: #000000;
JSON
{
  "hex": "#3058bc",
  "rgb": {
    "r": 48,
    "g": 88,
    "b": 188
  },
  "hsl": {
    "h": 222.857,
    "s": 59.322,
    "l": 46.275
  },
  "oklch": {
    "l": 0.49019,
    "c": 0.16417,
    "h": 264.6
  },
  "luminance": 0.11239
}

Semantic roles & 50–950 ramp

primary
#3058BC
secondary
#CAB47E
accent
#B645E3
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0B14
muted
#7C7C82

Preview Lab

Preview with #3058BC

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

Preview Lab → · Contrast checker → · Palette generator →

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