#3058DB#3058DB

#3058DB is a mid, highly saturated blue. Relative luminance 0.127; OKLCH L 51.5% C 0.205 H 266.1°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#3058DB
RGBrgb(48, 88, 219)
HSLhsl(226, 70%, 52%)
HSVhsv(226, 78%, 86%)
CMYKcmyk(78.1%, 59.8%, 0%, 14.1%)
CIE-LABlab(42.34, 32.94, -70.82)
CIE-LCHlch(42.34, 78.10, 294.94°)
OKLaboklab(51.53% -0.0139 -0.2047)
OKLCHoklch(51.53% 0.205 266.1)
XYZxyz(17.4903, 12.7203, 68.5375)
Luminance0.1272 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3058DB #DBB330
analogous
#30ADDB #3058DB #5E30DB
triadic
#3058DB #DB3058 #58DB30
tetradic
#3058DB #DB30AD #DBB330 #30DB5E
square
#3058DB #DB30AD #DBB330 #30DB5E
split-complementary
#3058DB #DB5E30 #ADDB30
monochromatic
#152D7B #1E40AF #3058DB #6482E4 #98ACED

Accessibility & contrast

On white

5.92
#3058DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#3058DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3058DB
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3058DB#FFFFFF#000000##FFFFFF
##3058DB1.005.923.545.92
#FFFFFF5.921.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CDF
Deuteranopia (green-blind)
#005CD8
Tritanopia (blue-blind)
#007A91
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #3058db;
/* rgb */ color: rgb(48, 88, 219);
/* oklch */ color: oklch(51.5% 0.205 266.1);
Tailwind
colors: {
  custom: {
    50: '#8386e7',
    500: '#3058db',
    950: '#000000',
  },
}
SCSS
$custom: #3058db;
$custom-light: #8386e7;
$custom-dark: #000000;
JSON
{
  "hex": "#3058db",
  "rgb": {
    "r": 48,
    "g": 88,
    "b": 219
  },
  "hsl": {
    "h": 225.965,
    "s": 70.37,
    "l": 52.353
  },
  "oklch": {
    "l": 0.51533,
    "c": 0.20521,
    "h": 266.1
  },
  "luminance": 0.12722
}

Semantic roles & 50–950 ramp

primary
#3058DB
secondary
#D9C78E
accent
#C33BED
background
#F8F8FE
surface
#F0EFFD
border
#CBCAD5
text
#0D0B16
muted
#7D7C84

Preview Lab

Preview with #3058DB

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

Preview Lab → · Contrast checker → · Palette generator →

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