#3058A2#3058A2

#3058A2 is a mid, vivid blue. Relative luminance 0.102; OKLCH L 47.1% C 0.128 H 261.5°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#3058A2
RGBrgb(48, 88, 162)
HSLhsl(219, 54%, 41%)
HSVhsv(219, 70%, 64%)
CMYKcmyk(70.4%, 45.7%, 0%, 36.5%)
CIE-LABlab(38.23, 11.60, -44.23)
CIE-LCHlch(38.23, 45.73, 284.70°)
OKLaboklab(47.12% -0.0189 -0.1266)
OKLCHoklch(47.12% 0.128 261.5)
XYZxyz(11.2279, 10.2153, 35.5554)
Luminance0.1022 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3058A2 #A27A30
analogous
#3091A2 #3058A2 #4130A2
triadic
#3058A2 #A23058 #58A230
tetradic
#3058A2 #A23091 #A27A30 #30A241
square
#3058A2 #A23091 #A27A30 #30A241
split-complementary
#3058A2 #A24130 #91A230
monochromatic
#142544 #223E73 #3058A2 #4774C8 #7698D6

Accessibility & contrast

On white

6.90
#3058A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#3058A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3058A2
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3058A2#FFFFFF#000000##FFFFFF
##3058A21.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3360A5
Deuteranopia (green-blind)
#1D55A0
Tritanopia (blue-blind)
#006975
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #3058a2;
/* rgb */ color: rgb(48, 88, 162);
/* oklch */ color: oklch(47.1% 0.128 261.5);
Tailwind
colors: {
  custom: {
    50: '#7686be',
    500: '#3058a2',
    950: '#000000',
  },
}
SCSS
$custom: #3058a2;
$custom-light: #7686be;
$custom-dark: #000000;
JSON
{
  "hex": "#3058a2",
  "rgb": {
    "r": 48,
    "g": 88,
    "b": 162
  },
  "hsl": {
    "h": 218.947,
    "s": 54.286,
    "l": 41.176
  },
  "oklch": {
    "l": 0.47122,
    "c": 0.12798,
    "h": 261.5
  },
  "luminance": 0.10216
}

Semantic roles & 50–950 ramp

primary
#3058A2
secondary
#BEA36F
accent
#AA4ADE
background
#F7F8FB
surface
#EEEFF7
border
#C9CAD0
text
#0A0B12
muted
#7C7C81

Preview Lab

Preview with #3058A2

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

Preview Lab → · Contrast checker → · Palette generator →

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