#3058AE#3058AE

#3058AE is a mid, vivid blue. Relative luminance 0.107; OKLCH L 48.0% C 0.145 H 263.2°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#3058AE
RGBrgb(48, 88, 174)
HSLhsl(221, 57%, 44%)
HSVhsv(221, 72%, 68%)
CMYKcmyk(72.4%, 49.4%, 0%, 31.8%)
CIE-LABlab(39.01, 16.12, -50.10)
CIE-LCHlch(39.01, 52.64, 287.84°)
OKLaboklab(47.97% -0.017 -0.1438)
OKLCHoklch(47.97% 0.145 263.2)
XYZxyz(12.3459, 10.6625, 41.4436)
Luminance0.1066 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3058AE #AE8630
analogous
#3097AE #3058AE #4730AE
triadic
#3058AE #AE3058 #58AE30
tetradic
#3058AE #AE3097 #AE8630 #30AE47
square
#3058AE #AE3097 #AE8630 #30AE47
split-complementary
#3058AE #AE4730 #97AE30
monochromatic
#16274E #23407E #3058AE #4D76CE #7D9BDB

Accessibility & contrast

On white

6.70
#3058AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#3058AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3058AE
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3058AE#FFFFFF#000000##FFFFFF
##3058AE1.006.703.136.70
#FFFFFF6.701.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2762B1
Deuteranopia (green-blind)
#0056AC
Tritanopia (blue-blind)
#006C7A
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #3058ae;
/* rgb */ color: rgb(48, 88, 174);
/* oklch */ color: oklch(48.0% 0.145 263.2);
Tailwind
colors: {
  custom: {
    50: '#7986c7',
    500: '#3058ae',
    950: '#000000',
  },
}
SCSS
$custom: #3058ae;
$custom-light: #7986c7;
$custom-dark: #000000;
JSON
{
  "hex": "#3058ae",
  "rgb": {
    "r": 48,
    "g": 88,
    "b": 174
  },
  "hsl": {
    "h": 220.952,
    "s": 56.757,
    "l": 43.529
  },
  "oklch": {
    "l": 0.47971,
    "c": 0.14486,
    "h": 263.2
  },
  "luminance": 0.10664
}

Semantic roles & 50–950 ramp

primary
#3058AE
secondary
#C4AB76
accent
#B048E0
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #3058AE

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

Preview Lab → · Contrast checker → · Palette generator →

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