#3059DB#3059DB

#3059DB is a mid, highly saturated blue. Relative luminance 0.129; OKLCH L 51.7% C 0.204 H 265.9°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#3059DB
RGBrgb(48, 89, 219)
HSLhsl(226, 70%, 52%)
HSVhsv(226, 78%, 86%)
CMYKcmyk(78.1%, 59.4%, 0%, 14.1%)
CIE-LABlab(42.59, 32.30, -70.41)
CIE-LCHlch(42.59, 77.46, 294.64°)
OKLaboklab(51.72% -0.0145 -0.2035)
OKLCHoklch(51.72% 0.204 265.9)
XYZxyz(17.5730, 12.8856, 68.5651)
Luminance0.1289 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3059DB #DBB230
analogous
#30AEDB #3059DB #5D30DB
triadic
#3059DB #DB3059 #59DB30
tetradic
#3059DB #DB30AE #DBB230 #30DB5D
square
#3059DB #DB30AE #DBB230 #30DB5D
split-complementary
#3059DB #DB5D30 #AEDB30
monochromatic
#152E7B #1E41AF #3059DB #6483E4 #98ADED

Accessibility & contrast

On white

5.87
#3059DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#3059DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3059DB
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3059DB#FFFFFF#000000##FFFFFF
##3059DB1.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DDF
Deuteranopia (green-blind)
#005DD8
Tritanopia (blue-blind)
#007A91
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #3059db;
/* rgb */ color: rgb(48, 89, 219);
/* oklch */ color: oklch(51.7% 0.204 265.9);
Tailwind
colors: {
  custom: {
    50: '#8387e7',
    500: '#3059db',
    950: '#000000',
  },
}
SCSS
$custom: #3059db;
$custom-light: #8387e7;
$custom-dark: #000000;
JSON
{
  "hex": "#3059db",
  "rgb": {
    "r": 48,
    "g": 89,
    "b": 219
  },
  "hsl": {
    "h": 225.614,
    "s": 70.37,
    "l": 52.353
  },
  "oklch": {
    "l": 0.51721,
    "c": 0.20403,
    "h": 265.9
  },
  "luminance": 0.12888
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3059DB

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

Preview Lab → · Contrast checker → · Palette generator →

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