#3058AC#3058AC

#3058AC is a mid, vivid blue. Relative luminance 0.106; OKLCH L 47.8% C 0.142 H 263.0°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#3058AC
RGBrgb(48, 88, 172)
HSLhsl(221, 56%, 43%)
HSVhsv(221, 72%, 67%)
CMYKcmyk(72.1%, 48.8%, 0%, 32.5%)
CIE-LABlab(38.87, 15.37, -49.14)
CIE-LCHlch(38.87, 51.48, 287.37°)
OKLaboklab(47.83% -0.0173 -0.141)
OKLCHoklch(47.83% 0.142 263)
XYZxyz(12.1524, 10.5851, 40.4244)
Luminance0.1059 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3058AC #AC8430
analogous
#3096AC #3058AC #4630AC
triadic
#3058AC #AC3058 #58AC30
tetradic
#3058AC #AC3096 #AC8430 #30AC46
square
#3058AC #AC3096 #AC8430 #30AC46
split-complementary
#3058AC #AC4630 #96AC30
monochromatic
#15274C #23407C #3058AC #4C76CD #7C9ADA

Accessibility & contrast

On white

6.74
#3058AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#3058AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3058AC
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3058AC#FFFFFF#000000##FFFFFF
##3058AC1.006.743.126.74
#FFFFFF6.741.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A62AF
Deuteranopia (green-blind)
#0356AA
Tritanopia (blue-blind)
#006C7A
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #3058ac;
/* rgb */ color: rgb(48, 88, 172);
/* oklch */ color: oklch(47.8% 0.142 263.0);
Tailwind
colors: {
  custom: {
    50: '#7886c5',
    500: '#3058ac',
    950: '#000000',
  },
}
SCSS
$custom: #3058ac;
$custom-light: #7886c5;
$custom-dark: #000000;
JSON
{
  "hex": "#3058ac",
  "rgb": {
    "r": 48,
    "g": 88,
    "b": 172
  },
  "hsl": {
    "h": 220.645,
    "s": 56.364,
    "l": 43.137
  },
  "oklch": {
    "l": 0.47826,
    "c": 0.14206,
    "h": 263
  },
  "luminance": 0.10586
}

Semantic roles & 50–950 ramp

primary
#3058AC
secondary
#C3AA75
accent
#AF48E0
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #3058AC

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

Preview Lab → · Contrast checker → · Palette generator →

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