#3058AD#3058AD

#3058AD is a mid, vivid blue. Relative luminance 0.106; OKLCH L 47.9% C 0.143 H 263.1°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#3058AD
RGBrgb(48, 88, 173)
HSLhsl(221, 57%, 43%)
HSVhsv(221, 72%, 68%)
CMYKcmyk(72.3%, 49.1%, 0%, 32.2%)
CIE-LABlab(38.94, 15.75, -49.62)
CIE-LCHlch(38.94, 52.06, 287.61°)
OKLaboklab(47.9% -0.0172 -0.1424)
OKLCHoklch(47.9% 0.143 263.1)
XYZxyz(12.2488, 10.6237, 40.9321)
Luminance0.1062 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3058AD #AD8530
analogous
#3096AD #3058AD #4630AD
triadic
#3058AD #AD3058 #58AD30
tetradic
#3058AD #AD3096 #AD8530 #30AD46
square
#3058AD #AD3096 #AD8530 #30AD46
split-complementary
#3058AD #AD4630 #96AD30
monochromatic
#15274D #23407D #3058AD #4D76CE #7D9BDB

Accessibility & contrast

On white

6.72
#3058AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #3058AD
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3058AD#FFFFFF#000000##FFFFFF
##3058AD1.006.723.136.72
#FFFFFF6.721.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2862B0
Deuteranopia (green-blind)
#0056AB
Tritanopia (blue-blind)
#006C7A
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #3058ad;
/* rgb */ color: rgb(48, 88, 173);
/* oklch */ color: oklch(47.9% 0.143 263.1);
Tailwind
colors: {
  custom: {
    50: '#7886c6',
    500: '#3058ad',
    950: '#000000',
  },
}
SCSS
$custom: #3058ad;
$custom-light: #7886c6;
$custom-dark: #000000;
JSON
{
  "hex": "#3058ad",
  "rgb": {
    "r": 48,
    "g": 88,
    "b": 173
  },
  "hsl": {
    "h": 220.8,
    "s": 56.561,
    "l": 43.333
  },
  "oklch": {
    "l": 0.47898,
    "c": 0.14345,
    "h": 263.1
  },
  "luminance": 0.10625
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3058AD

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

Preview Lab → · Contrast checker → · Palette generator →

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