#3059B2#3059B2

#3059B2 is a mid, vivid blue. Relative luminance 0.110; OKLCH L 48.5% C 0.149 H 263.3°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#3059B2
RGBrgb(48, 89, 178)
HSLhsl(221, 58%, 44%)
HSVhsv(221, 73%, 70%)
CMYKcmyk(73%, 50%, 0%, 30.2%)
CIE-LABlab(39.56, 16.98, -51.58)
CIE-LCHlch(39.56, 54.30, 288.22°)
OKLaboklab(48.48% -0.0174 -0.1482)
OKLCHoklch(48.48% 0.149 263.3)
XYZxyz(12.8243, 10.9861, 43.5555)
Luminance0.1099 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3059B2 #B28930
analogous
#309AB2 #3059B2 #4830B2
triadic
#3059B2 #B23059 #59B230
tetradic
#3059B2 #B2309A #B28930 #30B248
square
#3059B2 #B2309A #B28930 #30B248
split-complementary
#3059B2 #B24830 #9AB230
monochromatic
#162952 #234182 #3059B2 #5078D0 #809DDD

Accessibility & contrast

On white

6.57
#3059B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#3059B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3059B2
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3059B2#FFFFFF#000000##FFFFFF
##3059B21.006.573.206.57
#FFFFFF6.571.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2564B5
Deuteranopia (green-blind)
#0058B0
Tritanopia (blue-blind)
#006E7D
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #3059b2;
/* rgb */ color: rgb(48, 89, 178);
/* oklch */ color: oklch(48.5% 0.149 263.3);
Tailwind
colors: {
  custom: {
    50: '#7987ca',
    500: '#3059b2',
    950: '#000000',
  },
}
SCSS
$custom: #3059b2;
$custom-light: #7987ca;
$custom-dark: #000000;
JSON
{
  "hex": "#3059b2",
  "rgb": {
    "r": 48,
    "g": 89,
    "b": 178
  },
  "hsl": {
    "h": 221.077,
    "s": 57.522,
    "l": 44.314
  },
  "oklch": {
    "l": 0.48478,
    "c": 0.14918,
    "h": 263.3
  },
  "luminance": 0.10987
}

Semantic roles & 50–950 ramp

primary
#3059B2
secondary
#C6AD78
accent
#B047E1
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #3059B2

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

Preview Lab → · Contrast checker → · Palette generator →

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