#3058AB#3058AB

#3058AB is a mid, vivid blue. Relative luminance 0.105; OKLCH L 47.8% C 0.141 H 262.9°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#3058AB
RGBrgb(48, 88, 171)
HSLhsl(220, 56%, 43%)
HSVhsv(220, 72%, 67%)
CMYKcmyk(71.9%, 48.5%, 0%, 32.9%)
CIE-LABlab(38.81, 14.99, -48.65)
CIE-LCHlch(38.81, 50.91, 287.13°)
OKLaboklab(47.75% -0.0175 -0.1396)
OKLCHoklch(47.75% 0.141 262.9)
XYZxyz(12.0567, 10.5468, 39.9205)
Luminance0.1055 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3058AB #AB8330
analogous
#3095AB #3058AB #4630AB
triadic
#3058AB #AB3058 #58AB30
tetradic
#3058AB #AB3095 #AB8330 #30AB46
square
#3058AB #AB3095 #AB8330 #30AB46
split-complementary
#3058AB #AB4630 #95AB30
monochromatic
#15274B #233F7B #3058AB #4C76CD #7B9ADA

Accessibility & contrast

On white

6.75
#3058AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#3058AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3058AB
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3058AB#FFFFFF#000000##FFFFFF
##3058AB1.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B61AE
Deuteranopia (green-blind)
#0756A9
Tritanopia (blue-blind)
#006C79
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #3058ab;
/* rgb */ color: rgb(48, 88, 171);
/* oklch */ color: oklch(47.8% 0.141 262.9);
Tailwind
colors: {
  custom: {
    50: '#7886c4',
    500: '#3058ab',
    950: '#000000',
  },
}
SCSS
$custom: #3058ab;
$custom-light: #7886c4;
$custom-dark: #000000;
JSON
{
  "hex": "#3058ab",
  "rgb": {
    "r": 48,
    "g": 88,
    "b": 171
  },
  "hsl": {
    "h": 220.488,
    "s": 56.164,
    "l": 42.941
  },
  "oklch": {
    "l": 0.47754,
    "c": 0.14066,
    "h": 262.9
  },
  "luminance": 0.10548
}

Semantic roles & 50–950 ramp

primary
#3058AB
secondary
#C3A974
accent
#AE48DF
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #3058AB

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

Preview Lab → · Contrast checker → · Palette generator →

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