#3058B7#3058B7

#3058B7 is a mid, vivid blue. Relative luminance 0.110; OKLCH L 48.6% C 0.157 H 264.2°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#3058B7
RGBrgb(48, 88, 183)
HSLhsl(222, 58%, 45%)
HSVhsv(222, 74%, 72%)
CMYKcmyk(73.8%, 51.9%, 0%, 28.2%)
CIE-LABlab(39.62, 19.52, -54.41)
CIE-LCHlch(39.62, 57.80, 289.74°)
OKLaboklab(48.64% -0.0159 -0.1565)
OKLCHoklch(48.64% 0.157 264.2)
XYZxyz(13.2529, 11.0253, 46.2202)
Luminance0.1103 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3058B7 #B78F30
analogous
#309CB7 #3058B7 #4B30B7
triadic
#3058B7 #B73058 #58B730
tetradic
#3058B7 #B7309C #B78F30 #30B74B
square
#3058B7 #B7309C #B78F30 #30B74B
split-complementary
#3058B7 #B74B30 #9CB730
monochromatic
#172956 #234187 #3058B7 #5278D2 #839EDE

Accessibility & contrast

On white

6.55
#3058B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#3058B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3058B7
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3058B7#FFFFFF#000000##FFFFFF
##3058B71.006.553.216.55
#FFFFFF6.551.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A64BA
Deuteranopia (green-blind)
#0057B5
Tritanopia (blue-blind)
#006F7F
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #3058b7;
/* rgb */ color: rgb(48, 88, 183);
/* oklch */ color: oklch(48.6% 0.157 264.2);
Tailwind
colors: {
  custom: {
    50: '#7b86cd',
    500: '#3058b7',
    950: '#000000',
  },
}
SCSS
$custom: #3058b7;
$custom-light: #7b86cd;
$custom-dark: #000000;
JSON
{
  "hex": "#3058b7",
  "rgb": {
    "r": 48,
    "g": 88,
    "b": 183
  },
  "hsl": {
    "h": 222.222,
    "s": 58.442,
    "l": 45.294
  },
  "oklch": {
    "l": 0.48638,
    "c": 0.15732,
    "h": 264.2
  },
  "luminance": 0.11027
}

Semantic roles & 50–950 ramp

primary
#3058B7
secondary
#C8B17B
accent
#B446E2
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0B13
muted
#7C7C82

Preview Lab

Preview with #3058B7

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

Preview Lab → · Contrast checker → · Palette generator →

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