#3058BA#3058BA

#3058BA is a mid, vivid blue. Relative luminance 0.112; OKLCH L 48.9% C 0.161 H 264.4°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#3058BA
RGBrgb(48, 88, 186)
HSLhsl(223, 59%, 46%)
HSVhsv(223, 74%, 73%)
CMYKcmyk(74.2%, 52.7%, 0%, 27.1%)
CIE-LABlab(39.83, 20.65, -55.82)
CIE-LCHlch(39.83, 59.52, 290.30°)
OKLaboklab(48.87% -0.0156 -0.1607)
OKLCHoklch(48.87% 0.161 264.4)
XYZxyz(13.5684, 11.1515, 47.8822)
Luminance0.1115 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3058BA #BA9230
analogous
#309DBA #3058BA #4D30BA
triadic
#3058BA #BA3058 #58BA30
tetradic
#3058BA #BA309D #BA9230 #30BA4D
square
#3058BA #BA309D #BA9230 #30BA4D
split-complementary
#3058BA #BA4D30 #9DBA30
monochromatic
#172A59 #234189 #3058BA #5479D3 #859FDF

Accessibility & contrast

On white

6.50
#3058BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#3058BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3058BA
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3058BA#FFFFFF#000000##FFFFFF
##3058BA1.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1365BD
Deuteranopia (green-blind)
#0058B8
Tritanopia (blue-blind)
#007080
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #3058ba;
/* rgb */ color: rgb(48, 88, 186);
/* oklch */ color: oklch(48.9% 0.161 264.4);
Tailwind
colors: {
  custom: {
    50: '#7b86cf',
    500: '#3058ba',
    950: '#000000',
  },
}
SCSS
$custom: #3058ba;
$custom-light: #7b86cf;
$custom-dark: #000000;
JSON
{
  "hex": "#3058ba",
  "rgb": {
    "r": 48,
    "g": 88,
    "b": 186
  },
  "hsl": {
    "h": 222.609,
    "s": 58.974,
    "l": 45.882
  },
  "oklch": {
    "l": 0.48866,
    "c": 0.16144,
    "h": 264.4
  },
  "luminance": 0.11153
}

Semantic roles & 50–950 ramp

primary
#3058BA
secondary
#C9B37D
accent
#B546E2
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0B14
muted
#7C7C82

Preview Lab

Preview with #3058BA

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

Preview Lab → · Contrast checker → · Palette generator →

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