#3058B4#3058B4

#3058B4 is a mid, vivid blue. Relative luminance 0.109; OKLCH L 48.4% C 0.153 H 263.9°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#3058B4
RGBrgb(48, 88, 180)
HSLhsl(222, 58%, 45%)
HSVhsv(222, 73%, 71%)
CMYKcmyk(73.3%, 51.1%, 0%, 29.4%)
CIE-LABlab(39.41, 18.39, -52.98)
CIE-LCHlch(39.41, 56.08, 289.14°)
OKLaboklab(48.41% -0.0163 -0.1523)
OKLCHoklch(48.41% 0.153 263.9)
XYZxyz(12.9439, 10.9017, 44.5932)
Luminance0.1090 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3058B4 #B48C30
analogous
#309AB4 #3058B4 #4A30B4
triadic
#3058B4 #B43058 #58B430
tetradic
#3058B4 #B4309A #B48C30 #30B44A
square
#3058B4 #B4309A #B48C30 #30B44A
split-complementary
#3058B4 #B44A30 #9AB430
monochromatic
#162953 #234084 #3058B4 #5177D1 #819DDD

Accessibility & contrast

On white

6.60
#3058B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#3058B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3058B4
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3058B4#FFFFFF#000000##FFFFFF
##3058B41.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F63B7
Deuteranopia (green-blind)
#0057B2
Tritanopia (blue-blind)
#006E7D
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #3058b4;
/* rgb */ color: rgb(48, 88, 180);
/* oklch */ color: oklch(48.4% 0.153 263.9);
Tailwind
colors: {
  custom: {
    50: '#7a86cb',
    500: '#3058b4',
    950: '#000000',
  },
}
SCSS
$custom: #3058b4;
$custom-light: #7a86cb;
$custom-dark: #000000;
JSON
{
  "hex": "#3058b4",
  "rgb": {
    "r": 48,
    "g": 88,
    "b": 180
  },
  "hsl": {
    "h": 221.818,
    "s": 57.895,
    "l": 44.706
  },
  "oklch": {
    "l": 0.48413,
    "c": 0.15319,
    "h": 263.9
  },
  "luminance": 0.10903
}

Semantic roles & 50–950 ramp

primary
#3058B4
secondary
#C6AF79
accent
#B247E1
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #3058B4

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

Preview Lab → · Contrast checker → · Palette generator →

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