#3058B2#3058B2

#3058B2 is a mid, vivid blue. Relative luminance 0.108; OKLCH L 48.3% C 0.150 H 263.7°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#3058B2
RGBrgb(48, 88, 178)
HSLhsl(222, 58%, 44%)
HSVhsv(222, 73%, 70%)
CMYKcmyk(73%, 50.6%, 0%, 30.2%)
CIE-LABlab(39.28, 17.63, -52.03)
CIE-LCHlch(39.28, 54.94, 288.72°)
OKLaboklab(48.26% -0.0165 -0.1495)
OKLCHoklch(48.26% 0.15 263.7)
XYZxyz(12.7417, 10.8208, 43.5280)
Luminance0.1082 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3058B2 #B28A30
analogous
#3099B2 #3058B2 #4930B2
triadic
#3058B2 #B23058 #58B230
tetradic
#3058B2 #B23099 #B28A30 #30B249
square
#3058B2 #B23099 #B28A30 #30B249
split-complementary
#3058B2 #B24930 #99B230
monochromatic
#162852 #234082 #3058B2 #5077D0 #809CDD

Accessibility & contrast

On white

6.64
#3058B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#3058B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3058B2
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3058B2#FFFFFF#000000##FFFFFF
##3058B21.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2263B5
Deuteranopia (green-blind)
#0057B0
Tritanopia (blue-blind)
#006D7C
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #3058b2;
/* rgb */ color: rgb(48, 88, 178);
/* oklch */ color: oklch(48.3% 0.150 263.7);
Tailwind
colors: {
  custom: {
    50: '#7a86ca',
    500: '#3058b2',
    950: '#000000',
  },
}
SCSS
$custom: #3058b2;
$custom-light: #7a86ca;
$custom-dark: #000000;
JSON
{
  "hex": "#3058b2",
  "rgb": {
    "r": 48,
    "g": 88,
    "b": 178
  },
  "hsl": {
    "h": 221.538,
    "s": 57.522,
    "l": 44.314
  },
  "oklch": {
    "l": 0.48264,
    "c": 0.15042,
    "h": 263.7
  },
  "luminance": 0.10822
}

Semantic roles & 50–950 ramp

primary
#3058B2
secondary
#C6AE78
accent
#B147E1
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #3058B2

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

Preview Lab → · Contrast checker → · Palette generator →

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